ZipEntry (Java Platform SE 8 ) (original) (raw)
Modifier and Type
Method
Description
[Object](../../../java/lang/Object.html "class in java.lang")
[clone](../../../java/util/zip/ZipEntry.html#clone--)()
Returns a copy of this entry.
[String](../../../java/lang/String.html "class in java.lang")
[getComment](../../../java/util/zip/ZipEntry.html#getComment--)()
Returns the comment string for the entry.
long
[getCompressedSize](../../../java/util/zip/ZipEntry.html#getCompressedSize--)()
Returns the size of the compressed entry data.
long
[getCrc](../../../java/util/zip/ZipEntry.html#getCrc--)()
Returns the CRC-32 checksum of the uncompressed entry data.
[FileTime](../../../java/nio/file/attribute/FileTime.html "class in java.nio.file.attribute")
[getCreationTime](../../../java/util/zip/ZipEntry.html#getCreationTime--)()
Returns the creation time of the entry.
byte[]
[getExtra](../../../java/util/zip/ZipEntry.html#getExtra--)()
Returns the extra field data for the entry.
[FileTime](../../../java/nio/file/attribute/FileTime.html "class in java.nio.file.attribute")
[getLastAccessTime](../../../java/util/zip/ZipEntry.html#getLastAccessTime--)()
Returns the last access time of the entry.
[FileTime](../../../java/nio/file/attribute/FileTime.html "class in java.nio.file.attribute")
[getLastModifiedTime](../../../java/util/zip/ZipEntry.html#getLastModifiedTime--)()
Returns the last modification time of the entry.
int
[getMethod](../../../java/util/zip/ZipEntry.html#getMethod--)()
Returns the compression method of the entry.
[String](../../../java/lang/String.html "class in java.lang")
[getName](../../../java/util/zip/ZipEntry.html#getName--)()
Returns the name of the entry.
long
[getSize](../../../java/util/zip/ZipEntry.html#getSize--)()
Returns the uncompressed size of the entry data.
long
[getTime](../../../java/util/zip/ZipEntry.html#getTime--)()
Returns the last modification time of the entry.
int
[hashCode](../../../java/util/zip/ZipEntry.html#hashCode--)()
Returns the hash code value for this entry.
boolean
[isDirectory](../../../java/util/zip/ZipEntry.html#isDirectory--)()
Returns true if this is a directory entry.
void
[setComment](../../../java/util/zip/ZipEntry.html#setComment-java.lang.String-)([String](../../../java/lang/String.html "class in java.lang") comment)
Sets the optional comment string for the entry.
void
[setCompressedSize](../../../java/util/zip/ZipEntry.html#setCompressedSize-long-)(long csize)
Sets the size of the compressed entry data.
void
[setCrc](../../../java/util/zip/ZipEntry.html#setCrc-long-)(long crc)
Sets the CRC-32 checksum of the uncompressed entry data.
[ZipEntry](../../../java/util/zip/ZipEntry.html "class in java.util.zip")
[setCreationTime](../../../java/util/zip/ZipEntry.html#setCreationTime-java.nio.file.attribute.FileTime-)([FileTime](../../../java/nio/file/attribute/FileTime.html "class in java.nio.file.attribute") time)
Sets the creation time of the entry.
void
[setExtra](../../../java/util/zip/ZipEntry.html#setExtra-byte:A-)(byte[] extra)
Sets the optional extra field data for the entry.
[ZipEntry](../../../java/util/zip/ZipEntry.html "class in java.util.zip")
[setLastAccessTime](../../../java/util/zip/ZipEntry.html#setLastAccessTime-java.nio.file.attribute.FileTime-)([FileTime](../../../java/nio/file/attribute/FileTime.html "class in java.nio.file.attribute") time)
Sets the last access time of the entry.
[ZipEntry](../../../java/util/zip/ZipEntry.html "class in java.util.zip")
[setLastModifiedTime](../../../java/util/zip/ZipEntry.html#setLastModifiedTime-java.nio.file.attribute.FileTime-)([FileTime](../../../java/nio/file/attribute/FileTime.html "class in java.nio.file.attribute") time)
Sets the last modification time of the entry.
void
[setMethod](../../../java/util/zip/ZipEntry.html#setMethod-int-)(int method)
Sets the compression method for the entry.
void
[setSize](../../../java/util/zip/ZipEntry.html#setSize-long-)(long size)
Sets the uncompressed size of the entry data.
void
[setTime](../../../java/util/zip/ZipEntry.html#setTime-long-)(long time)
Sets the last modification time of the entry.
[String](../../../java/lang/String.html "class in java.lang")
[toString](../../../java/util/zip/ZipEntry.html#toString--)()
Returns a string representation of the ZIP entry.