public class CodePointUtilities
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int[] |
charsToCodepoint(java.lang.String text) |
static java.lang.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(java.lang.String text)
public static java.lang.String codepointToChars(int[] text)