public class ZipSymbolicLinkEntry extends ZipEntry implements ArchiveSymbolicLinkEntry<ZipEntry,ZipDirectoryEntry>
ZipEntry, a symbolic link has a link
target and a CRC 32 checksum calculated on the link value.
Zip entries are always immutable.
ZipDirectoryEntry,
ZipFileEntry| Constructor and Description |
|---|
ZipSymbolicLinkEntry(ZipEntryCollaborator collaborator,
ZipEntryCentralFileHeaderData zecd,
ZipEntryLocalFileHeaderData zeld,
Charset cs)
Create a symbolic link entry.
|
| Modifier and Type | Method and Description |
|---|---|
UnsignedInteger |
getCrc32()
Get the CRC 32 checksum computed over the link target location.
|
org.entityfs.el.EntityLocation<?> |
getLinkTarget()
Get the symbolic link's target.
|
String |
toString() |
getComment, getDiskNumberStart, getExternalFileAttributes, getExtraField, getExtraFields, getGeneralPurposeBitFlags, getLastModified, getVersionNeededToExtract, getVersionUsedToCreate, isEncrypted, isStrongEncryptiongetCollaborator, getLocation, getName, getParent, getReadLock, isReadLockedByCurrentThread, lockForReadingclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, getParentpublic ZipSymbolicLinkEntry(ZipEntryCollaborator collaborator, ZipEntryCentralFileHeaderData zecd, ZipEntryLocalFileHeaderData zeld, Charset cs)
collaborator - The parent Zip archive's entry collaborator.zecd - Data parsed from the Zip entry's central directory record.zeld - Data parsed from the Zip entry's local header.cs - The charset to use when decoding the link.public org.entityfs.el.EntityLocation<?> getLinkTarget()
AbsoluteLocation or a
RelativeLocation.getLinkTarget in interface ArchiveSymbolicLinkEntry<ZipEntry,ZipDirectoryEntry>public UnsignedInteger getCrc32()