-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.SuspendingCloseable
public interface Archive.Entry implements SuspendingCloseable
Holds an archive entry's metadata.
-
-
Method Summary
-
-
Method Detail
-
read
abstract ByteArray read(LongRange range)
Reads the whole content of this entry. When range is null, the whole content is returned. Out-of-range indexes are clamped to the available length automatically.
-
getCompressedLength
abstract Long getCompressedLength()
Compressed data length.
-
-
-
-