Top Description Methods
org.apache.pdfbox.jbig2

public Interface Dictionary

extends SegmentData
Known Direct Implementers
org.apache.pdfbox.jbig2.segments.PatternDictionary, org.apache.pdfbox.jbig2.segments.SymbolDictionary
Imports
java.io.IOException, java.util.ArrayList, org.apache.pdfbox.jbig2.err.IntegerMaxValueException, .InvalidHeaderValueException

Interface for all JBIG2 dictionaries segments.

Method Summary

Modifier and TypeMethod and Description
public ArrayList<Bitmap>

Returns:

A list of Bitmaps as a result of the decoding process of dictionary segments.
getDictionary
()

Decodes a dictionary segment and returns the result.

Inherited from org.apache.pdfbox.jbig2.SegmentData:
init

Method Detail

getDictionaryback to summary
public ArrayList<Bitmap> getDictionary() throws IOException, InvalidHeaderValueException, IntegerMaxValueException

Decodes a dictionary segment and returns the result.

Returns:ArrayList<Bitmap>

A list of Bitmaps as a result of the decoding process of dictionary segments.

Exceptions
IOException:
if an underlying IO operation fails
InvalidHeaderValueException:
if the segment header value is invalid
IntegerMaxValueException:
if the maximum value limit of an integer is exceeded