Package org.apache.pdfbox.encoding
Class DictionaryEncoding
- java.lang.Object
-
- org.apache.pdfbox.encoding.Encoding
-
- 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
Constructors Constructor Description DictionaryEncoding(COSDictionary fontEncoding)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSBase
getCOSObject()
Convert this standard java object to a COS object.-
Methods inherited from class org.apache.pdfbox.encoding.Encoding
addCharacterEncoding, getCharacter, getCharacter, getCharacterForName, getCode, getCodeToNameMap, getName, getNameFromCharacter, getNameToCodeMap, hasCodeForName, hasNameForCode
-
-
-
-
Constructor Detail
-
DictionaryEncoding
public DictionaryEncoding(COSDictionary fontEncoding) throws java.io.IOException
Constructor.- Parameters:
fontEncoding
- The encoding dictionary.- Throws:
java.io.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.
-
-