Class ConfigurationOptions
- Direct Known Subclasses:
- MemoryConfigurationOptions
Configuration- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns theConfigurationthat this object is responsible for.booleanChecks if theConfigurationshould copy values from its defaultConfigurationdirectly.copyDefaults(boolean value) Sets if theConfigurationshould copy values from its defaultConfigurationdirectly.charGets the char that will be used to separateConfigurationSectionspathSeparator(char value) Sets the char that will be used to separateConfigurationSections
- 
Constructor Details- 
ConfigurationOptions
 
- 
- 
Method Details- 
configurationReturns theConfigurationthat this object is responsible for.- Returns:
- Parent configuration
 
- 
pathSeparatorpublic char pathSeparator()Gets the char that will be used to separateConfigurationSectionsThis value does not affect how the Configurationis stored, only in how you access the data. The default value is '.'.- Returns:
- Path separator
 
- 
pathSeparatorSets the char that will be used to separateConfigurationSectionsThis value does not affect how the Configurationis stored, only in how you access the data. The default value is '.'.- Parameters:
- value- Path separator
- Returns:
- This object, for chaining
 
- 
copyDefaultspublic boolean copyDefaults()Checks if theConfigurationshould copy values from its defaultConfigurationdirectly.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 asConfigurationSection.isSet(java.lang.String). The default value is false.- Returns:
- Whether or not defaults are directly copied
 
- 
copyDefaultsSets if theConfigurationshould copy values from its defaultConfigurationdirectly.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 asConfigurationSection.isSet(java.lang.String). The default value is false.- Parameters:
- value- Whether or not defaults are directly copied
- Returns:
- This object, for chaining
 
 
-