| java.lang.Object org.mortbay.resource.Resource org.mortbay.resource.URLResource org.mortbay.resource.BadResource
BadResource | class BadResource extends URLResource (Code) | | Bad Resource.
A Resource that is returned for a bade URL. Acts as a resource
that does not exist and throws appropriate exceptions.
author: Greg Wilkins (gregw) |
exists | public boolean exists()(Code) | | |
isDirectory | public boolean isDirectory()(Code) | | |
lastModified | public long lastModified()(Code) | | |
length | public long length()(Code) | | |
Methods inherited from org.mortbay.resource.Resource | abstract public Resource addPath(String path) throws IOException, MalformedURLException(Code)(Java Doc) abstract public boolean delete() throws SecurityException(Code)(Java Doc) public String encode(String uri)(Code)(Java Doc) abstract public boolean exists()(Code)(Java Doc) protected void finalize()(Code)(Java Doc) public URL getAlias()(Code)(Java Doc) public Object getAssociate()(Code)(Java Doc) public static boolean getDefaultUseCaches()(Code)(Java Doc) abstract public File getFile() throws IOException(Code)(Java Doc) abstract public InputStream getInputStream() throws java.io.IOException(Code)(Java Doc) public String getListHTML(String base, boolean parent) throws IOException(Code)(Java Doc) abstract public String getName()(Code)(Java Doc) abstract public OutputStream getOutputStream() throws java.io.IOException, SecurityException(Code)(Java Doc) abstract public URL getURL()(Code)(Java Doc) abstract public boolean isDirectory()(Code)(Java Doc) abstract public long lastModified()(Code)(Java Doc) abstract public long length()(Code)(Java Doc) abstract public String[] list()(Code)(Java Doc) public static Resource newClassPathResource(String resource)(Code)(Java Doc) public static Resource newClassPathResource(String name, boolean useCaches, boolean checkParents)(Code)(Java Doc) public static Resource newResource(URL url) throws IOException(Code)(Java Doc) public static Resource newResource(URL url, boolean useCaches)(Code)(Java Doc) public static Resource newResource(String resource) throws MalformedURLException, IOException(Code)(Java Doc) public static Resource newResource(String resource, boolean useCaches) throws MalformedURLException, IOException(Code)(Java Doc) public static Resource newSystemResource(String resource) throws IOException(Code)(Java Doc) abstract public void release()(Code)(Java Doc) abstract public boolean renameTo(Resource dest) throws SecurityException(Code)(Java Doc) public void setAssociate(Object o)(Code)(Java Doc) public static void setDefaultUseCaches(boolean useCaches)(Code)(Java Doc) public void writeTo(OutputStream out, long start, long count) throws IOException(Code)(Java Doc)
|
|
|