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 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
-
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
-