public class CMapParser extends Object
| Constructor and Description |
|---|
CMapParser()
Creates a new instance of CMapParser.
|
CMapParser(boolean strictMode)
Creates a new instance of CMapParser.
|
| Modifier and Type | Method and Description |
|---|---|
CMap |
parse(org.apache.pdfbox.io.RandomAccessRead randomAcccessRead)
This will parse the stream and create a cmap object.
|
CMap |
parsePredefined(String name)
Parses a predefined CMap.
|
public CMapParser()
public CMapParser(boolean strictMode)
strictMode - activates the strict mode used for inline CMapspublic CMap parsePredefined(String name) throws IOException
name - CMap name.IOException - If the CMap could not be parsed.public CMap parse(org.apache.pdfbox.io.RandomAccessRead randomAcccessRead) throws IOException
randomAcccessRead - the source of the CMap to be parsed.IOException - If there is an error parsing the data.Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.