org.apache.geronimo.deployment.util
Class NestedJarFile
java.lang.Object
java.util.zip.ZipFile
java.util.jar.JarFile
org.apache.geronimo.deployment.util.NestedJarFile
- All Implemented Interfaces:
- ZipConstants
- public class NestedJarFile
- extends JarFile
- Version:
- $Rev: 394960 $ $Date: 2006-04-18 17:02:36 +0200 (Tue, 18 Apr 2006) $
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 |
NestedJarFile
public NestedJarFile(JarFile jarFile,
String path)
throws IOException
isUnpacked
public boolean isUnpacked()
isPacked
public boolean isPacked()
getBaseJar
public JarFile getBaseJar()
getBasePath
public String getBasePath()
getManifest
public Manifest getManifest()
throws IOException
- Throws:
IOException
getNestedJarEntry
public NestedJarEntry getNestedJarEntry(String name)
getJarEntry
public JarEntry getJarEntry(String name)
getEntry
public ZipEntry getEntry(String name)
entries
public Enumeration entries()
getInputStream
public InputStream getInputStream(ZipEntry zipEntry)
throws IOException
- Throws:
IOException
getName
public String getName()
size
public int size()
- Always returns -1.
- Returns:
- -1
close
public void close()
throws IOException
- Throws:
IOException
finalize
protected void finalize()
throws IOException
- Throws:
IOException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.