|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.zip.ZipFile java.util.jar.JarFile org.objectweb.jonas.common.JJarFile
This class implements a JarFile that adds a extract/write method
Field Summary |
Fields inherited from class java.util.jar.JarFile |
MANIFEST_NAME |
Fields inherited from class java.util.zip.ZipFile |
CENATT, CENATX, CENCOM, CENCRC, CENDSK, CENEXT, CENFLG, CENHDR, CENHOW, CENLEN, CENNAM, CENOFF, CENSIG, CENSIZ, CENTIM, CENVEM, CENVER, ENDCOM, ENDHDR, ENDOFF, ENDSIG, ENDSIZ, ENDSUB, ENDTOT, EXTCRC, EXTHDR, EXTLEN, EXTSIG, EXTSIZ, LOCCRC, LOCEXT, LOCFLG, LOCHDR, LOCHOW, LOCLEN, LOCNAM, LOCSIG, LOCSIZ, LOCTIM, LOCVER, OPEN_DELETE, OPEN_READ |
Constructor Summary | |
JJarFile(java.io.File file)
Constructs a new JarFile with the specified File. |
|
JJarFile(java.io.File file,
boolean verify)
Constructs a new JarFile with the specified File. |
|
JJarFile(java.io.File file,
boolean verify,
int mode)
Constructs a new JarFile with the specified File. |
|
JJarFile(java.lang.String name)
Constructs a new JarFile with the specified File. |
|
JJarFile(java.lang.String name,
boolean verify)
Constructs a new JarFile with the specified File. |
Method Summary | |
void |
extract(java.util.jar.JarEntry jEnt,
java.lang.String filename)
Extract the specified Jar Entry to the path given |
Methods inherited from class java.util.jar.JarFile |
entries, getEntry, getInputStream, getJarEntry, getManifest |
Methods inherited from class java.util.zip.ZipFile |
close, finalize, getName, size |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JJarFile(java.io.File file) throws java.io.IOException
file
- the jar file to be openedpublic JJarFile(java.io.File file, boolean verify) throws java.io.IOException
file
- the jar file to be openedpublic JJarFile(java.io.File file, boolean verify, int mode) throws java.io.IOException
file
- the jar file to be openedmode
- int of the mode to open the jarpublic JJarFile(java.lang.String name) throws java.io.IOException
name
- the name of the jar file to be openedpublic JJarFile(java.lang.String name, boolean verify) throws java.io.IOException
name
- the name of the jar file to be openedMethod Detail |
public void extract(java.util.jar.JarEntry jEnt, java.lang.String filename) throws java.io.IOException
jEnt
- the JarEntry to extractfilename
- the filename to write the extracted file
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |