Class StringOutputUtil
java.lang.Object
com.fasterxml.jackson.dataformat.toml.StringOutputUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
private static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int
categorize
(char[] text, int offset, int len) (package private) static int
categorize
(int c) (package private) static int
categorize
(String s) (package private) static String
getBasicStringEscape
(char c) Get the basic string escape sequence for a character, ornull
if the character does not need to be escaped.
-
Field Details
-
UNQUOTED_KEY
public static final int UNQUOTED_KEY- See Also:
-
LITERAL_STRING
public static final int LITERAL_STRING- See Also:
-
BASIC_STRING
public static final int BASIC_STRING- See Also:
-
BASIC_STRING_NO_ESCAPE
public static final int BASIC_STRING_NO_ESCAPE- See Also:
-
ASCII_ONLY
public static final int ASCII_ONLY- See Also:
-
EMPTY_STRING_CATS
private static final int EMPTY_STRING_CATS- See Also:
-
MASK_SIMPLE_KEY
public static final int MASK_SIMPLE_KEY- See Also:
-
MASK_STRING
public static final int MASK_STRING- See Also:
-
-
Constructor Details
-
StringOutputUtil
StringOutputUtil()
-
-
Method Details
-
categorize
-
categorize
static int categorize(char[] text, int offset, int len) -
categorize
static int categorize(int c) -
getBasicStringEscape
Get the basic string escape sequence for a character, ornull
if the character does not need to be escaped.
-