public class MemoryConfiguration extends MemorySection implements Configuration
Modifier and Type | Field and Description |
---|---|
protected Configuration |
defaults |
protected MemoryConfigurationOptions |
options |
map
Constructor and Description |
---|
MemoryConfiguration() |
MemoryConfiguration(Configuration defaults) |
Modifier and Type | Method and Description |
---|---|
void |
addDefault(String path,
Object value) |
void |
addDefaults(Configuration defaults) |
void |
addDefaults(Map<String,Object> defaults) |
Configuration |
getDefaults() |
ConfigurationSection |
getParent() |
MemoryConfigurationOptions |
options() |
void |
setDefaults(Configuration defaults) |
contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getConfigurationSection, getCurrentPath, getDefault, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getRoot, getShortList, getString, getString, getStringList, getValues, isBoolean, isConfigurationSection, isDouble, isInt, isList, isLong, isPrimitiveWrapper, isSet, isString, mapChildrenKeys, mapChildrenValues, set, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getRoot, getShortList, getString, getString, getStringList, getValues, isBoolean, isConfigurationSection, isDouble, isInt, isList, isLong, isSet, isString, set
protected Configuration defaults
protected MemoryConfigurationOptions options
public MemoryConfiguration()
public MemoryConfiguration(Configuration defaults)
public void addDefault(String path, Object value)
addDefault
in interface Configuration
addDefault
in interface ConfigurationSection
addDefault
in class MemorySection
public void addDefaults(Map<String,Object> defaults)
addDefaults
in interface Configuration
public void addDefaults(Configuration defaults)
addDefaults
in interface Configuration
public void setDefaults(Configuration defaults)
setDefaults
in interface Configuration
public Configuration getDefaults()
getDefaults
in interface Configuration
public ConfigurationSection getParent()
getParent
in interface ConfigurationSection
getParent
in class MemorySection
public MemoryConfigurationOptions options()
options
in interface Configuration
Copyright © 2020. All rights reserved.