public class MemoryConfigurationOptions extends ConfigurationOptions
MemoryConfiguration.
Synchronized with the commit on 13-March-2019.
| Modifier | Constructor and Description |
|---|---|
protected |
MemoryConfigurationOptions(@NotNull MemoryConfiguration configuration)
Constructs a new set of
MemoryConfigurationOptions. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull MemoryConfiguration |
configuration()
Deprecated.
|
@NotNull MemoryConfigurationOptions |
copyDefaults(boolean copyDefaults)
Deprecated.
|
@NotNull MemoryConfiguration |
getConfiguration()
Gets the
Configuration that this ConfigurationOptions
controls. |
@NotNull MemoryConfigurationOptions |
pathSeparator(char pathSeparator)
Deprecated.
|
@NotNull MemoryConfigurationOptions |
setCopyDefaults(boolean copyDefaults)
Sets if the
Configuration should copy values from its default
Configuration directly. |
@NotNull MemoryConfigurationOptions |
setPathSeparator(char pathSeparator)
Sets the
char that will be used to separate
ConfigurationSections. |
copyDefaults, getCopyDefaults, getPathSeparator, pathSeparatorprotected MemoryConfigurationOptions(@NotNull
@NotNull MemoryConfiguration configuration)
MemoryConfigurationOptions.configuration - The MemoryConfiguration to create the
MemoryConfigurationOptions for.ConfigurationOptions(Configuration)@NotNull public @NotNull MemoryConfiguration getConfiguration()
Configuration that this ConfigurationOptions
controls.getConfiguration in class ConfigurationOptionsConfiguration that this ConfigurationOptions
controls.@Deprecated @NotNull public @NotNull MemoryConfiguration configuration()
Please use ConfigurationOptions.getConfiguration() instead; it
provides the same functionality.
configuration in class ConfigurationOptionsConfiguration that this ConfigurationOptions
controls.ConfigurationOptions.getConfiguration()@NotNull public @NotNull MemoryConfigurationOptions setPathSeparator(char pathSeparator)
char that will be used to separate
ConfigurationSections.
This value does not affect how the Configuration is stored,
only in how you access the data.
The default value is ..
setPathSeparator in class ConfigurationOptionspathSeparator - The char used to separate
ConfigurationSections.ConfigurationOptions, for chaining.@Deprecated @NotNull public @NotNull MemoryConfigurationOptions pathSeparator(char pathSeparator)
Please use ConfigurationOptions.setPathSeparator(char) instead;
it provides the same functionality.
pathSeparator in class ConfigurationOptionspathSeparator - The char used to separate
ConfigurationSections.ConfigurationOptions, for chaining.ConfigurationOptions.setPathSeparator(char)@NotNull public @NotNull MemoryConfigurationOptions setCopyDefaults(boolean copyDefaults)
Configuration should copy values from its default
Configuration directly.
If this is true, all values in the default Configuration
will be directly copied, making it impossible to distinguish between
values that were set and values that are provided by default. As a
result, ConfigurationSection.contains(String) will always return
the same value as ConfigurationSection.isSet(String).
The default value is false.
setCopyDefaults in class ConfigurationOptionscopyDefaults - true if the default values should be copied,
false otherwise.ConfigurationOptions, for chaining.@Deprecated @NotNull public @NotNull MemoryConfigurationOptions copyDefaults(boolean copyDefaults)
Please use ConfigurationOptions.setCopyDefaults(boolean) instead;
it provides the same functionality.
copyDefaults in class ConfigurationOptionscopyDefaults - true if the default values should be copied,
false otherwise.ConfigurationOptions, for chaining.ConfigurationOptions.setCopyDefaults(boolean)Copyright © 2023 BSPF Systems, LLC. All rights reserved.