org.apache.pdfbox.encoding
Class MacRomanEncoding
java.lang.Object
org.apache.pdfbox.encoding.Encoding
org.apache.pdfbox.encoding.MacRomanEncoding
- All Implemented Interfaces:
- COSObjectable
public class MacRomanEncoding
- extends Encoding
This is an interface to a text encoder.
- Version:
- $Revision: 1.10 $
- Author:
- Ben Litchfield
Method Summary |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
String |
getName(int code)
This will take a character code and get the name from the code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final MacRomanEncoding INSTANCE
- Singleton instance of this class.
- Since:
- Apache PDFBox 1.3.0
MacRomanEncoding
public MacRomanEncoding()
- Constructor.
getName
public String getName(int code)
throws IOException
- Description copied from class:
Encoding
- This will take a character code and get the name from the code.
- Overrides:
getName
in class Encoding
- Parameters:
code
- The character code.
- Returns:
- The name of the character.
- Throws:
IOException
- If there is no name for the code.
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.