Top Fields Constructors Methods
com.fasterxml.jackson.dataformat.toml

pack-priv Class StringOutputUtil

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
private static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static int
pack-priv static int
categorize(char[] text, int offset, int len)

pack-priv static int
categorize(int c)

pack-priv static String
getBasicStringEscape(char c)

Get the basic string escape sequence for a character, or null if the character does not need to be escaped.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ASCII_ONLYback to summary
public static final int ASCII_ONLY
BASIC_STRINGback to summary
public static final int BASIC_STRING
BASIC_STRING_NO_ESCAPEback to summary
public static final int BASIC_STRING_NO_ESCAPE
EMPTY_STRING_CATSback to summary
private static final int EMPTY_STRING_CATS
LITERAL_STRINGback to summary
public static final int LITERAL_STRING
MASK_SIMPLE_KEYback to summary
public static final int MASK_SIMPLE_KEY
MASK_STRINGback to summary
public static final int MASK_STRING
UNQUOTED_KEYback to summary
public static final int UNQUOTED_KEY

Constructor Detail

StringOutputUtilback to summary
pack-priv StringOutputUtil()

Method Detail

categorizeback to summary
pack-priv static int categorize(String s)
categorizeback to summary
pack-priv static int categorize(char[] text, int offset, int len)
categorizeback to summary
pack-priv static int categorize(int c)
getBasicStringEscapeback to summary
pack-priv static String getBasicStringEscape(char c)

Get the basic string escape sequence for a character, or null if the character does not need to be escaped.