public class ConfigFactory
extends java.lang.Object
| Constructor and Description |
|---|
ConfigFactory() |
ConfigFactory(ThreadResources threadResources) |
| Modifier and Type | Method and Description |
|---|---|
Config |
fromInputStream(java.io.InputStream instream) |
Config |
fromString(java.lang.String strConfig) |
Config |
fromYaml(java.io.File file)
Create an instance out of the given file.
|
public ConfigFactory()
public ConfigFactory(ThreadResources threadResources)
public Config fromYaml(java.io.File file) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic Config fromInputStream(java.io.InputStream instream)
public Config fromString(java.lang.String strConfig)