public class UnicodeRepresentation extends StandardRepresentation
Modifier and Type | Field and Description |
---|---|
static UnicodeRepresentation |
UNICODE_REPRESENTATION |
ELEMENT_SEPARATOR, ELEMENT_SEPARATOR_WITH_NEWLINE, INDENTATION_AFTER_NEWLINE, INDENTATION_FOR_SINGLE_LINE, STANDARD_REPRESENTATION
Constructor and Description |
---|
UnicodeRepresentation() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
escapeUnicode(java.lang.String input) |
protected java.lang.String |
toStringOf(java.lang.Character string) |
java.lang.String |
toStringOf(java.lang.Object object)
Returns hexadecimal the
toString representation of the given String or Character. |
protected java.lang.String |
toStringOf(java.lang.String string) |
customFormat, format, format, formatArray, formatPrimitiveArray, getMaxLengthForSingleLineDescription, hasCustomFormatterFor, multiLineFormat, multiLineFormat, registerFormatterForType, removeAllRegisteredFormatters, resetDefaults, setMaxElementsForPrinting, setMaxLengthForSingleLineDescription, singleLineFormat, singleLineFormat, smartFormat, smartFormat, toString, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, unambiguousToStringOf
public static final UnicodeRepresentation UNICODE_REPRESENTATION
public java.lang.String toStringOf(java.lang.Object object)
toString
representation of the given String or Character.toStringOf
in interface Representation
toStringOf
in class StandardRepresentation
object
- the given object.toString
representation of the given object.protected java.lang.String toStringOf(java.lang.Character string)
toStringOf
in class StandardRepresentation
protected java.lang.String toStringOf(java.lang.String string)
toStringOf
in class StandardRepresentation
private static java.lang.String escapeUnicode(java.lang.String input)