org.objectweb.jac.aspects.gui.web
Class ClasspathResource
java.lang.Object
org.mortbay.util.Resource
org.objectweb.jac.aspects.gui.web.ClasspathResource
- All Implemented Interfaces:
- Serializable
- public class ClasspathResource
- extends Resource
- See Also:
- Serialized Form
Methods inherited from class org.mortbay.util.Resource |
cache, encode, finalize, getAlias, getAssociate, getListHTML, newResource, newResource, newSystemResource, setAssociate, writeTo |
ClasspathResource
public ClasspathResource(String path)
throws IOException
ClasspathResource
public ClasspathResource()
release
public void release()
exists
public boolean exists()
isDirectory
public boolean isDirectory()
lastModified
public long lastModified()
length
public long length()
getURL
public URL getURL()
getFile
public File getFile()
getName
public String getName()
getInputStream
public InputStream getInputStream()
getOutputStream
public OutputStream getOutputStream()
delete
public boolean delete()
renameTo
public boolean renameTo(Resource newName)
list
public String[] list()
addPath
public Resource addPath(String addedPath)
throws IOException
- Throws:
IOException
toString
public String toString()