public final class StringUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LINE_SEP |
static ThreadLocalRandom |
RANDOM
Random Generator
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
getBytesFromArraysToString(String bytesString)
Revert Arrays.toString for bytes
|
static String |
getClassName(Object object) |
static byte[] |
getRandom(int length) |
public static final ThreadLocalRandom RANDOM
public static final String LINE_SEP
public static byte[] getRandom(int length)
length
- the length of rraypublic static byte[] getBytesFromArraysToString(String bytesString)
bytesString
- the string to transformIllegalArgumentException
- if bytesString is null or emptyCopyright © 2009–2020 Waarp. All rights reserved.