Package de.thelooter.toml
Class TomlWriter.Builder
- java.lang.Object
-
- de.thelooter.toml.TomlWriter.Builder
-
- Enclosing class:
- TomlWriter
public static class TomlWriter.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TomlWriterbuild()TomlWriter.BuilderindentTablesBy(int spaces)TomlWriter.BuilderindentValuesBy(int spaces)TomlWriter.BuilderpadArrayDelimitersBy(int spaces)TomlWriter.BuildershowFractionalSeconds()TomlWriter.BuildertimeZone(java.util.TimeZone timeZone)
-
-
-
Method Detail
-
indentValuesBy
public TomlWriter.Builder indentValuesBy(int spaces)
-
indentTablesBy
public TomlWriter.Builder indentTablesBy(int spaces)
-
timeZone
public TomlWriter.Builder timeZone(java.util.TimeZone timeZone)
-
padArrayDelimitersBy
public TomlWriter.Builder padArrayDelimitersBy(int spaces)
- 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
public TomlWriter build()
-
showFractionalSeconds
public TomlWriter.Builder showFractionalSeconds()
-
-