org.objectweb.jac.aspects.gui.web
Class ClasspathResource

java.lang.Object
  extended byorg.mortbay.util.Resource
      extended byorg.objectweb.jac.aspects.gui.web.ClasspathResource
All Implemented Interfaces:
Serializable

public class ClasspathResource
extends Resource

See Also:
Serialized Form

Constructor Summary
ClasspathResource()
           
ClasspathResource(String path)
           
 
Method Summary
 Resource addPath(String addedPath)
           
 boolean delete()
           
 boolean exists()
           
 File getFile()
           
 InputStream getInputStream()
           
 String getName()
           
 OutputStream getOutputStream()
           
 URL getURL()
           
 boolean isDirectory()
           
 long lastModified()
           
 long length()
           
 String[] list()
           
 void release()
           
 boolean renameTo(Resource newName)
           
 String toString()
           
 
Methods inherited from class org.mortbay.util.Resource
cache, encode, finalize, getAlias, getAssociate, getListHTML, newResource, newResource, newSystemResource, setAssociate, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClasspathResource

public ClasspathResource(String path)
                  throws IOException

ClasspathResource

public ClasspathResource()
Method Detail

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()