org.pdfbox.encoding

Class DictionaryEncoding

Implemented Interfaces:
COSObjectable

public class DictionaryEncoding
extends Encoding

This will perform the encoding from a dictionary.
Version:
$Revision: 1.13 $
Author:
Ben Litchfield

Field Summary

Fields inherited from class org.pdfbox.encoding.Encoding

codeToName, nameToCode

Constructor Summary

DictionaryEncoding(COSDictionary fontEncoding)
Constructor.

Method Summary

COSBase
getCOSObject()
Convert this standard java object to a COS object.

Methods inherited from class org.pdfbox.encoding.Encoding

addCharacterEncoding, getCharacter, getCharacter, getCode, getName, getNameFromCharacter

Constructor Details

DictionaryEncoding

public DictionaryEncoding(COSDictionary fontEncoding)
            throws IOException
Constructor.
Parameters:
fontEncoding - The encoding dictionary.

Method Details

getCOSObject

public COSBase getCOSObject()
Convert this standard java object to a COS object.
Specified by:
getCOSObject in interface COSObjectable
Returns:
The cos object that matches this Java object.