org.entityfs.zip
Class ECZipEntryImpl
java.lang.Object
org.entityfs.cap.AbstractEntityCapability<EntityImplementation>
org.entityfs.zip.ECZipEntryImpl
- All Implemented Interfaces:
- EntityCapability, ECZipEntry
public class ECZipEntryImpl
- extends AbstractEntityCapability<EntityImplementation>
- implements ECZipEntry, EntityCapability
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECZipEntryImpl
public ECZipEntryImpl(EntityImplementation ent)
getZipEntry
protected ZipEntry getZipEntry()
getExtra
public byte[] getExtra()
- Description copied from interface:
ECZipEntry
- Get extra information for the entity.
- Specified by:
getExtra
in interface ECZipEntry
- Returns:
- The Zip entry extra data or
null
if none. - See Also:
ZipEntry.getExtra()
getCrc
public long getCrc()
- Description copied from interface:
ECZipEntry
- Get the CRC checksum for the entity.
- Specified by:
getCrc
in interface ECZipEntry
- Returns:
- The Zip entry CRC-32 checksum, or
-1
if not known. - See Also:
ZipEntry.getCrc()
getCompressedSize
public long getCompressedSize()
- Description copied from interface:
ECZipEntry
- Get the compressed size of the entity.
- Specified by:
getCompressedSize
in interface ECZipEntry
- Returns:
- The compressed size of the Zip entry, or
-1
if not known. - See Also:
ZipEntry.getCompressedSize()
getComment
public String getComment()
- Description copied from interface:
ECZipEntry
- Get the entity's comment.
- Specified by:
getComment
in interface ECZipEntry
- Returns:
- The Zip entry comment, or
null
if none. - See Also:
ZipEntry.getComment()