public class SymbolDictionary extends Object implements Dictionary
| Constructor and Description |
|---|
SymbolDictionary() |
SymbolDictionary(SubInputStream subInputStream,
SegmentHeader segmentHeader) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Bitmap> |
getDictionary()
6.5.5 Decoding the symbol dictionary
|
void |
init(SegmentHeader header,
SubInputStream sis)
Parse the stream and read information of header.
|
protected CX cxIAID
public SymbolDictionary()
public SymbolDictionary(SubInputStream subInputStream, SegmentHeader segmentHeader) throws IOException
IOExceptionpublic ArrayList<Bitmap> getDictionary() throws IOException, IntegerMaxValueException, InvalidHeaderValueException
getDictionary in interface DictionaryArrayListIOException - if an underlying IO operation failsIntegerMaxValueException - if the maximum value limit of an integer is exceededInvalidHeaderValueException - if the segment header value is invalidpublic void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IntegerMaxValueException, IOException
SegmentDatainit in interface SegmentDataheader - - The segments' header (to make referred-to segments available in data part).sis - - Wrapped ImageInputStream into SubInputStream.InvalidHeaderValueException - if the segment header value is invalidIntegerMaxValueException - if the maximum value limit of an integer is exceededIOException - if an underlying IO operation failsCopyright © 2022 The Apache Software Foundation. All rights reserved.