Package org.apache.pdfbox.jbig2
Interface Dictionary
-
- All Superinterfaces:
SegmentData
- All Known Implementing Classes:
PatternDictionary
,SymbolDictionary
public interface Dictionary extends SegmentData
Interface for all JBIG2 dictionaries segments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.ArrayList<Bitmap>
getDictionary()
Decodes a dictionary segment and returns the result.-
Methods inherited from interface org.apache.pdfbox.jbig2.SegmentData
init
-
-
-
-
Method Detail
-
getDictionary
java.util.ArrayList<Bitmap> getDictionary() throws java.io.IOException, InvalidHeaderValueException, IntegerMaxValueException
Decodes a dictionary segment and returns the result.- Returns:
- A list of
Bitmap
s as a result of the decoding process of dictionary segments. - Throws:
java.io.IOException
- if an underlying IO operation failsInvalidHeaderValueException
- if the segment header value is invalidIntegerMaxValueException
- if the maximum value limit of an integer is exceeded
-
-