public class WinAnsiEncoding extends Encoding
Modifier and Type | Field and Description |
---|---|
static WinAnsiEncoding |
INSTANCE
Singleton instance of this class.
|
codeToName, nameToCode, NOTDEF
Constructor and Description |
---|
WinAnsiEncoding()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addCharacterEncoding, getCharacter, getCharacter, getCode, getCodeToNameMap, getNameFromCharacter, getNameToCodeMap
public static final WinAnsiEncoding INSTANCE
public String getName(int code) throws IOException
Encoding
getName
in class Encoding
code
- The character code.IOException
- If there is no name for the code.public COSBase getCOSObject()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.