Liferay 7.0-ce-b4

com.liferay.portal.kernel.util
Class UnicodeFormatter

java.lang.Object
  extended by com.liferay.portal.kernel.util.UnicodeFormatter

public class UnicodeFormatter
extends Object


Field Summary
static String UNICODE_PREFIX
           
 
Constructor Summary
UnicodeFormatter()
           
 
Method Summary
static String bytesToHex(byte[] bytes)
           
static String byteToHex(byte b)
           
static char[] byteToHex(byte b, char[] hexes)
           
static char[] byteToHex(byte b, char[] hexes, boolean upperCase)
           
static String charToHex(char c)
           
static byte[] hexToBytes(String hexString)
           
static String parseString(String hexString)
           
static String toString(char[] array)
           
static String toString(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNICODE_PREFIX

public static final String UNICODE_PREFIX
See Also:
Constant Field Values
Constructor Detail

UnicodeFormatter

public UnicodeFormatter()
Method Detail

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)

Liferay 7.0-ce-b4