org.apache.pdfbox.encoding
Class DictionaryEncoding

java.lang.Object
  extended by org.apache.pdfbox.encoding.Encoding
      extended by org.apache.pdfbox.encoding.DictionaryEncoding
All 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.apache.pdfbox.encoding.Encoding
codeToName, nameToCode, NOTDEF
 
Constructor Summary
DictionaryEncoding(COSDictionary fontEncoding)
          Constructor.
 
Method Summary
 COSBase getCOSObject()
          Convert this standard java object to a COS object.
 
Methods inherited from class org.apache.pdfbox.encoding.Encoding
addCharacterEncoding, getCharacter, getCharacter, getCode, getCodeToNameMap, getName, getNameFromCharacter, getNameToCodeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryEncoding

public DictionaryEncoding(COSDictionary fontEncoding)
                   throws IOException
Constructor.

Parameters:
fontEncoding - The encoding dictionary.
Throws:
IOException - If there is a problem getting the base font.
Method Detail

getCOSObject

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

Returns:
The cos object that matches this Java object.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.