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