Class IndentationPolicy.Builder

java.lang.Object
io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
Enclosing class:
IndentationPolicy

public static final class IndentationPolicy.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • indentChar

      @Contract("_ -> this") @NotNull public @NotNull IndentationPolicy.Builder indentChar(@MagicConstant(intValues={32L,9L}) char indentChar)
    • globalIndent

      @Contract("_ -> this") @NotNull public @NotNull IndentationPolicy.Builder globalIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent)
    • constantIndent

      @Contract("_ -> this") @NotNull public @NotNull IndentationPolicy.Builder constantIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent)
    • variableIndent

      @Contract("_ -> this") @NotNull public @NotNull IndentationPolicy.Builder variableIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent)
    • postIndent

      @Contract("_ -> this") @NotNull public @NotNull IndentationPolicy.Builder postIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent)
    • scale

      @Contract("_ -> this") @NotNull public @NotNull IndentationPolicy.Builder scale(int amount)
    • build

      @Contract("-> new") @NotNull public @NotNull IndentationPolicy build()