Package org.apache.pdfbox.encoding
Class DictionaryEncoding
java.lang.Object
org.apache.pdfbox.encoding.Encoding
org.apache.pdfbox.encoding.DictionaryEncoding
- All Implemented Interfaces:
COSObjectable
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 -
Method Summary
Modifier and TypeMethodDescriptionConvert 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 Details
-
DictionaryEncoding
Constructor.- Parameters:
fontEncoding
- The encoding dictionary.- Throws:
IOException
- If there is a problem getting the base font.
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Returns:
- The cos object that matches this Java object.
-