Interface EntryStreamOffsets
- 
- All Known Implementing Classes:
 JarArchiveEntry,TarArchiveEntry,ZipArchiveEntry
public interface EntryStreamOffsetsProvides information about ArchiveEntry stream offsets. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static longOFFSET_UNKNOWNIndicates that the offset is unknown. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetDataOffset()Gets the offset of data stream within the archive file,booleanisStreamContiguous()Tests whether the stream is contiguous, that is, not split among several archive parts, interspersed with control blocks, and so on. 
 - 
 
- 
- 
Field Detail
- 
OFFSET_UNKNOWN
static final long OFFSET_UNKNOWN
Indicates that the offset is unknown.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
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()
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.
 
 
 - 
 
 -