org.apache.geronimo.deployment.util
Class UnpackedJarFile
java.lang.Object
java.util.zip.ZipFile
java.util.jar.JarFile
org.apache.geronimo.deployment.util.UnpackedJarFile
- All Implemented Interfaces:
- ZipConstants
- public class UnpackedJarFile
- extends JarFile
- Version:
- $Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
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 |
UnpackedJarFile
public UnpackedJarFile(File baseDir)
throws IOException
getBaseDir
public File getBaseDir()
getManifest
public Manifest getManifest()
throws IOException
- Throws:
IOException
getUnpackedJarEntry
public UnpackedJarEntry getUnpackedJarEntry(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
getFile
public File getFile(String name)
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.