Class ConfigurationCreator
java.lang.Object
de.simonsator.partyandfriends.utilities.ConfigurationCreator
- Direct Known Subclasses:
ConfigLoader,LanguageConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.md_5.bungee.config.Configurationprotected final File -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConfigurationCreator(File file) Deprecated.protectedConfigurationCreator(File file, PAFExtension pPlugin) protectedConfigurationCreator(File file, PAFPluginBase pPlugin) protectedConfigurationCreator(File file, PAFPluginBase pPlugin, boolean supportHexColors) protectedConfigurationCreator(File file, net.md_5.bungee.api.plugin.Plugin pPlugin) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleancopyFromJar(String pFileNameInJar) booleangetBoolean(String pIdentifier) net.md_5.bungee.config.ConfigurationintlonggetSectionKeys(String pIdentifier) getStringList(String pIdentifier) protected voidoverwriteKeyTemp(String pKey, Object pText) protected voidprocess()protected voidprocess(net.md_5.bungee.config.Configuration pMessagesYML) protected voidreadFile()voidDeprecated.protected voidsaveFile()protected voidprotected void
-
Field Details
-
FILE
-
configuration
protected net.md_5.bungee.config.Configuration configuration
-
-
Constructor Details
-
ConfigurationCreator
Deprecated. -
ConfigurationCreator
-
ConfigurationCreator
-
ConfigurationCreator
Deprecated. -
ConfigurationCreator
-
-
Method Details
-
process
protected void process() -
readFile
- Throws:
IOException
-
reloadConfiguration
Deprecated.- Throws:
IOException
-
getCreatedConfiguration
public net.md_5.bungee.config.Configuration getCreatedConfiguration() -
set
-
overwriteKeyTemp
-
set
-
saveFile
- Throws:
IOException
-
process
protected void process(net.md_5.bungee.config.Configuration pMessagesYML) -
copyFromJar
- Throws:
IOException
-
copyFromJar
- Throws:
IOException
-
getString
-
getInt
-
getLong
-
getBoolean
-
getStringList
-
get
-
getSectionKeys
-