FileConfigurationOptionspublic class MemoryConfigurationOptions extends ConfigurationOptions
MemoryConfiguration| Modifier | Constructor | Description |
|---|---|---|
protected |
MemoryConfigurationOptions(@NotNull MemoryConfiguration configuration) |
| Modifier and Type | Method | Description |
|---|---|---|
@NotNull MemoryConfiguration |
configuration() |
Returns the
Configuration that this object is responsible for. |
@NotNull MemoryConfigurationOptions |
copyDefaults(boolean value) |
Sets if the
Configuration should copy values from its default
Configuration directly. |
@NotNull MemoryConfigurationOptions |
pathSeparator(char value) |
Sets the char that will be used to separate
ConfigurationSections |
copyDefaults, pathSeparatorprotected MemoryConfigurationOptions(@NotNull
@NotNull MemoryConfiguration configuration)
@NotNull public @NotNull MemoryConfiguration configuration()
ConfigurationOptionsConfiguration that this object is responsible for.configuration in class ConfigurationOptions@NotNull public @NotNull MemoryConfigurationOptions copyDefaults(boolean value)
ConfigurationOptionsConfiguration 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(java.lang.String) will always
return the same value as ConfigurationSection.isSet(java.lang.String). The default value is
false.
copyDefaults in class ConfigurationOptionsvalue - Whether or not defaults are directly copied@NotNull public @NotNull MemoryConfigurationOptions pathSeparator(char value)
ConfigurationOptionsConfigurationSections
This value does not affect how the Configuration is stored,
only in how you access the data. The default value is '.'.
pathSeparator in class ConfigurationOptionsvalue - Path separatorCopyright © 2020. All rights reserved.