org.apache.geronimo.deployment.util
Class NestedJarFile

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

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
NestedJarFile(JarFile jarFile, String path)
           
 
Method Summary
 void close()
           
 Enumeration entries()
           
protected  void finalize()
           
 JarFile getBaseJar()
           
 String getBasePath()
           
 ZipEntry getEntry(String name)
           
 InputStream getInputStream(ZipEntry zipEntry)
           
 JarEntry getJarEntry(String name)
           
 Manifest getManifest()
           
 String getName()
           
 NestedJarEntry getNestedJarEntry(String name)
           
 boolean isPacked()
           
 boolean isUnpacked()
           
 int size()
          Always returns -1.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedJarFile

public NestedJarFile(JarFile jarFile,
                     String path)
              throws IOException
Method Detail

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.