com.itextpdf.text.pdf.fonts.cmaps
Class CMapParser

java.lang.Object
  extended by com.itextpdf.text.pdf.fonts.cmaps.CMapParser

public class CMapParser
extends Object

This will parser a CMap stream.

Since:
2.1.4

Constructor Summary
CMapParser()
          Creates a new instance of CMapParser.
 
Method Summary
 CMap parse(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

CMapParser

public CMapParser()
Creates a new instance of CMapParser.

Method Detail

parse

public CMap parse(InputStream input)
           throws 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:
IOException - If there is an error parsing the stream.