|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationResource
A (localized) resource accessible through the ApplicationContext. Typically this is a file inside the web application's war.
| 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. |
Locale |
getLocale()
Get the Locale for this resource. |
String |
getLocalePath()
Get the path name for this resource. |
String |
getLocalePath(Locale locale)
Get the path name of another version of the resource. |
String |
getPath()
Get the path name for this resource. |
| Method Detail |
|---|
String getLocalePath()
getResource.
String getPath()
Locale getLocale()
String getLocalePath(Locale locale)
locale - the Locale for the new version.
InputStream getInputStream()
throws IOException
IOException - if the contents cannot be read.
long getLastModified()
throws IOException
IOException - if the last modification date cannot be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||