|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.entityfs.zip.cap.entity.ECZipEntryUtil
public final class ECZipEntryUtil
This is a utility class with static utility methods for working with entities
supporting the ECZipEntry capability.
The methods in this class will use the locking strategy for utility classes
described in EntityLock.
ECZipEntry| Method Summary | |
|---|---|
static String |
getComment(EntityView ent)
Get the ZipEntry comment. |
static long |
getCompressedSize(EntityView ent)
Get the ZipEntry compressed size, if known. |
static long |
getCrc(EntityView ent)
Get the ZipEntry CRC-32 checksum, if known. |
static byte[] |
getExtra(EntityView ent)
Get the ZipEntry extra data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] getExtra(EntityView ent)
throws UnsupportedCapabilityException
ZipEntry extra data.
Entity locks that this method will acquire (temporarily):
ent - The entity. It must support the ECZipEntry capability.
ZipEntry extra data, or null if none.
UnsupportedCapabilityException - If the entity does not support the
ECZipEntry capability.
public static long getCrc(EntityView ent)
throws UnsupportedCapabilityException
ZipEntry CRC-32 checksum, if known.
Entity locks that this method will acquire (temporarily):
ent - The entity. It must support the ECZipEntry capability.
ZipEntry CRC-32 checksum, or -1 if it is not
known.
UnsupportedCapabilityException - If the entity does not support the
ECZipEntry capability.
public static long getCompressedSize(EntityView ent)
throws UnsupportedCapabilityException
ZipEntry compressed size, if known.
Entity locks that this method will acquire (temporarily):
ent - The entity. It must support the ECZipEntry capability.
ZipEntry compressed size, or -1 if not known.
UnsupportedCapabilityException - If the entity does not support the
ECZipEntry capability.
public static String getComment(EntityView ent)
throws UnsupportedCapabilityException
ZipEntry comment.
Entity locks that this method will acquire (temporarily):
ent - The entity. It must support the ECZipEntry capability.
ZipEntry comment, or null if none.
UnsupportedCapabilityException - If the entity does not support the
ECZipEntry capability.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||