Package | Description |
---|---|
org.simpleyaml.configuration | |
org.simpleyaml.configuration.file |
Modifier and Type | Field and Description |
---|---|
protected ConfigurationWrapper<T> |
ConfigurationWrapper.parent |
Modifier and Type | Method and Description |
---|---|
ConfigurationWrapper<T> |
ConfigurationWrapper.addDefault(Object value)
Sets the default value of this path.
|
ConfigurationWrapper<T> |
ConfigurationWrapper.addDefault(String child,
Object value)
Sets the default value of the provided child path.
|
protected ConfigurationWrapper<T> |
ConfigurationWrapper.apply(ConfigurationWrapper.ApplyToPath method) |
protected ConfigurationWrapper<T> |
ConfigurationWrapper.applyToChild(ConfigurationWrapper.ApplyToPath method,
String path) |
ConfigurationWrapper<T> |
ConfigurationWrapper.createSection()
Creates an empty
ConfigurationSection at this path. |
ConfigurationWrapper<T> |
ConfigurationWrapper.createSection(String child)
Creates an empty
ConfigurationSection at the provided child path. |
ConfigurationWrapper<T> |
ConfigurationWrapper.parent()
Returns to the parent.
|
ConfigurationWrapper<T> |
ConfigurationWrapper.path(String path)
Get a wrapper builder for the given child path.
|
protected ConfigurationWrapper<T> |
ConfigurationWrapper.set(ConfigurationWrapper.SetToPath method,
Object value) |
ConfigurationWrapper<T> |
ConfigurationWrapper.set(Object value)
Set the given value to this path.
|
ConfigurationWrapper<T> |
ConfigurationWrapper.setChild(String child,
Object value)
Set the given value to the provided child path.
|
protected ConfigurationWrapper<T> |
ConfigurationWrapper.setToChild(ConfigurationWrapper.SetToPath method,
String child,
Object value) |
Constructor and Description |
---|
ConfigurationWrapper(T configuration,
String path,
ConfigurationWrapper<T> parent) |
Modifier and Type | Class and Description |
---|---|
class |
YamlFileWrapper
An alternative API to set values along with comments for a path.
|
Copyright © 2023. All rights reserved.