private static class UiUtils.EscapeConverter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static char |
A
Represents a range of hex digits from A to F
|
private static char |
F |
private static char |
NINE |
private static char |
ZERO
Represents a range of hex digits from ZERO to NINE
|
| Modifier | Constructor and Description |
|---|---|
private |
EscapeConverter() |
| Modifier and Type | Method and Description |
|---|---|
static int |
digit(char c)
Returns a decimal value of a hex digit
|
static byte |
toByte(int high,
int low)
Converts high and low values of an escaped char to its byte value
|
private static final char ZERO
private static final char NINE
private static final char A
private static final char F
public static int digit(char c)
c - A char that represents a hex digitpublic static byte toByte(int high,
int low)
high - The high value of an escaped charlow - The low value of an escaped char