Package net.md_5.bungee.config
Class ConfigurationProvider
java.lang.Object
net.md_5.bungee.config.ConfigurationProvider
- Direct Known Subclasses:
JsonConfiguration
,YamlConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationProvider
getProvider
(Class<? extends ConfigurationProvider> provider) abstract Configuration
abstract Configuration
load
(File file, Configuration defaults) abstract Configuration
load
(InputStream is) abstract Configuration
load
(InputStream is, Configuration defaults) abstract Configuration
abstract Configuration
load
(Reader reader, Configuration defaults) abstract Configuration
abstract Configuration
load
(String string, Configuration defaults) abstract void
save
(Configuration config, File file) abstract void
save
(Configuration config, Writer writer)
-
Constructor Details
-
ConfigurationProvider
public ConfigurationProvider()
-
-
Method Details
-
getProvider
-
save
- Throws:
IOException
-
save
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
load
-
load
-
load
-
load
-
load
-
load
-