YamlConfigurationOptions

Various settings for controlling the input and output of getClassById

Functions

Link copied to clipboard
Returns the Configuration that this object is responsible for.
Link copied to clipboard
public boolean copyDefaults()
Checks if the Configuration should copy values from its default Configuration directly.
public ConfigurationOptions copyDefaults(boolean value)
public YamlConfigurationOptions copyDefaults(boolean value)
Sets if the Configuration should copy values from its default Configuration directly.
Link copied to clipboard
public boolean copyHeader()
Gets whether or not the header should be copied from getClassById default source.
public YamlConfigurationOptions copyHeader(boolean value)
Sets whether or not the header should be copied from getClassById default source.
Link copied to clipboard
public String header()
Gets the header that will be applied to the top of the saved output.
Sets the header that will be applied to the top of the saved output.
Link copied to clipboard
public int indent()
Gets how much spaces should be used to indent each line.
public YamlConfigurationOptions indent(int value)
Sets how much spaces should be used to indent each line.
Link copied to clipboard
public char pathSeparator()
Gets the char that will be used to separate s This value does not affect how the Configuration is stored, only in how you access the data.
public ConfigurationOptions pathSeparator(char value)
Sets the char that will be used to separate s This value does not affect how the Configuration is stored, only in how you access the data.