Class UnicodeFormatter

Object
com.liferay.portal.kernel.util.UnicodeFormatter

public class UnicodeFormatter extends Object
Author:
Brian Wing Shun Chan, Shuyang Zhou
  • Field Details

  • Constructor Details

    • UnicodeFormatter

      public UnicodeFormatter()
  • Method Details

    • bytesToHex

      public static String bytesToHex(byte[] bytes)
    • byteToHex

      public static String byteToHex(byte b)
    • byteToHex

      public static char[] byteToHex(byte b, char[] hexes)
    • byteToHex

      public static char[] byteToHex(byte b, char[] hexes, boolean upperCase)
    • charToHex

      public static String charToHex(char c)
    • hexToBytes

      public static byte[] hexToBytes(String hexString)
    • parseString

      public static String parseString(String hexString)
    • toString

      public static String toString(char[] array)
    • toString

      public static String toString(String s)