Class ConfigurationCreator
- java.lang.Object
-
- de.simonsator.partyandfriends.utilities.ConfigurationCreator
-
- Direct Known Subclasses:
LanguageConfiguration
public abstract class ConfigurationCreator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected net.md_5.bungee.config.Configuration
configuration
protected java.io.File
FILE
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConfigurationCreator(java.io.File file)
Deprecated.protected
ConfigurationCreator(java.io.File file, net.md_5.bungee.api.plugin.Plugin pPlugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
copyFromJar()
net.md_5.bungee.config.Configuration
getCreatedConfiguration()
protected void
process(net.md_5.bungee.config.Configuration pMessagesYML)
protected void
readFile()
void
reloadConfiguration()
Deprecated.protected void
saveFile()
protected void
set(java.lang.String pKey, java.lang.Object pText)
protected void
set(java.lang.String pKey, java.lang.String... entries)
-
-
-
Method Detail
-
readFile
protected void readFile() throws java.io.IOException
- Throws:
java.io.IOException
-
reloadConfiguration
@Deprecated public void reloadConfiguration() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getCreatedConfiguration
public net.md_5.bungee.config.Configuration getCreatedConfiguration()
-
set
protected void set(java.lang.String pKey, java.lang.Object pText)
-
set
protected void set(java.lang.String pKey, java.lang.String... entries)
-
saveFile
protected void saveFile() throws java.io.IOException
- Throws:
java.io.IOException
-
process
protected void process(net.md_5.bungee.config.Configuration pMessagesYML)
-
copyFromJar
protected boolean copyFromJar() throws java.io.IOException
- Throws:
java.io.IOException
-
-