public class YamlConfiguration extends ConfigurationProvider
Constructor and Description |
---|
YamlConfiguration() |
Modifier and Type | Method and Description |
---|---|
Configuration |
load(java.io.File file) |
Configuration |
load(java.io.File file,
Configuration defaults) |
Configuration |
load(java.io.InputStream is) |
Configuration |
load(java.io.InputStream is,
Configuration defaults) |
Configuration |
load(java.io.Reader reader) |
Configuration |
load(java.io.Reader reader,
Configuration defaults) |
Configuration |
load(java.lang.String string) |
Configuration |
load(java.lang.String string,
Configuration defaults) |
void |
save(Configuration config,
java.io.File file) |
void |
save(Configuration config,
java.io.Writer writer) |
static Configuration |
saveDefaultConfig(org.bukkit.plugin.java.JavaPlugin plugin,
java.lang.String resourceName) |
getProvider
public void save(Configuration config, java.io.File file) throws java.io.IOException
save
in class ConfigurationProvider
java.io.IOException
public void save(Configuration config, java.io.Writer writer)
save
in class ConfigurationProvider
public Configuration load(java.io.File file) throws java.io.IOException
load
in class ConfigurationProvider
java.io.IOException
public Configuration load(java.io.File file, Configuration defaults) throws java.io.IOException
load
in class ConfigurationProvider
java.io.IOException
public Configuration load(java.io.Reader reader)
load
in class ConfigurationProvider
public Configuration load(java.io.Reader reader, Configuration defaults)
load
in class ConfigurationProvider
public Configuration load(java.io.InputStream is)
load
in class ConfigurationProvider
public Configuration load(java.io.InputStream is, Configuration defaults)
load
in class ConfigurationProvider
public Configuration load(java.lang.String string)
load
in class ConfigurationProvider
public Configuration load(java.lang.String string, Configuration defaults)
load
in class ConfigurationProvider
public static Configuration saveDefaultConfig(org.bukkit.plugin.java.JavaPlugin plugin, java.lang.String resourceName)