Package com.liferay.portal.kernel.util
Class UnicodeFormatter
Object
com.liferay.portal.kernel.util.UnicodeFormatter
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbytesToHex(byte[] bytes) static StringbyteToHex(byte b) static char[]byteToHex(byte b, char[] hexes) static char[]byteToHex(byte b, char[] hexes, boolean upperCase) static StringcharToHex(char c) static byte[]hexToBytes(String hexString) static StringparseString(String hexString) static StringtoString(char[] array) static String
-
Field Details
-
UNICODE_PREFIX
- See Also:
-
-
Constructor Details
-
UnicodeFormatter
public UnicodeFormatter()
-
-
Method Details
-
bytesToHex
-
byteToHex
-
byteToHex
public static char[] byteToHex(byte b, char[] hexes) -
byteToHex
public static char[] byteToHex(byte b, char[] hexes, boolean upperCase) -
charToHex
-
hexToBytes
-
parseString
-
toString
-
toString
-