public class Utf8CharacterMapping extends Object implements CharacterMapping, Serializable
| Constructor and Description |
|---|
Utf8CharacterMapping() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharsetSize() |
int |
getInitSize() |
int[] |
toIdList(int codePoint)
codes ported from iconv lib in utf8.h utf8_codepointtomb
|
int[] |
toIdList(String key) |
String |
toString(int[] ids) |
int |
zeroId() |
public static final Charset UTF_8
public int getInitSize()
getInitSize in interface CharacterMappingpublic int getCharsetSize()
getCharsetSize in interface CharacterMappingpublic int zeroId()
zeroId in interface CharacterMappingpublic int[] toIdList(String key)
toIdList in interface CharacterMappingpublic int[] toIdList(int codePoint)
toIdList in interface CharacterMappingpublic String toString(int[] ids)
toString in interface CharacterMappingCopyright © 2014–2021 码农场. All rights reserved.