public class StringUtils
extends java.lang.Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
convertBytesToHex(byte[] value)
Convert a byte array to a hex encoded string.
|
static byte[] |
convertHexToBytes(java.lang.String s)
Convert a hex encoded string to a byte array.
|
static int |
estimateMemoryUsage(java.lang.String s)
Estimates the memory usage of the given string.
|
public static java.lang.String convertBytesToHex(byte[] value)
value - the byte arraypublic static byte[] convertHexToBytes(java.lang.String s)
s - the hex encoded stringpublic static int estimateMemoryUsage(java.lang.String s)
s - the string to estimate."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"