Interface EntryStreamOffsets
- All Known Implementing Classes:
JarArchiveEntry
,TarArchiveEntry
,ZipArchiveEntry
public interface EntryStreamOffsets
Provides information about ArchiveEntry stream offsets.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
Indicates that the offset is unknown. -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the offset of data stream within the archive file,boolean
Tests whether the stream is contiguous, that is, not split among several archive parts, interspersed with control blocks, and so on.
-
Field Details
-
OFFSET_UNKNOWN
Indicates 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_UNKNOWN
if not known.
-
isStreamContiguous
boolean isStreamContiguous()Tests whether the stream is contiguous, that is, not split among several archive parts, interspersed with control blocks, and so on.- Returns:
- true if stream is contiguous, false otherwise.
-