| |
|
| org.apache.cactus.integration.ant.deployment.JarArchive
All known Subclasses: org.apache.cactus.integration.ant.deployment.DefaultJarArchive,
JarArchive | public interface JarArchive (Code) | | Provide convenient methods to read information from a Jar archive.
since: Cactus 1.5 version: $Id: JarArchive.java 238812 2004-02-29 10:21:34Z vmassol $ |
containsClass | boolean containsClass(String theClassName) throws IOException(Code) | | Returns whether a class of the specified name is contained in the
archive.
Parameters: theClassName - The name of the class to search for Whether the class was found throws: IOException - If an I/O error occurred reading the archive |
findResource | String findResource(String theName) throws IOException(Code) | | Returns the full path of a named resource in the archive.
Parameters: theName - The name of the resource The full path to the resource inside the archive throws: IOException - If an I/O error occurred reading the archive |
getResource | InputStream getResource(String thePath) throws IOException(Code) | | Returns a resource from the archive as input stream.
Parameters: thePath - The path to the resource in the archive An input stream containing the specified resource, ornull if the resource was not found in the JAR throws: IOException - If an I/O error occurs |
getResources | List getResources(String thePath) throws IOException(Code) | | Returns the list of resources in the specified directory.
Parameters: thePath - The directory The list of resources throws: IOException - If an I/O error occurs |
|
|
|