Class ZipEntry

java.lang.Object
com.googlecode.d2j.util.zip.ZipEntry
All Implemented Interfaces:
Cloneable

public final class ZipEntry extends Object implements Cloneable
An entry within a zip file. An entry has attributes such as its name (which is actually a path) and the uncompressed size of the corresponding data. An entry does not contain the data itself, but can be used as a key with ZipFile.getInputStream(java.util.zip.ZipEntry). The class documentation for ZipInputStream and ZipOutputStream shows how android.ZipEntry is used in conjunction with those two classes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final long
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
    Zip entry state: Deflated.
    static final int
     
    static final int
     
    static final int
     
    static final long
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final long
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final long
     
    static final int
     
    static final int
     
    static final int
     
    static final int
    Zip entry state: Stored.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a deep copy of this zip entry.
    Returns the comment for this android.ZipEntry, or null if there is no comment.
    long
    Gets the compressed size of this android.ZipEntry.
    long
    Gets the checksum for this android.ZipEntry.
    byte[]
    Gets the extra information for this android.ZipEntry.
    int
    Gets the compression method for this android.ZipEntry.
    Gets the name of this android.ZipEntry.
    long
    Gets the uncompressed size of this android.ZipEntry.
    long
    Gets the last modification time of this android.ZipEntry.
    boolean
    Determine whether or not this android.ZipEntry is a directory.
    Returns the string representation of this android.ZipEntry.

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait