Liferay 6.2-ce-ga5

com.liferay.portal.kernel.util
Class UnicodeFormatter

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

public class UnicodeFormatter
extends Object


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
 

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 6.2-ce-ga5