Package org.apache.pdfbox.jbig2
Interface SegmentData
- All Known Subinterfaces:
Dictionary
,Region
- All Known Implementing Classes:
EndOfStripe
,GenericRefinementRegion
,GenericRegion
,HalftoneRegion
,PageInformation
,PatternDictionary
,Profiles
,RegionSegmentInformation
,SymbolDictionary
,Table
,TextRegion
public interface SegmentData
Interface for all data parts of segments.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(SegmentHeader header, SubInputStream sis) Parse the stream and read information of header.
-
Method Details
-
init
void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IntegerMaxValueException, IOException Parse the stream and read information of header.- Parameters:
header
- - The segments' header (to make referred-to segments available in data part).sis
- - WrappedImageInputStream
intoSubInputStream
.- Throws:
InvalidHeaderValueException
- if the segment header value is invalidIntegerMaxValueException
- if the maximum value limit of an integer is exceededIOException
- if an underlying IO operation fails
-