Class IndentationPolicy.Builder
java.lang.Object
io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
- Enclosing class:
- IndentationPolicy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull IndentationPolicybuild()@NotNull IndentationPolicy.BuilderconstantIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent) @NotNull IndentationPolicy.BuilderglobalIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent) @NotNull IndentationPolicy.BuilderindentChar(char indentChar) @NotNull IndentationPolicy.BuilderpostIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent) @NotNull IndentationPolicy.Builderscale(int amount) @NotNull IndentationPolicy.BuildervariableIndent(@org.jetbrains.annotations.Range(from=0L, to=255L) int indent)
-
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
-
build
-