public interface ApplicationResource
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.
|
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.
|
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.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.