Package com.aowagie.text.pdf.codec
Class JBIG2SegmentReader.JBIG2Page
- java.lang.Object
-
- com.aowagie.text.pdf.codec.JBIG2SegmentReader.JBIG2Page
-
- Enclosing class:
- JBIG2SegmentReader
public static class JBIG2SegmentReader.JBIG2Page extends java.lang.Object
Inner class that holds information about a JBIG2 page.- Since:
- 2.1.5
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
pageBitmapHeight
(package private) int
pageBitmapWidth
private java.util.SortedMap
segs
private JBIG2SegmentReader
sr
-
Constructor Summary
Constructors Modifier Constructor Description private
JBIG2Page(int page, JBIG2SegmentReader sr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addSegment(JBIG2SegmentReader.JBIG2Segment s)
byte[]
getData(boolean for_embedding)
return as a single byte array the header-data for each segment in segment number order, EMBEDDED organization, but i am putting the needed segments in SEQUENTIAL organization.
-
-
-
Field Detail
-
sr
private final JBIG2SegmentReader sr
-
segs
private final java.util.SortedMap segs
-
pageBitmapWidth
int pageBitmapWidth
-
pageBitmapHeight
int pageBitmapHeight
-
-
Constructor Detail
-
JBIG2Page
private JBIG2Page(int page, JBIG2SegmentReader sr)
-
-
Method Detail
-
getData
public byte[] getData(boolean for_embedding) throws java.io.IOException
return as a single byte array the header-data for each segment in segment number order, EMBEDDED organization, but i am putting the needed segments in SEQUENTIAL organization. if for_embedding, skip the segment types that are known to be not for acrobat.- Parameters:
for_embedding
-- Returns:
- a byte array
- Throws:
java.io.IOException
-
addSegment
private void addSegment(JBIG2SegmentReader.JBIG2Segment s)
-
-