Package com.moandjiezana.toml
Class TomlWriter.Builder
java.lang.Object
com.moandjiezana.toml.TomlWriter.Builder
- Enclosing class:
TomlWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate booleanprivate intprivate TimeZone -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()indentTablesBy(int spaces) indentValuesBy(int spaces) padArrayDelimitersBy(int spaces)
-
Field Details
-
keyIndentation
private int keyIndentation -
tableIndentation
private int tableIndentation -
arrayDelimiterPadding
private int arrayDelimiterPadding -
timeZone
-
showFractionalSeconds
private boolean showFractionalSeconds
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indentValuesBy
-
indentTablesBy
-
timeZone
-
padArrayDelimitersBy
- Parameters:
spaces- number of spaces to put between opening square bracket and first item and between closing square bracket and last item- Returns:
- this TomlWriter.Builder instance
-
build
-
showFractionalSeconds
-