Package com.lowagie.text.pdf.fonts.cmaps
Class CMapParser
java.lang.Object
com.lowagie.text.pdf.fonts.cmaps.CMapParser
This will parser a CMap stream.
- Since:
- 2.1.4
- Version:
- $Revision: 3943 $
- Author:
- Ben Litchfield
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidA simple class to test parsing of cmap files.parse(InputStream input) This will parse the stream and create a cmap object.
-
Constructor Details
-
CMapParser
public CMapParser()Creates a new instance of CMapParser.
-
-
Method Details
-
parse
This will parse the stream and create a cmap object.- Parameters:
input- The CMAP stream to parse.- Returns:
- The parsed stream as a java object.
- Throws:
IOException- If there is an error parsing the stream.
-
main
A simple class to test parsing of cmap files.- Parameters:
args- Some command line arguments.- Throws:
Exception- If there is an error parsing the file.
-