Class EndOfStripe
java.lang.Object
org.apache.pdfbox.jbig2.segments.EndOfStripe
- All Implemented Interfaces:
SegmentData
This segment flags an end of stripe (see JBIG2 ISO standard, 7.4.9).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidinit(SegmentHeader header, SubInputStream sis) Parse the stream and read information of header.private void
-
Field Details
-
subInputStream
-
lineNumber
private int lineNumber
-
-
Constructor Details
-
EndOfStripe
public EndOfStripe()
-
-
Method Details
-
parseHeader
private void parseHeader() throws IOException, IntegerMaxValueException, InvalidHeaderValueException -
init
public void init(SegmentHeader header, SubInputStream sis) throws IntegerMaxValueException, InvalidHeaderValueException, IOException Description copied from interface:SegmentDataParse the stream and read information of header.- Specified by:
initin interfaceSegmentData- Parameters:
header- - The segments' header (to make referred-to segments available in data part).sis- - WrappedImageInputStreamintoSubInputStream.- Throws:
IntegerMaxValueException- if the maximum value limit of an integer is exceededInvalidHeaderValueException- if the segment header value is invalidIOException- if an underlying IO operation fails
-
getLineNumber
public int getLineNumber()
-