|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceProvider
A class which can provide the resource itself
Method Summary | |
---|---|
boolean |
exists(javax.servlet.ServletContext context,
String resource)
check if the resource exists |
int |
getContentLength(javax.servlet.ServletContext context,
String resource)
get the content length of the resource |
String |
getEncoding(javax.servlet.ServletContext context,
String resource)
get resource encoding |
InputStream |
getInputStream(javax.servlet.ServletContext context,
String resource)
get the input stream of the resource |
long |
getLastModified(javax.servlet.ServletContext context,
String resource)
get the last modified time of the resource |
Method Detail |
---|
boolean exists(javax.servlet.ServletContext context, String resource)
int getContentLength(javax.servlet.ServletContext context, String resource) throws IOException
IOException
long getLastModified(javax.servlet.ServletContext context, String resource) throws IOException
IOException
InputStream getInputStream(javax.servlet.ServletContext context, String resource) throws IOException
IOException
String getEncoding(javax.servlet.ServletContext context, String resource) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |