public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeQuietly(Closeable closeable) |
static byte |
convertToByte(String value) |
static double |
convertToDouble(String value) |
static int |
convertToInteger(String value) |
static long |
convertToLong(String value) |
static int |
convertToNonNegativeInteger(String value) |
static String |
createRegexFromGlob(String glob) |
static <T> T |
deserializeObject(Slice data) |
static Slice |
serializeObject(Object o) |
public static void closeQuietly(Closeable closeable)
public static <T> T deserializeObject(Slice data)
public static long convertToLong(String value)
public static byte convertToByte(String value)
public static int convertToNonNegativeInteger(String value)
public static int convertToInteger(String value)
public static double convertToDouble(String value)
Copyright © 2019. All rights reserved.