Top Description Fields Constructors Methods
org.apache.pdfbox.jbig2.segments

public Class EndOfStripe

extends Object
implements SegmentData
Class Inheritance
All Implemented Interfaces
org.apache.pdfbox.jbig2.SegmentData
Imports
java.io.IOException, org.apache.pdfbox.jbig2.SegmentData, .SegmentHeader, org.apache.pdfbox.jbig2.err.IntegerMaxValueException, .InvalidHeaderValueException, org.apache.pdfbox.jbig2.io.SubInputStream

This segment flags an end of stripe (see JBIG2 ISO standard, 7.4.9).

Field Summary

Modifier and TypeField and Description
private int
private SubInputStream

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public void
init(SegmentHeader
- The segments' header (to make referred-to segments available in data part).
header
,
SubInputStream
- Wrapped ImageInputStream into SubInputStream.
sis
)

Implements org.apache.pdfbox.jbig2.SegmentData.init.

Parse the stream and read information of header.

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lineNumberback to summary
private int lineNumber
subInputStreamback to summary
private SubInputStream subInputStream

Constructor Detail

EndOfStripeback to summary
public EndOfStripe()

Method Detail

getLineNumberback to summary
public int getLineNumber()
initback to summary
public void init(SegmentHeader header, SubInputStream sis) throws IntegerMaxValueException, InvalidHeaderValueException, IOException

Implements org.apache.pdfbox.jbig2.SegmentData.init.

Doc from org.apache.pdfbox.jbig2.SegmentData.init.

Parse the stream and read information of header.

Parameters
header:SegmentHeader

- The segments' header (to make referred-to segments available in data part).

sis:SubInputStream

- Wrapped ImageInputStream into SubInputStream.

Exceptions
IntegerMaxValueException:
if the maximum value limit of an integer is exceeded
InvalidHeaderValueException:
if the segment header value is invalid
IOException:
if an underlying IO operation fails
parseHeaderback to summary
private void parseHeader() throws IOException, IntegerMaxValueException, InvalidHeaderValueException