|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ECZipEntry
This is an entity capability for entities that have ZipEntry
objects.
All entities in a Zip or Jar file system support this.
This capability interface does not redefine all ZipEntry
methods.
Some of the methods are not redefined since Zip file systems are read only,
other methods are not defined because they can be mapped to ordinary entity
method. ZipEntry.getTime()
maps to
EntityView.getLastModified()
, for instance.
ECTZipEntry
,
ECZipEntryUtil
,
FSCZipFileBacked
Method Summary | |
---|---|
String |
getComment()
Get the entity's comment. |
long |
getCompressedSize()
Get the compressed size of the entity. |
long |
getCrc()
Get the CRC checksum for the entity. |
byte[] |
getExtra()
Get extra information for the entity. |
Methods inherited from interface org.entityfs.cap.EntityCapability |
---|
getEntity, isValid |
Method Detail |
---|
byte[] getExtra() throws ReadLockRequiredException, AccessDeniedException
null
if none.
ReadLockRequiredException
- If the client does not have a read lock
for the file.
AccessDeniedException
- If the client does not have read access to
the entity.ZipEntry.getExtra()
long getCrc() throws ReadLockRequiredException, AccessDeniedException
-1
if not known.
ReadLockRequiredException
- If the client does not have a read lock
for the file.
AccessDeniedException
- If the client does not have read access to
the entity.ZipEntry.getCrc()
long getCompressedSize() throws ReadLockRequiredException, AccessDeniedException
-1
if not known.
ReadLockRequiredException
- If the client does not have a read lock
for the file.
AccessDeniedException
- If the client does not have read access to
the entity.ZipEntry.getCompressedSize()
String getComment() throws ReadLockRequiredException, AccessDeniedException
null
if none.
ReadLockRequiredException
- If the client does not have a read lock
for the file.
AccessDeniedException
- If the client does not have read access to
the entity.ZipEntry.getComment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |