org.apache.catalina.servlets
Class DefaultServlet.ResourceInfo
java.lang.Object
org.apache.catalina.servlets.DefaultServlet.ResourceInfo
- DefaultServlet
protected class DefaultServlet.ResourceInfo
extends java.lang.Object
ResourceInfo(String path, DirContext resources) - Constructor.
|
boolean | exists() - Test if the associated resource exists.
|
InputStream | getStream() - Get IS from resource.
|
void | recycle()
|
void | set(String path, DirContext resources)
|
void | setStream(InputStream is) - Set IS.
|
String | toString() - String representation.
|
attributes
public Attributes attributes
collection
public boolean collection
creationDate
public long creationDate
directory
public DirContext directory
exists
public boolean exists
httpDate
public String httpDate
is
protected InputStream is
object
public Object object
resources
public DirContext resources
strongETag
public String strongETag
weakETag
public String weakETag
ResourceInfo
public ResourceInfo(String path,
DirContext resources)
Constructor.
path
- Path name of the file
exists
public boolean exists()
Test if the associated resource exists.
getStream
public InputStream getStream()
throws IOException
Get IS from resource.
recycle
public void recycle()
set
public void set(String path,
DirContext resources)
setStream
public void setStream(InputStream is)
Set IS.
toString
public String toString()
String representation.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.