Package com.sun.enterprise.util.zip
Class ZipFile
java.lang.Object
com.sun.enterprise.util.zip.ZipFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexplode()Explodes files as usual, and then explodes every jar file found.static voidextractJar(String jarEntryName, JarFile earFile, File jarFile) Extracts the named jar file from the ear.
-
Constructor Details
-
ZipFile
- Throws:
ZipFileException
-
ZipFile
- Throws:
ZipFileException
-
ZipFile
- Throws:
ZipFileException
-
ZipFile
- Throws:
ZipFileException
-
-
Method Details
-
explode
Explodes files as usual, and then explodes every jar file found. All explosions are copied relative the same root directory.It does a case-sensitive check for files that end with ".jar" will comment out for later possbile use public ArrayList explodeAll() throws ZipFileException { return doExplode(this); }
- Throws:
ZipFileException
-
extractJar
public static void extractJar(String jarEntryName, JarFile earFile, File jarFile) throws ZipFileException Extracts the named jar file from the ear.- Parameters:
jarEntryName- name of the jar fileearFile- application archivejarFile- locaton of the jar file where the jar entry will be extracted- Throws:
ZipFileException- if an error while extracting the jar
-
getFileList
-