org.apache.geronimo.deployment.util
Class NestedJarEntry

java.lang.Object
  extended byjava.util.zip.ZipEntry
      extended byjava.util.jar.JarEntry
          extended byorg.apache.geronimo.deployment.util.NestedJarEntry
All Implemented Interfaces:
Cloneable, ZipConstants

public class NestedJarEntry
extends JarEntry

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Field Summary
 
Fields inherited from class java.util.zip.ZipEntry
CENATT, CENATX, CENCOM, CENCRC, CENDSK, CENEXT, CENFLG, CENHDR, CENHOW, CENLEN, CENNAM, CENOFF, CENSIG, CENSIZ, CENTIM, CENVEM, CENVER, DEFLATED, ENDCOM, ENDHDR, ENDOFF, ENDSIG, ENDSIZ, ENDSUB, ENDTOT, EXTCRC, EXTHDR, EXTLEN, EXTSIG, EXTSIZ, LOCCRC, LOCEXT, LOCFLG, LOCHDR, LOCHOW, LOCLEN, LOCNAM, LOCSIG, LOCSIZ, LOCTIM, LOCVER, STORED
 
Constructor Summary
NestedJarEntry(String name, JarEntry baseEntry, Manifest manifest)
           
 
Method Summary
 Object clone()
           
 Attributes getAttributes()
           
 JarEntry getBaseEntry()
           
 Certificate[] getCertificates()
          Always return null.
 String getComment()
           
 long getCompressedSize()
           
 long getCrc()
           
 byte[] getExtra()
           
 int getMethod()
           
 long getSize()
           
 long getTime()
           
 int hashCode()
           
 boolean isDirectory()
           
 void setComment(String comment)
           
 void setCompressedSize(long csize)
           
 void setCrc(long crc)
           
 void setExtra(byte[] extra)
           
 void setMethod(int method)
           
 void setSize(long size)
           
 void setTime(long time)
           
 String toString()
           
 
Methods inherited from class java.util.zip.ZipEntry
getName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestedJarEntry

public NestedJarEntry(String name,
                      JarEntry baseEntry,
                      Manifest manifest)
Method Detail

getBaseEntry

public JarEntry getBaseEntry()

getAttributes

public Attributes getAttributes()
                         throws IOException
Throws:
IOException

getCertificates

public Certificate[] getCertificates()
Always return null. This could be implementd by verifing the signatures in the manifest file against the actual file, but we don't need this for Geronimo.

Returns:
null

getTime

public long getTime()

setTime

public void setTime(long time)

getSize

public long getSize()

setSize

public void setSize(long size)

getCompressedSize

public long getCompressedSize()

setCompressedSize

public void setCompressedSize(long csize)

getCrc

public long getCrc()

setCrc

public void setCrc(long crc)

getMethod

public int getMethod()

setMethod

public void setMethod(int method)

getExtra

public byte[] getExtra()

setExtra

public void setExtra(byte[] extra)

getComment

public String getComment()

setComment

public void setComment(String comment)

isDirectory

public boolean isDirectory()

toString

public String toString()

hashCode

public int hashCode()

clone

public Object clone()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.