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 SegmentDataInterface for all data parts of segments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(SegmentHeader header, SubInputStream sis)Parse the stream and read information of header.
-
-
-
Method Detail
-
init
void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IntegerMaxValueException, java.io.IOException
Parse the stream and read information of header.- Parameters:
header- - The segments' header (to make referred-to segments available in data part).sis- - WrappedImageInputStreamintoSubInputStream.- Throws:
InvalidHeaderValueException- if the segment header value is invalidIntegerMaxValueException- if the maximum value limit of an integer is exceededjava.io.IOException- if an underlying IO operation fails
-
-