public final class CharConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static CharConstants |
ALPHA |
static Map<Character,Integer> |
ESCAPE_CODES
A mapping from a character to a number of bytes to read-ahead for that escape sequence.
|
static Map<Character,String> |
ESCAPE_REPLACEMENTS
A mapping from an escaped character in the input stream to the character that they should be
replaced with.
|
static CharConstants |
LINEBR |
static CharConstants |
NULL_BL_LINEBR |
static CharConstants |
NULL_BL_T |
static CharConstants |
NULL_BL_T_LINEBR |
static CharConstants |
NULL_OR_LINEBR |
static CharConstants |
URI_CHARS_FOR_TAG_PREFIX |
static CharConstants |
URI_CHARS_FOR_TAG_SUFFIX |
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeChar(String chRepresentation)
Replace a single character with its string representation
|
boolean |
has(int c) |
boolean |
has(int c,
String additional) |
boolean |
hasNo(int c) |
boolean |
hasNo(int c,
String additional) |
public static final CharConstants LINEBR
public static final CharConstants NULL_OR_LINEBR
public static final CharConstants NULL_BL_LINEBR
public static final CharConstants NULL_BL_T_LINEBR
public static final CharConstants NULL_BL_T
public static final CharConstants URI_CHARS_FOR_TAG_PREFIX
public static final CharConstants URI_CHARS_FOR_TAG_SUFFIX
public static final CharConstants ALPHA
public static final Map<Character,String> ESCAPE_REPLACEMENTS
YAML defines several common and a few uncommon escape sequences.
public static final Map<Character,Integer> ESCAPE_CODES
\xHH : escaped 8-bit Unicode character \uHHHH : escaped 16-bit Unicode character \UHHHHHHHH : escaped 32-bit Unicode character
Copyright © 2018–2022. All rights reserved.