Package org.tomlj

Class TomlSerializer


  • final class TomlSerializer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TomlSerializer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void append​(java.lang.Appendable appendable, int indent, java.lang.String line)  
      private static void appendTomlValue​(java.lang.Object value, java.lang.Appendable appendable, int indent, java.lang.String path)  
      private static void indentLine​(java.lang.Appendable appendable, int indent)  
      private static boolean isTableArray​(TomlArray array)  
      (package private) static void toToml​(TomlArray array, java.lang.Appendable appendable)  
      private static void toToml​(TomlArray array, java.lang.Appendable appendable, int indent, java.lang.String path)  
      (package private) static void toToml​(TomlTable table, java.lang.Appendable appendable)  
      private static void toToml​(TomlTable table, java.lang.Appendable appendable, int indent, java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TomlSerializer

        private TomlSerializer()
    • 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)