Package org.tomlj
Class TomlSerializer
java.lang.Object
org.tomlj.TomlSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
append
(Appendable appendable, int indent, String line) private static void
appendTomlValue
(Object value, Appendable appendable, int indent, String path) private static void
indentLine
(Appendable appendable, int indent) private static boolean
isTableArray
(TomlArray array) (package private) static void
toToml
(TomlArray array, Appendable appendable) private static void
toToml
(TomlArray array, Appendable appendable, int indent, String path) (package private) static void
toToml
(TomlTable table, Appendable appendable) private static void
toToml
(TomlTable table, Appendable appendable, int indent, String path)
-
Constructor Details
-
TomlSerializer
private TomlSerializer()
-
-
Method Details
-
toToml
- Throws:
IOException
-
toToml
private static void toToml(TomlTable table, Appendable appendable, int indent, String path) throws IOException - Throws:
IOException
-
toToml
- Throws:
IOException
-
toToml
private static void toToml(TomlArray array, Appendable appendable, int indent, String path) throws IOException - Throws:
IOException
-
appendTomlValue
private static void appendTomlValue(Object value, Appendable appendable, int indent, String path) throws IOException - Throws:
IOException
-
append
- Throws:
IOException
-
indentLine
- Throws:
IOException
-
isTableArray
-