AbstractCodePointMapping
, CodePointMapping
, SimpleSingleByteEncoding
public interface SingleByteEncoding
Modifier and Type | Field | 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 | Description |
---|---|---|
java.lang.String[] |
getCharNameMap() |
Returns the array of character names for this encoding.
|
java.lang.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
java.lang.String getName()
char mapChar(char c)
c
- the Unicode character to mapjava.lang.String[] getCharNameMap()
char[] getUnicodeCharMap()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.