public static class YamlConfig.ReadConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
setClassLoader(ClassLoader classLoader)
Sets the class loader to use to find classes read from the YAML.
|
void |
setConstructorParameters(Class type,
Class[] parameterTypes,
String[] parameterNames)
Sets the names of the constructor parameters so classes without no-arg constructors can be instantiated.
|
void |
setDefaultVersion(Version defaultVersion)
Sets the default YAML version to expect if a YAML document does not explicitly specify a version.
|
public void setDefaultVersion(Version defaultVersion)
public void setClassLoader(ClassLoader classLoader)
public void setConstructorParameters(Class type, Class[] parameterTypes, String[] parameterNames)
Copyright © 2013. All Rights Reserved.