Interface EntryStreamOffsets
- All Known Implementing Classes:
JarArchiveEntry,TarArchiveEntry,ZipArchiveEntry
public interface EntryStreamOffsets
Provides information about ArchiveEntry stream offsets.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longSpecial value indicating that the offset is unknown. -
Method Summary
Modifier and TypeMethodDescriptionlongGets the offset of data stream within the archive file,booleanIndicates whether the stream is contiguous, i.e.
-
Field Details
-
OFFSET_UNKNOWN
Special value indicating that the offset is unknown.- See Also:
-
-
Method Details
-
getDataOffset
long getDataOffset()Gets the offset of data stream within the archive file,- Returns:
- the offset of entry data stream,
OFFSET_UNKNOWNif not known.
-
isStreamContiguous
boolean isStreamContiguous()Indicates whether the stream is contiguous, i.e. not split among several archive parts, interspersed with control blocks, etc.- Returns:
- true if stream is contiguous, false otherwise.
-