Package org.apache.pdfbox.jbig2
Class JBIG2Globals
- java.lang.Object
-
- org.apache.pdfbox.jbig2.JBIG2Globals
-
public class JBIG2Globals extends java.lang.Object
This class stores segments, that aren't associated to a page. If the data is embedded in another format, for example PDF, this segments might be stored separately in the file. This segments will be decoded on demand and all results are stored in the document object and can be retrieved from there.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,SegmentHeader>
globalSegments
This map contains all segments, that are not associated with a page.
-
Constructor Summary
Constructors Constructor Description JBIG2Globals()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addSegment(java.lang.Integer segmentNumber, SegmentHeader segment)
protected SegmentHeader
getSegment(int segmentNr)
-
-
-
Field Detail
-
globalSegments
private java.util.Map<java.lang.Integer,SegmentHeader> globalSegments
This map contains all segments, that are not associated with a page. The key is the segment number.
-
-
Method Detail
-
getSegment
protected SegmentHeader getSegment(int segmentNr)
-
addSegment
protected void addSegment(java.lang.Integer segmentNumber, SegmentHeader segment)
-
-