Top Description Fields Constructors Methods
org.apache.commons.compress.archivers.jar

public Class JarArchiveEntry

extends ZipArchiveEntry
Class Inheritance
Imports
java.security.cert.Certificate, java.util.jar.Attributes, .JarEntry, java.util.zip.ZipEntry, .ZipException, org.apache.commons.compress.archivers.zip.ZipArchiveEntry

JAR archive entry.

Field Summary

Inherited from org.apache.commons.compress.archivers.zip.ZipArchiveEntry:
CRC_UNKNOWNPLATFORM_FATPLATFORM_UNIX

Constructor Summary

AccessConstructor and Description
public
JarArchiveEntry(final JarEntry
See super.
entry
)

Constructs a new instance.

public
JarArchiveEntry(final String
See super.
name
)

Constructs a new instance.

public
JarArchiveEntry(final ZipArchiveEntry
See super.
entry
)

Constructs a new instance.

public
JarArchiveEntry(final ZipEntry
See super.
entry
)

Constructs a new instance.

Method Summary

Modifier and TypeMethod and Description
public Certificate[]

Returns:

Always returns null in the current implementation
getCertificates
()

Deprecated since 1.5, not currently implemented
Gets a copy of the list of certificates or null if there are none.
public Attributes

Returns:

Always returns null.
getManifestAttributes
()

Deprecated since 1.5, do not use; always returns null
This method is not implemented and won't ever be.
Inherited from org.apache.commons.compress.archivers.zip.ZipArchiveEntry:
addAsFirstExtraFieldaddExtraFieldcloneequalsgetAlignmentgetCentralDirectoryExtragetCommentSourcegetDataOffsetgetDiskNumberStartgetExternalAttributesgetExtraFieldgetExtraFieldsgetExtraFieldsgetExtraFieldsgetGeneralPurposeBitgetInternalAttributesgetLastModifiedDategetLocalFileDataExtragetLocalHeaderOffsetgetMethodgetNamegetNameSourcegetPlatformgetRawFlaggetRawNamegetSizegetTimegetUnixModegetUnparseableExtraFieldDatagetVersionMadeBygetVersionRequiredhashCodeisDirectoryisStreamContiguousisUnixSymlinkremoveExtraFieldremoveUnparseableExtraFieldDatasetAlignmentsetCentralDirectoryExtrasetCommentSourcesetCreationTimesetDataOffsetsetDiskNumberStartsetExternalAttributessetExtrasetExtrasetExtraFieldssetGeneralPurposeBitsetInternalAttributessetLastAccessTimesetLastModifiedTimesetLocalHeaderOffsetsetMethodsetNamesetNamesetNameSourcesetPlatformsetRawFlagsetSizesetStreamContiguoussetTimesetTimesetUnixModesetVersionMadeBysetVersionRequired

Constructor Detail

JarArchiveEntryback to summary
public JarArchiveEntry(final JarEntry entry) throws ZipException

Constructs a new instance.

Parameters
entry:JarEntry

See super.

Exceptions
ZipException:
See super.
JarArchiveEntryback to summary
public JarArchiveEntry(final String name)

Constructs a new instance.

Parameters
name:String

See super.

JarArchiveEntryback to summary
public JarArchiveEntry(final ZipArchiveEntry entry) throws ZipException

Constructs a new instance.

Parameters
entry:ZipArchiveEntry

See super.

Exceptions
ZipException:
See super.
JarArchiveEntryback to summary
public JarArchiveEntry(final ZipEntry entry) throws ZipException

Constructs a new instance.

Parameters
entry:ZipEntry

See super.

Exceptions
ZipException:
See super.

Method Detail

getCertificatesback to summary
public Certificate[] getCertificates()

Deprecated

since 1.5, not currently implemented

Gets a copy of the list of certificates or null if there are none.

Returns:Certificate[]

Always returns null in the current implementation

Annotations
@Deprecated
getManifestAttributesback to summary
public Attributes getManifestAttributes()

Deprecated

since 1.5, do not use; always returns null

This method is not implemented and won't ever be. The JVM equivalent has a different name java.util.jar.JarEntry#getAttributes()

Returns:Attributes

Always returns null.

Annotations
@Deprecated