| Package | Description |
|---|---|
| org.bspfsystems.yamlconfiguration.configuration | |
| org.bspfsystems.yamlconfiguration.serialization |
| Modifier and Type | Method and Description |
|---|---|
<T extends ConfigurationSerializable> |
ConfigurationSection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz)
Gets the requested
ConfigurationSerializable object at the given
path. |
<T extends ConfigurationSerializable> |
MemorySection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz) |
<T extends ConfigurationSerializable> |
ConfigurationSection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz,
T def)
Gets the requested
ConfigurationSerializable object at the given
path, returning a default value if not found
If the Object does not exist then the specified default value will
returned regardless of if a default has been identified in the root
Configuration. |
<T extends ConfigurationSerializable> |
MemorySection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz,
T def) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable ConfigurationSerializable |
ConfigurationSerialization.deserialize(@NotNull Map<String,?> args) |
static @Nullable ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(@NotNull Map<String,?> args)
Attempts to deserialize the given arguments into a new instance of the
given class.
|
static @Nullable ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(@NotNull Map<String,?> args,
@NotNull Class<? extends ConfigurationSerializable> clazz)
Attempts to deserialize the given arguments into a new instance of the
given class.
|
protected @Nullable ConfigurationSerializable |
ConfigurationSerialization.deserializeViaConstructor(@NotNull Constructor<? extends ConfigurationSerializable> constructor,
@NotNull Map<String,?> args) |
protected @Nullable ConfigurationSerializable |
ConfigurationSerialization.deserializeViaMethod(@NotNull Method method,
@NotNull Map<String,?> args) |
Copyright © 2020 BSPF Systems. All rights reserved.