| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | PDFObjectStreamParser(COSStream
The stream to parse. stream, COSDocument The document for the current parsing. document)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public Map | Returns: a map containing all parsed objects using the object number as keyParse all compressed objects. |
| public COSBase | Returns: the parsed object or null if the object with the given number can't be foundthe number of the object to b e parsed objectNumber)Search for/parse the object with the given object number. |
| private Map | |
| private Map | |
| public Map | Returns: a map off all object numbers and the corresponding offset within the object stream.Read all object numbers from the compressed object stream. |
| firstObject | back to summary |
|---|---|
| private final int firstObject | |
| numberOfObjects | back to summary |
|---|---|
| private final int numberOfObjects | |
| PDFObjectStreamParser | back to summary |
|---|---|
| public PDFObjectStreamParser(COSStream stream, COSDocument document) throws IOException Constructor.
| |
| parseAllObjects | back to summary |
|---|---|
| public Map Parse all compressed objects. The stream is closed after parsing.
| |
| parseObject | back to summary |
|---|---|
| public COSBase parseObject(long objectNumber) throws IOException Search for/parse the object with the given object number. The stream is closed after parsing the object with the given number.
| |
| privateReadObjectNumbers | back to summary |
|---|---|
| private Map | |
| privateReadObjectOffsets | back to summary |
|---|---|
| private Map | |
| readObjectNumbers | back to summary |
|---|---|
| public Map Read all object numbers from the compressed object stream. The stream is closed after reading the object numbers.
| |