public class ConfigurationOptions extends Object
Configuration| Modifier | Constructor and Description | 
|---|---|
protected  | 
ConfigurationOptions(@NotNull Configuration configuration)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Configuration | 
configuration()
Returns the  
Configuration that this object is responsible for. | 
boolean | 
copyDefaults()
Checks if the  
Configuration should copy values from its default
 Configuration directly. | 
@NotNull ConfigurationOptions | 
copyDefaults(boolean value)
Sets if the  
Configuration should copy values from its default
 Configuration directly. | 
char | 
pathSeparator()
Gets the char that will be used to separate  
ConfigurationSections | 
@NotNull ConfigurationOptions | 
pathSeparator(char value)
Sets the char that will be used to separate  
ConfigurationSections | 
protected ConfigurationOptions(@NotNull
                               @NotNull Configuration configuration)
@NotNull public @NotNull 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 @NotNull 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 @NotNull 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 © 2021. All rights reserved.