Package | Description |
---|---|
org.simpleyaml.configuration | |
org.simpleyaml.configuration.file |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationWrapper<T extends Configuration> |
Modifier and Type | Class and Description |
---|---|
class |
MemoryConfiguration
This is a
Configuration implementation that does not save or load
from any source, and stores all values in memory only. |
Modifier and Type | Field and Description |
---|---|
protected T |
ConfigurationWrapper.configuration |
protected Configuration |
MemoryConfiguration.defaults |
Modifier and Type | Method and Description |
---|---|
Configuration |
ConfigurationOptions.configuration()
Returns the
Configuration that this object is responsible for. |
Configuration |
Configuration.getDefaults()
Gets the source
Configuration for this configuration. |
Configuration |
MemoryConfiguration.getDefaults() |
Configuration |
MemorySection.getRoot() |
Configuration |
ConfigurationSection.getRoot()
Gets the root
Configuration that contains this ConfigurationSection
For any Configuration themselves, this will return its own
object. |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.addDefaults(Configuration defaults)
Sets the default values of the given paths as provided.
|
void |
MemoryConfiguration.addDefaults(Configuration defaults) |
void |
Configuration.setDefaults(Configuration defaults)
Sets the source of all default values for this
Configuration . |
void |
MemoryConfiguration.setDefaults(Configuration defaults) |
Constructor and Description |
---|
ConfigurationOptions(Configuration configuration) |
MemoryConfiguration(Configuration defaults)
Creates an empty
MemoryConfiguration using the specified
Configuration as a source for all default values. |
Modifier and Type | Class and Description |
---|---|
class |
FileConfiguration
This is a base class for all File based implementations of
Configuration |
class |
YamlConfiguration
An implementation of
Configuration which saves the configuration in Yaml. |
class |
YamlFile
An extension of
YamlConfiguration which saves all data in Yaml to a configuration file
with the added possibility to save and manage comments. |
Constructor and Description |
---|
FileConfiguration(Configuration defaults)
Creates an empty
FileConfiguration using the specified
Configuration as a source for all default values. |
YamlConfiguration(Configuration defaults)
Creates an empty
YamlConfiguration using the specified
Configuration as a source for all default values. |
YamlConfiguration(Configuration defaults,
YamlImplementation yamlImplementation) |
Copyright © 2023. All rights reserved.