Method Summary |
|
public Resource | createRelative(String relativePath) This implementation creates a ServletContextResource, applying the given path
relative to the path of the underlying file of this resource descriptor. |
public boolean | equals(Object obj) This implementation compares the underlying ServletContext resource locations. |
public String | getDescription() This implementation returns a description that includes the ServletContext
resource location. |
public File | getFile() This implementation delegates to ServletContext.getRealPath ,
but throws a FileNotFoundException if not found or not resolvable. |
public String | getFilename() This implementation returns the name of the file that this ServletContext
resource refers to. |
public InputStream | getInputStream() This implementation delegates to ServletContext.getResourceAsStream ,
but throws a FileNotFoundException if no resource found. |
final public String | getPath() Return the path for this resource. |
final public ServletContext | getServletContext() Return the ServletContext for this resource. |
public URL | getURL() This implementation delegates to ServletContext.getResource ,
but throws a FileNotFoundException if no resource found. |
public int | hashCode() This implementation returns the hash code of the underlying
ServletContext resource location. |