public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertBytesToHex(byte[] value)
Convert a byte array to a hex encoded string.
|
static byte[] |
convertHexToBytes(String s)
Convert a hex encoded string to a byte array.
|
public static String convertBytesToHex(byte[] value)
value - the byte arraypublic static byte[] convertHexToBytes(String s)
s - the hex encoded stringCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.