public class YamlToObjectConverter extends Object
Modifier and Type | Class and Description |
---|---|
class |
YamlToObjectConverter.MyYamlConstructor |
Constructor and Description |
---|
YamlToObjectConverter() |
Modifier and Type | Method and Description |
---|---|
<T> T |
convert(byte[] fileContents,
Class<T> className) |
<T> T |
convert(String fullFileName,
Class<T> className) |
<T> T |
convert(String dirPath,
Class<T> className,
String configFileName) |
boolean |
isValidYaml(byte[] fileContents) |
public <T> T convert(byte[] fileContents, Class<T> className)
public boolean isValidYaml(byte[] fileContents)
Copyright © 2017. All rights reserved.