Class TomlConfigOptions


  • public class TomlConfigOptions
    extends xyz.tozymc.configuration.file.option.FileConfigOptions
    Various options for TomlConfig.
    Since:
    1.0
    • Constructor Detail

      • TomlConfigOptions

        public TomlConfigOptions​(@NotNull
                                 @NotNull xyz.tozymc.configuration.file.FileConfig config)
        Creates new TomlConfigOptions for TomlConfig.
        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:
        config in class xyz.tozymc.configuration.file.option.FileConfigOptions