public final class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeOctets(String s) |
static String |
encodeOctets(byte[] a) |
static String |
encodeOctets(Optional<byte[]> a) |
static <T> T |
orElse(T value,
T defaultValue) |
static byte[] |
read(InputStream in) |
static String |
toString(Class<?> cls,
Object... items) |
public static String encodeOctets(byte[] a)
public static byte[] decodeOctets(String s)
public static <T> T orElse(T value,
T defaultValue)
public static byte[] read(InputStream in) throws IOException
IOExceptionCopyright © 2023. All rights reserved.