Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.deployment » [javadoc | source]
org.apache.cactus.integration.ant.deployment
public interface: JarArchive [javadoc | source]

All Known Implementing Classes:
    EarArchive, DefaultWarArchive, WarArchive, DefaultEarArchive, DefaultJarArchive

Provide convenient methods to read information from a Jar archive.
Method from org.apache.cactus.integration.ant.deployment.JarArchive Summary:
containsClass,   findResource,   getResource,   getResources
Method from org.apache.cactus.integration.ant.deployment.JarArchive Detail:
 public boolean containsClass(String theClassName) throws IOException
    Returns whether a class of the specified name is contained in the archive.
 public String findResource(String theName) throws IOException
    Returns the full path of a named resource in the archive.
 public InputStream getResource(String thePath) throws IOException
    Returns a resource from the archive as input stream.
 public List getResources(String thePath) throws IOException
    Returns the list of resources in the specified directory.