public class CodePointUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static int[] |
charsToCodepoint(String text) |
static String |
codepointToChars(int[] text) |
static boolean |
isValidCodePoint(int cp) |
static int |
toChars(int cp,
char[] buffer,
int offset)
Converts the given codepoint into the given character array.
|
public static boolean isValidCodePoint(int cp)
public static int toChars(int cp, char[] buffer, int offset)
cp
- buffer
- offset
- public static int[] charsToCodepoint(String text)
public static String codepointToChars(int[] text)