public abstract class ConfigurationProvider
extends java.lang.Object
Constructor and Description |
---|
ConfigurationProvider() |
Modifier and Type | Method and Description |
---|---|
static ConfigurationProvider |
getProvider(java.lang.Class<? extends ConfigurationProvider> provider) |
abstract Configuration |
load(java.io.File file) |
abstract Configuration |
load(java.io.File file,
Configuration defaults) |
abstract Configuration |
load(java.io.InputStream is) |
abstract Configuration |
load(java.io.InputStream is,
Configuration defaults) |
abstract Configuration |
load(java.io.Reader reader) |
abstract Configuration |
load(java.io.Reader reader,
Configuration defaults) |
abstract Configuration |
load(java.lang.String string) |
abstract Configuration |
load(java.lang.String string,
Configuration defaults) |
abstract void |
save(Configuration config,
java.io.File file) |
abstract void |
save(Configuration config,
java.io.Writer writer) |
public static ConfigurationProvider getProvider(java.lang.Class<? extends ConfigurationProvider> provider)
public abstract void save(Configuration config, java.io.File file) throws java.io.IOException
java.io.IOException
public abstract void save(Configuration config, java.io.Writer writer)
public abstract Configuration load(java.io.File file) throws java.io.IOException
java.io.IOException
public abstract Configuration load(java.io.File file, Configuration defaults) throws java.io.IOException
java.io.IOException
public abstract Configuration load(java.io.Reader reader)
public abstract Configuration load(java.io.Reader reader, Configuration defaults)
public abstract Configuration load(java.io.InputStream is)
public abstract Configuration load(java.io.InputStream is, Configuration defaults)
public abstract Configuration load(java.lang.String string)
public abstract Configuration load(java.lang.String string, Configuration defaults)