| org.apache.tools.ant.taskdefs.optional.genjar.LibrarySpec
LibrarySpec | public class LibrarySpec extends DataType implements JarSpec(Code) | | This class encapsulates the concept of a library - either a set of files in a directory or a
jar's content. If a directory is specified, all files in that directory tree are loaded into the
jar. If a jar is specified, then all files from that jar are copied into the target jar (except
the manifest file).
author: Original Code: John W. Kohler author: Jesse Stockall version: $Revision: 1.8 $ $Date: 2003/03/06 01:22:01 $ |
LibrarySpec | public LibrarySpec(File baseDir, Path classpath)(Code) | | Constructor for the LibrarySpec object
Parameters: baseDir - Description of the Parameter Parameters: classpath - Description of the Parameter |
getJarEntries | public List getJarEntries()(Code) | | Gets the jarEntries attribute of the LibrarySpec object
The jarEntries value |
getName | public String getName()(Code) | | Gets the name of the resource.
Thr name |
getPathElement | public Path getPathElement()(Code) | | Gets the pathElement attribute of the LibrarySpec object
The pathElement value |
resolve | public void resolve(GenJar gj) throws IOException(Code) | | Description of the Method
Parameters: gj - Description of the Parameter throws: IOException - Description of the Exception |
setDir | public void setDir(String dir)(Code) | | Sets the dir attribute.
Parameters: dir - The directory to load files from. |
setJar | public void setJar(String file) throws BuildException(Code) | | Sets the jar attribute.
Parameters: file - The file to include as a library. throws: BuildException - Description of the Exception |
|
|