- java.lang.Object
-
- com.itextpdf.text.pdf.fonts.cmaps.CMapParser
-
public class CMapParser extends java.lang.ObjectThis will parser a CMap stream.- Since:
- 2.1.4
- Version:
- $Revision: 4065 $
- Author:
- Ben Litchfield
-
-
Constructor Summary
Constructors Constructor Description CMapParser()Creates a new instance of CMapParser.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)A simple class to test parsing of cmap files.CMapparse(java.io.InputStream input)This will parse the stream and create a cmap object.
-
-
-
Method Detail
-
parse
public CMap parse(java.io.InputStream input) throws java.io.IOException
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:
java.io.IOException- If there is an error parsing the stream.
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionA simple class to test parsing of cmap files.- Parameters:
args- Some command line arguments.- Throws:
java.lang.Exception- If there is an error parsing the file.
-
-