| Package | Description |
|---|---|
| org.bspfsystems.yamlconfiguration.configuration | |
| org.bspfsystems.yamlconfiguration.file |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Configuration
Represents a source of configurable options and settings.
|
| 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. |
class |
MemorySection
A type of
ConfigurationSection that is stored in memory. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ConfigurationSection |
ConfigurationSection.createSection(@NotNull String path)
Creates an empty
ConfigurationSection at the specified path. |
@NotNull ConfigurationSection |
MemorySection.createSection(@NotNull String path)
Creates an empty
ConfigurationSection at the specified path. |
@NotNull ConfigurationSection |
ConfigurationSection.createSection(@NotNull String path,
@NotNull Map<?,?> map)
Creates a
ConfigurationSection at the specified path, with the
specified values. |
@NotNull ConfigurationSection |
MemorySection.createSection(@NotNull String path,
@NotNull Map<?,?> map)
Creates a
ConfigurationSection at the specified path, with the
specified values. |
@Nullable ConfigurationSection |
ConfigurationSection.getConfigurationSection(@NotNull String path)
Gets the
ConfigurationSection value at the given path. |
@Nullable ConfigurationSection |
MemorySection.getConfigurationSection(@NotNull String path)
Gets the
ConfigurationSection value at the given path. |
@Nullable ConfigurationSection |
ConfigurationSection.getDefaultSection()
|
@Nullable ConfigurationSection |
MemorySection.getDefaultSection()
|
@Nullable ConfigurationSection |
MemoryConfiguration.getParent()
Gets the parent
ConfigurationSection that directly contains
this ConfigurationSection. |
@Nullable ConfigurationSection |
ConfigurationSection.getParent()
Gets the parent
ConfigurationSection that directly contains
this ConfigurationSection. |
@Nullable ConfigurationSection |
MemorySection.getParent()
Gets the parent
ConfigurationSection that directly contains
this ConfigurationSection. |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull String |
MemorySection.createPath(@NotNull ConfigurationSection section,
@Nullable String key)
Creates a full path to the given
ConfigurationSection from its
root Configuration. |
static @NotNull String |
MemorySection.createPath(@NotNull ConfigurationSection section,
@Nullable String key,
@Nullable ConfigurationSection relative)
Creates a relative path to the given
ConfigurationSection from
the given relative ConfigurationSection. |
static @NotNull String |
MemorySection.createPath(@NotNull ConfigurationSection section,
@Nullable String key,
@Nullable ConfigurationSection relative)
Creates a relative path to the given
ConfigurationSection from
the given relative ConfigurationSection. |
protected void |
MemorySection.mapChildrenKeys(@NotNull Set<String> output,
@NotNull ConfigurationSection section,
boolean deep)
Maps the keys of the given child
ConfigurationSection. |
protected void |
MemorySection.mapChildrenValues(@NotNull Map<String,Object> output,
@NotNull ConfigurationSection section,
boolean deep)
Maps the key-value pairs of the given child
ConfigurationSection. |
| Modifier and Type | Class and Description |
|---|---|
class |
FileConfiguration
This is a base class for all
File-based implementations of
a MemoryConfiguration. |
class |
YamlConfiguration
An implementation of
Configuration which saves all files in
Yaml. |
Copyright © 2022 BSPF Systems, LLC. All rights reserved.