org.apache.geronimo.deployment.util
Class UnpackedJarFile

java.lang.Object
  extended byjava.util.zip.ZipFile
      extended byjava.util.jar.JarFile
          extended byorg.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) $

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
UnpackedJarFile(File baseDir)
           
 
Method Summary
 void close()
           
 Enumeration entries()
           
protected  void finalize()
           
 File getBaseDir()
           
 ZipEntry getEntry(String name)
           
 File getFile(String name)
           
 InputStream getInputStream(ZipEntry zipEntry)
           
 JarEntry getJarEntry(String name)
           
 Manifest getManifest()
           
 String getName()
           
 UnpackedJarEntry getUnpackedJarEntry(String name)
           
 int size()
          Always returns -1.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnpackedJarFile

public UnpackedJarFile(File baseDir)
                throws IOException
Method Detail

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.