- java.lang.Object
-
- xyz.tozymc.configuration.option.TcConfigOptions
-
- xyz.tozymc.configuration.file.option.FileConfigOptions
-
- xyz.tozymc.configuration.toml.option.TomlConfigOptions
-
public class TomlConfigOptions extends xyz.tozymc.configuration.file.option.FileConfigOptionsVarious options forTomlConfig.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description TomlConfigOptions(@NotNull xyz.tozymc.configuration.file.FileConfig config)Creates newTomlConfigOptionsforTomlConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TomlConfigconfig()intindent()Gets the indent of between parent and child element.TomlConfigOptionsindent(int indent)Sets the indent of between parent and child element.-
Methods inherited from class xyz.tozymc.configuration.file.option.FileConfigOptions
reloadType, reloadType
-
-
-
-
Constructor Detail
-
TomlConfigOptions
public TomlConfigOptions(@NotNull @NotNull xyz.tozymc.configuration.file.FileConfig config)
Creates newTomlConfigOptionsforTomlConfig.- Parameters:
config- Configuration that owned this options.
-
-
Method Detail
-
indent
public int indent()
Gets the indent of between parent and child element.- Returns:
- The indent of between parent and child element.
-
indent
public TomlConfigOptions indent(int indent)
Sets the indent of between parent and child element.- Parameters:
indent- indent of between parent and child element.- Returns:
- This object, for chaining.
-
config
@NotNull public @NotNull TomlConfig config()
- Overrides:
configin classxyz.tozymc.configuration.file.option.FileConfigOptions
-
-