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