org.apache.struts2.tiles

## Class StrutsApplicationResource

- java.lang.Object
- - org.apache.tiles.request.locale.PostfixedApplicationResource
  - - org.apache.struts2.tiles.StrutsApplicationResource

- All Implemented Interfaces:
    ApplicationResource

      public class StrutsApplicationResource
      extends PostfixedApplicationResource

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StrutsApplicationResource(URL url)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `InputStream` | `getInputStream()` Get a java.io.InputStream to read the contents of this resource.
    `long` | `getLastModified()` Get the last modification date for this resource.
    `String` | `toString()`

    - ### Methods inherited from class org.apache.tiles.request.locale.PostfixedApplicationResource

      `equals, getLocale, getLocalePath, getLocalePath, getPath, hashCode`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### StrutsApplicationResource

          public StrutsApplicationResource(URL url)

  - ### Method Detail

    - #### getInputStream

          public InputStream getInputStream()
                                     throws IOException

      Description copied from interface: `ApplicationResource`
      Get a java.io.InputStream to read the contents of this resource.
      Returns:
        the InputStream.
      Throws:
        `IOException` - if the contents cannot be read.

    - #### getLastModified

          public long getLastModified()
                               throws IOException

      Description copied from interface: `ApplicationResource`
      Get the last modification date for this resource.
      Returns:
        the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
      Throws:
        `IOException` - if the last modification date cannot be found.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.