| java.lang.Object com.sun.jbi.installer.JarFactory
JarFactory | public class JarFactory (Code) | | |
Constructor Summary | |
public | JarFactory(String dir) This object provides utility methods to manipulate DOM tree. |
Method Summary | |
public String | getEntry(ZipFile jarFile, ZipEntry entry) 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. | public void | unJar(File jarFile) Unjars a file. | public void | unJar(java.util.zip.ZipFile jar) Unjars a file. |
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. |
|
|