|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fontbox.cmap.CMapParser
public class CMapParser
This will parser a CMap stream.
| Constructor Summary | |
|---|---|
CMapParser()
Creates a new instance of CMapParser. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
A simple class to test parsing of cmap files. |
CMap |
parse(java.io.File file)
Parse a CMAP file on the file system. |
CMap |
parse(java.lang.String resourceRoot,
java.io.InputStream input)
This will parse the stream and create a cmap object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMapParser()
| Method Detail |
|---|
public CMap parse(java.io.File file)
throws java.io.IOException
file - The file to parse.
java.io.IOException - If there is an issue while parsing the CMAP.
public CMap parse(java.lang.String resourceRoot,
java.io.InputStream input)
throws java.io.IOException
resourceRoot - The root path to the cmap file. This will be used
to find referenced cmap files. It can be null.input - The CMAP stream to parse.
java.io.IOException - If there is an error parsing the stream.
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - Some command line arguments.
java.lang.Exception - If there is an error parsing the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||