| java.lang.Object com.sun.jbi.ui.common.JarFactory
JarFactory | public class JarFactory (Code) | | |
Constructor Summary | |
public | JarFactory(String dir) This object provides utility methods to manipulate DOM tree. |
JarFactory | public JarFactory(String dir)(Code) | | This object provides utility methods to manipulate DOM tree.
Parameters: dir - Directory to unjar |
getEntry | public String getEntry(ZipFile jarFile, ZipEntry entry) throws IOException(Code) | | Gets one file entry from jarFile .
Parameters: jarFile - the JAR file reference to retrieve entry from. Parameters: entry - the file from the JAR to extract. the ZipEntry name throws: IOException - if error trying to read entry. |
zip | public String zip(String zipFileName) throws IOException(Code) | | This method is used to create a zip file with the contents of this directory and
keep it in the parent dir
Parameters: zipFileName - the name of the zip file throws: IOException - if a zip could not be created |
|
|