Package org.tomlj
Class TomlSerializer
- java.lang.Object
-
- org.tomlj.TomlSerializer
-
final class TomlSerializer extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTomlSerializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static voidappend(java.lang.Appendable appendable, int indent, java.lang.String line)private static voidappendTomlValue(java.lang.Object value, java.lang.Appendable appendable, int indent, java.lang.String path)private static voidindentLine(java.lang.Appendable appendable, int indent)private static booleanisTableArray(TomlArray array)(package private) static voidtoToml(TomlArray array, java.lang.Appendable appendable)private static voidtoToml(TomlArray array, java.lang.Appendable appendable, int indent, java.lang.String path)(package private) static voidtoToml(TomlTable table, java.lang.Appendable appendable)private static voidtoToml(TomlTable table, java.lang.Appendable appendable, int indent, java.lang.String path)
-
-
-
Method Detail
-
toToml
static void toToml(TomlTable table, java.lang.Appendable appendable) throws java.io.IOException
- Throws:
java.io.IOException
-
toToml
private static void toToml(TomlTable table, java.lang.Appendable appendable, int indent, java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
toToml
static void toToml(TomlArray array, java.lang.Appendable appendable) throws java.io.IOException
- Throws:
java.io.IOException
-
toToml
private static void toToml(TomlArray array, java.lang.Appendable appendable, int indent, java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
appendTomlValue
private static void appendTomlValue(java.lang.Object value, java.lang.Appendable appendable, int indent, java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
append
private static void append(java.lang.Appendable appendable, int indent, java.lang.String line) throws java.io.IOException- Throws:
java.io.IOException
-
indentLine
private static void indentLine(java.lang.Appendable appendable, int indent) throws java.io.IOException- Throws:
java.io.IOException
-
isTableArray
private static boolean isTableArray(TomlArray array)
-
-