Class TomlConfigBuilder

    • Constructor Detail

      • TomlConfigBuilder

        public TomlConfigBuilder​(Path configPath)
        Constructs new file configuration builder with config Path.
        Parameters:
        configPath - The configuration file.
    • 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 TomlConfigBuilder indent​(int indent)
        Sets the indent of between parent and child element.
        Parameters:
        indent - indent of between parent and child element.
        Returns:
        This builder, for chaining.
      • buildConfig

        protected TomlConfig buildConfig()
        Specified by:
        buildConfig in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder<TomlConfig>