Class JarArchiveEntry
java.lang.Object
java.util.zip.ZipEntry
org.apache.commons.compress.archivers.zip.ZipArchiveEntry
org.apache.commons.compress.archivers.jar.JarArchiveEntry
- All Implemented Interfaces:
Cloneable
,ArchiveEntry
,EntryStreamOffsets
JAR archive entry.
- This class is not thread-safe
- (parent is not thread-safe)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
ZipArchiveEntry.CommentSource, ZipArchiveEntry.ExtraFieldParsingMode, ZipArchiveEntry.NameSource
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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
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
Fields inherited from class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
CRC_UNKNOWN, PLATFORM_FAT, PLATFORM_UNIX
Fields inherited from interface org.apache.commons.compress.archivers.ArchiveEntry
SIZE_UNKNOWN
Fields inherited from interface org.apache.commons.compress.archivers.EntryStreamOffsets
OFFSET_UNKNOWN
-
Constructor Summary
ConstructorDescriptionJarArchiveEntry
(String name) Constructs a new instance.JarArchiveEntry
(JarEntry entry) Constructs a new instance.JarArchiveEntry
(ZipEntry entry) Constructs a new instance.JarArchiveEntry
(ZipArchiveEntry entry) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 1.5, not currently implementedDeprecated.since 1.5, do not use; always returns nullMethods inherited from class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
addAsFirstExtraField, addExtraField, clone, equals, getAlignment, getCentralDirectoryExtra, getCommentSource, getDataOffset, getDiskNumberStart, getExternalAttributes, getExtraField, getExtraFields, getExtraFields, getExtraFields, getGeneralPurposeBit, getInternalAttributes, getLastModifiedDate, getLocalFileDataExtra, getLocalHeaderOffset, getMethod, getName, getNameSource, getPlatform, getRawFlag, getRawName, getSize, getTime, getUnixMode, getUnparseableExtraFieldData, getVersionMadeBy, getVersionRequired, hashCode, isDirectory, isStreamContiguous, isUnixSymlink, removeExtraField, removeUnparseableExtraFieldData, setAlignment, setCentralDirectoryExtra, setCommentSource, setCreationTime, setDataOffset, setDiskNumberStart, setExternalAttributes, setExtra, setExtra, setExtraFields, setGeneralPurposeBit, setInternalAttributes, setLastAccessTime, setLastModifiedTime, setLocalHeaderOffset, setMethod, setName, setName, setNameSource, setPlatform, setRawFlag, setSize, setStreamContiguous, setTime, setTime, setUnixMode, setVersionMadeBy, setVersionRequired
Methods inherited from class java.util.zip.ZipEntry
getComment, getCompressedSize, getCrc, getCreationTime, getExtra, getLastAccessTime, getLastModifiedTime, setComment, setCompressedSize, setCrc, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.commons.compress.archivers.ArchiveEntry
resolveIn
-
Field Details
-
LOCSIG
static final long LOCSIG- See Also:
-
EXTSIG
static final long EXTSIG- See Also:
-
CENSIG
static final long CENSIG- See Also:
-
ENDSIG
static final long ENDSIG- See Also:
-
LOCHDR
static final int LOCHDR- See Also:
-
EXTHDR
static final int EXTHDR- See Also:
-
CENHDR
static final int CENHDR- See Also:
-
ENDHDR
static final int ENDHDR- See Also:
-
LOCVER
static final int LOCVER- See Also:
-
LOCFLG
static final int LOCFLG- See Also:
-
LOCHOW
static final int LOCHOW- See Also:
-
LOCTIM
static final int LOCTIM- See Also:
-
LOCCRC
static final int LOCCRC- See Also:
-
LOCSIZ
static final int LOCSIZ- See Also:
-
LOCLEN
static final int LOCLEN- See Also:
-
LOCNAM
static final int LOCNAM- See Also:
-
LOCEXT
static final int LOCEXT- See Also:
-
EXTCRC
static final int EXTCRC- See Also:
-
EXTSIZ
static final int EXTSIZ- See Also:
-
EXTLEN
static final int EXTLEN- See Also:
-
CENVEM
static final int CENVEM- See Also:
-
CENVER
static final int CENVER- See Also:
-
CENFLG
static final int CENFLG- See Also:
-
CENHOW
static final int CENHOW- See Also:
-
CENTIM
static final int CENTIM- See Also:
-
CENCRC
static final int CENCRC- See Also:
-
CENSIZ
static final int CENSIZ- See Also:
-
CENLEN
static final int CENLEN- See Also:
-
CENNAM
static final int CENNAM- See Also:
-
CENEXT
static final int CENEXT- See Also:
-
CENCOM
static final int CENCOM- See Also:
-
CENDSK
static final int CENDSK- See Also:
-
CENATT
static final int CENATT- See Also:
-
CENATX
static final int CENATX- See Also:
-
CENOFF
static final int CENOFF- See Also:
-
ENDSUB
static final int ENDSUB- See Also:
-
ENDTOT
static final int ENDTOT- See Also:
-
ENDSIZ
static final int ENDSIZ- See Also:
-
ENDOFF
static final int ENDOFF- See Also:
-
ENDCOM
static final int ENDCOM- See Also:
-
-
Constructor Details
-
JarArchiveEntry
Constructs a new instance.- Parameters:
entry
- See super.- Throws:
ZipException
- See super.
-
JarArchiveEntry
Constructs a new instance.- Parameters:
name
- See super.
-
JarArchiveEntry
Constructs a new instance.- Parameters:
entry
- See super.- Throws:
ZipException
- See super.
-
JarArchiveEntry
Constructs a new instance.- Parameters:
entry
- See super.- Throws:
ZipException
- See super.
-
-
Method Details
-
getCertificates
Deprecated.since 1.5, not currently implementedGets a copy of the list of certificates or null if there are none.- Returns:
- Always returns null in the current implementation
-
getManifestAttributes
Deprecated.since 1.5, do not use; always returns nullThis method is not implemented and won't ever be. The JVM equivalent has a different nameJarEntry.getAttributes()
- Returns:
- Always returns null.
-