public class ConfigurationSerializer<T> extends Object
| Constructor and Description |
|---|
ConfigurationSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Properties |
getAsProperties(T object) |
<T> String |
getAsString(T object,
boolean includeNulls) |
static <T> T |
getFromString(String json,
Class<T> typeParameterClass,
boolean includeNulls) |
FSAConfiguration |
load(String fileInput) |
boolean |
save(T object,
String fileOutput,
boolean includeNulls) |
boolean |
saveYaml(T object,
String fileOutput) |
public FSAConfiguration load(String fileInput) throws IOException
IOExceptionpublic <T> String getAsString(T object, boolean includeNulls)
public static <T> Properties getAsProperties(T object)
Copyright © 2014–2020 Checkmarx. All rights reserved.