public class JSONConfigReader extends Object
| Constructor and Description |
|---|
JSONConfigReader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getJsonConfig(Object o) |
static <T> T |
readConfig(File input,
Class<T> targetClass) |
static <T> T |
readConfig(InputStream input,
Class<T> targetClass) |
public static <T> T readConfig(File input, Class<T> targetClass) throws IOException
IOExceptionpublic static <T> T readConfig(InputStream input, Class<T> targetClass) throws IOException
IOExceptionCopyright © 2017. All rights reserved.