public interface SingleByteEncoding
Modifier and Type | Field and Description |
---|---|
static char |
NOT_FOUND_CODE_POINT
Code point that is used if no code point for a specific character has been found.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getCharNameMap()
Returns the array of character names for this encoding.
|
String |
getName()
Returns the encoding's name.
|
char[] |
getUnicodeCharMap()
Returns a character array with Unicode scalar values which can be used to map encoding
code points to Unicode values.
|
char |
mapChar(char c)
Maps a Unicode character to a code point in the encoding.
|
static final char NOT_FOUND_CODE_POINT
String getName()
char mapChar(char c)
c
- the Unicode character to mapString[] getCharNameMap()
char[] getUnicodeCharMap()
Copyright © 2022 Apache Software Foundation. All rights reserved.