Java java.util.jar JarEntry fields, constructors, methods, implement or subclass

Example usage for Java java.util.jar JarEntry fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.jar JarEntry.

The text is from its open source code.

Subclass

java.util.jar.JarEntry has subclasses.
Click this link to see all its subclasses.

Constructor

JarEntry(String name)
Creates a new JarEntry for the specified JAR file entry name.
JarEntry(ZipEntry ze)
Creates a new JarEntry with fields taken from the specified ZipEntry object.
JarEntry(JarEntry je)
Creates a new JarEntry with fields taken from the specified JarEntry object.

Method

AttributesgetAttributes()
Returns the Manifest Attributes for this entry, or null if none.
Certificate[]getCertificates()
Returns the Certificate objects for this entry, or null if none.
CodeSigner[]getCodeSigners()
Returns the CodeSigner objects for this entry, or null if none.
StringgetComment()
Returns the comment string for the entry.
longgetCompressedSize()
Returns the size of the compressed entry data.
longgetCrc()
Returns the CRC-32 checksum of the uncompressed entry data.
byte[]getExtra()
Returns the extra field data for the entry.
intgetMethod()
Returns the compression method of the entry.
StringgetName()
Returns the name of the entry.
longgetSize()
Returns the uncompressed size of the entry data.
longgetTime()
Returns the last modification time of the entry.
booleanisDirectory()
Returns true if this is a directory entry.
voidsetComment(String comment)
Sets the optional comment string for the entry.
voidsetCompressedSize(long csize)
Sets the size of the compressed entry data.
voidsetCrc(long crc)
Sets the CRC-32 checksum of the uncompressed entry data.
voidsetExtra(byte[] extra)
Sets the optional extra field data for the entry.
voidsetMethod(int method)
Sets the compression method for the entry.
voidsetSize(long size)
Sets the uncompressed size of the entry data.
voidsetTime(long time)
Sets the last modification time of the entry.
StringtoString()
Returns a string representation of the ZIP entry.