Class UnicodeRepresentation

  • All Implemented Interfaces:
    Representation

    public class UnicodeRepresentation
    extends StandardRepresentation
    Unicode object representation instead of standard java representation.
    • Constructor Detail

      • UnicodeRepresentation

        public UnicodeRepresentation()
    • Method Detail

      • toStringOf

        public java.lang.String toStringOf​(java.lang.Object object)
        Returns hexadecimal the toString representation of the given String or Character.
        Specified by:
        toStringOf in interface Representation
        Overrides:
        toStringOf in class StandardRepresentation
        Parameters:
        object - the given object.
        Returns:
        the toString representation of the given object.
      • escapeUnicode

        private static java.lang.String escapeUnicode​(java.lang.String input)