| Package | Description |
|---|---|
| org.bspfsystems.yamlconfiguration.configuration | |
| org.bspfsystems.yamlconfiguration.file |
| 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 Configuration |
MemoryConfiguration.defs |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Configuration |
ConfigurationOptions.configuration()
Returns the
Configuration that this object is responsible for. |
@Nullable Configuration |
MemoryConfiguration.getDefaults()
Gets the source
Configuration for this configuration. |
@Nullable Configuration |
Configuration.getDefaults()
Gets the source
Configuration for this configuration. |
@Nullable Configuration |
ConfigurationSection.getRoot()
Gets the root
Configuration that contains this ConfigurationSection |
@Nullable Configuration |
MemorySection.getRoot()
Gets the root
Configuration that contains this ConfigurationSection |
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryConfiguration.addDefaults(@NotNull Configuration defs)
Sets the default values of the given paths as provided.
|
void |
Configuration.addDefaults(@NotNull Configuration defs)
Sets the default values of the given paths as provided.
|
void |
MemoryConfiguration.setDefaults(@NotNull Configuration defs)
Sets the source of all default values for this
Configuration. |
void |
Configuration.setDefaults(@NotNull Configuration defs)
Sets the source of all default values for this
Configuration. |
| Constructor and Description |
|---|
ConfigurationOptions(@NotNull Configuration configuration)
Constructs a new set of
ConfigurationOptions. |
MemoryConfiguration(@Nullable Configuration defs)
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 all files in Yaml. |
| Constructor and Description |
|---|
FileConfiguration(@Nullable Configuration defs)
Creates an empty
FileConfiguration using the specified Configuration as a source for all default values. |
Copyright © 2021 BSPF Systems, LLC. All rights reserved.