|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.request.locale.PostfixedApplicationResource
org.apache.tiles.request.locale.URLApplicationResource
public class URLApplicationResource
A PostfixedApplicationResource
that can be accessed through a URL.
Constructor Summary | |
---|---|
URLApplicationResource(String path,
Locale locale,
URL url)
Creates a URLApplicationResource for the specified path that can be accessed through the specified URL. |
|
URLApplicationResource(String localePath,
URL url)
Creates a URLApplicationResource for the specified path that can be accessed through the specified URL. |
Method Summary | |
---|---|
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 |
---|
public URLApplicationResource(String localePath, URL url)
localePath
- the path including localization.url
- the URL where the contents can be found.public URLApplicationResource(String path, Locale locale, URL url) throws MalformedURLException
path
- the path excluding localization.locale
- the Locale.url
- the URL where the contents can be found.
MalformedURLException
Method Detail |
---|
public InputStream getInputStream() throws IOException
IOException
- if the contents cannot be read.public long getLastModified() throws IOException
IOException
- if the last modification date cannot be found.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |