org.fontbox.cmap

Class CMapParser


public class CMapParser
extends java.lang.Object

This will parser a CMap stream.
Version:
$Revision: 1.6 $
Author:
Ben Litchfield

Constructor Summary

CMapParser()
Creates a new instance of CMapParser.

Method Summary

static void
main(String[] args)
A simple class to test parsing of cmap files.
CMap
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

main

public static void main(String[] args)
            throws Exception
A simple class to test parsing of cmap files.
Parameters:
args - Some command line arguments.

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.