Class CommentedFileConfiguration
java.lang.Object
dev.esophose.playerparticles.config.CommentedConfigurationSection
dev.esophose.playerparticles.config.CommentedFileConfiguration
- All Implemented Interfaces:
org.bukkit.configuration.ConfigurationSection
public class CommentedFileConfiguration extends CommentedConfigurationSection
-
Field Summary
Fields inherited from class dev.esophose.playerparticles.config.CommentedConfigurationSection
config -
Constructor Summary
Constructors Constructor Description CommentedFileConfiguration(java.io.Reader configStream, java.io.File configFile, int comments, org.bukkit.plugin.java.JavaPlugin plugin) -
Method Summary
Modifier and Type Method Description voidaddComments(java.lang.String... comments)static CommentedFileConfigurationloadConfiguration(org.bukkit.plugin.java.JavaPlugin plugin, java.io.File file)voidreloadConfig()voidsave()voidsave(boolean compactLines)voidsave(java.io.File file)voidsave(java.io.File file, boolean compactLines)voidset(java.lang.String path, java.lang.Object value, java.lang.String... comments)Methods inherited from class dev.esophose.playerparticles.config.CommentedConfigurationSection
addDefault, contains, contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getComments, getConfigurationSection, getCurrentPath, getDefaultedBoolean, getDefaultedBoolean, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInlineComments, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLocation, getLocation, getLong, getLong, getLongList, getMapList, getName, getObject, getObject, getOfflinePlayer, getOfflinePlayer, getParent, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLocation, isLong, isOfflinePlayer, isSet, isString, isVector, set, setComments, setInlineComments
-
Constructor Details
-
CommentedFileConfiguration
public CommentedFileConfiguration(java.io.Reader configStream, java.io.File configFile, int comments, org.bukkit.plugin.java.JavaPlugin plugin)
-
-
Method Details
-
loadConfiguration
public static CommentedFileConfiguration loadConfiguration(org.bukkit.plugin.java.JavaPlugin plugin, java.io.File file) -
set
public void set(java.lang.String path, java.lang.Object value, java.lang.String... comments) -
addComments
public void addComments(java.lang.String... comments) -
reloadConfig
public void reloadConfig() -
save
public void save() -
save
public void save(boolean compactLines) -
save
public void save(java.io.File file) -
save
public void save(java.io.File file, boolean compactLines)
-