Class PaddingPolicy
java.lang.Object
io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
Determines the amount of space characters to insert
within TOML elements
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PaddingPolicyNo paddingstatic final PaddingPolicyDo not pad table headers; pad inline tables, arrays and their elements by 1 -
Method Summary
Modifier and TypeMethodDescription@org.jetbrains.annotations.Range(from=0L, to=255L) intstatic @NotNull PaddingPolicy.Builderbuilder()@org.jetbrains.annotations.Range(from=0L, to=255L) intbooleaninthashCode()@org.jetbrains.annotations.Range(from=0L, to=255L) int@org.jetbrains.annotations.Range(from=0L, to=255L) int@NotNull StringtoString()
-
Field Details
-
NONE
No padding -
STANDARD
Do not pad table headers; pad inline tables, arrays and their elements by 1
-
-
Method Details
-
builder
-
tablePadding
public @org.jetbrains.annotations.Range(from=0L, to=255L) int tablePadding() -
inlineTablePadding
public @org.jetbrains.annotations.Range(from=0L, to=255L) int inlineTablePadding() -
arrayPadding
public @org.jetbrains.annotations.Range(from=0L, to=255L) int arrayPadding() -
elementPadding
public @org.jetbrains.annotations.Range(from=0L, to=255L) int elementPadding() -
hashCode
public int hashCode() -
equals
-
toString
-