Class ConfigurationCreator
java.lang.Object
de.simonsator.partyandfriends.utilities.ConfigurationCreator
- Direct Known Subclasses:
ConfigLoader
,LanguageConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprotected net.md_5.bungee.config.Configuration
protected final File
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConfigurationCreator
(File file) Deprecated.protected
ConfigurationCreator
(File file, PAFExtension pPlugin) protected
ConfigurationCreator
(File file, PAFPluginBase pPlugin) protected
ConfigurationCreator
(File file, PAFPluginBase pPlugin, boolean supportHexColors) protected
ConfigurationCreator
(File file, net.md_5.bungee.api.plugin.Plugin pPlugin) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
copyFromJar
(String pFileNameInJar) boolean
getBoolean
(String pIdentifier) net.md_5.bungee.config.Configuration
int
long
getSectionKeys
(String pIdentifier) getStringList
(String pIdentifier) protected void
overwriteKeyTemp
(String pKey, Object pText) protected void
process()
protected void
process
(net.md_5.bungee.config.Configuration pMessagesYML) protected void
readFile()
void
Deprecated.protected void
saveFile()
protected void
protected 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
-