Class SpacingPolicy
java.lang.Object
io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
Determines how newlines should be inserted to separate
TOML elements
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpacingPolicyNo spacingstatic final SpacingPolicyPut 1 newline before each table -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull SpacingPolicy.Builderbuilder()booleaninthashCode()@org.jetbrains.annotations.Range(from=0L, to=255L) int@org.jetbrains.annotations.Range(from=0L, to=255L) int@org.jetbrains.annotations.Range(from=0L, to=255L) int@org.jetbrains.annotations.Range(from=0L, to=255L) intpreTable()@NotNull StringtoString()
-
Field Details
-
NONE
No spacing -
STANDARD
Put 1 newline before each table
-
-
Method Details
-
builder
-
preTable
public @org.jetbrains.annotations.Range(from=0L, to=255L) int preTable() -
postTable
public @org.jetbrains.annotations.Range(from=0L, to=255L) int postTable() -
preStatement
public @org.jetbrains.annotations.Range(from=0L, to=255L) int preStatement() -
postStatement
public @org.jetbrains.annotations.Range(from=0L, to=255L) int postStatement() -
hashCode
public int hashCode() -
equals
-
toString
-