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