| java.lang.Object org.mortbay.resource.Resource org.mortbay.resource.URLResource org.mortbay.resource.JarResource
All known Subclasses: org.mortbay.resource.JarFileResource,
JarResource | JarResource(URL url, boolean useCaches)(Code) | | |
checkConnection | protected boolean checkConnection()(Code) | | |
exists | public boolean exists()(Code) | | Returns true if the respresenetd resource exists.
|
newConnection | protected void newConnection() throws IOException(Code) | | throws: IOException - Sub-classes of JarResource may throw an IOException (or subclass) |
release | public synchronized void release()(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)
|
|
|