Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.emory.mathcs.util.classloader.jar
Class JarProxy.CachedJarFile.Entry  view JarProxy.CachedJarFile.Entry download JarProxy.CachedJarFile.Entry.java

java.lang.Object
  extended byjava.util.zip.ZipEntry
      extended byjava.util.jar.JarEntry
          extended byedu.emory.mathcs.util.classloader.jar.JarProxy.CachedJarFile.Entry
All Implemented Interfaces:
java.lang.Cloneable, java.util.zip.ZipConstants
Enclosing class:
JarProxy.CachedJarFile

private static class JarProxy.CachedJarFile.Entry
extends java.util.jar.JarEntry


Field Summary
(package private)  java.util.jar.JarEntry jentry
           
 
Fields inherited from class java.util.jar.JarEntry
 
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
(package private) JarProxy.CachedJarFile.Entry(java.util.jar.JarEntry jentry)
           
 
Method Summary
 java.util.jar.Attributes getAttributes()
          Returns a copy of the Attributes set for this entry.
 java.security.cert.Certificate[] getCertificates()
          Returns a copy of the certificates set for this entry.
 
Methods inherited from class java.util.zip.ZipEntry
clone, getComment, getCompressedSize, getCrc, getExtra, getMethod, getName, getSize, getTime, hashCode, isDirectory, setComment, setCompressedSize, setCrc, setExtra, setMethod, setSize, setTime, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

jentry

java.util.jar.JarEntry jentry
Constructor Detail

JarProxy.CachedJarFile.Entry

JarProxy.CachedJarFile.Entry(java.util.jar.JarEntry jentry)
Method Detail

getCertificates

public java.security.cert.Certificate[] getCertificates()
Description copied from class: java.util.jar.JarEntry
Returns a copy of the certificates set for this entry. When no certificates are set or when not all data of this entry has been read null is returned.

To make sure that this call returns a valid value you must read all data from the JarInputStream for this entry. When you don't need the data for an entry but want to know the certificates that are set for the entry then you can skip all data by calling skip(entry.getSize()) on the JarInputStream for the entry.


getAttributes

public java.util.jar.Attributes getAttributes()
                                       throws java.io.IOException
Description copied from class: java.util.jar.JarEntry
Returns a copy of the Attributes set for this entry. When no Attributes are set in the manifest null is returned.