Class Toml


  • public final class Toml
    extends java.lang.Object
    Author:
    Jezza
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean NONSTANDARD_EXTENSIONS
      This feature flag hides all of the nonstandard extensions so anyone who uses this library in its default state can freely switch to another library without relying on some feature that we provide.
      static java.lang.String NONSTANDARD_EXTENSIONS_KEY  
    • Field Detail

      • NONSTANDARD_EXTENSIONS_KEY

        public static final java.lang.String NONSTANDARD_EXTENSIONS_KEY
        See Also:
        Constant Field Values
      • NONSTANDARD_EXTENSIONS

        public static final boolean NONSTANDARD_EXTENSIONS
        This feature flag hides all of the nonstandard extensions so anyone who uses this library in its default state can freely switch to another library without relying on some feature that we provide. (Yes, they'll still have to migrate classes, but they won't have to migrate data files.)

        If this is activated, then the developer has acknowledged the use of nonstandard features. (Technically, it's a VM flag, so it could be activated by another library, and the developer could have no knowledge of it... )

        Current Extensions:

        • Relative table paths: [.value] When specifying a table section, you can use a shorthand to append to previous table.
    • Method Detail

      • from

        public static TomlTable from​(java.io.InputStream input)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • from

        public static TomlTable from​(java.io.Reader input)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • into

        public static TomlTable into​(java.io.InputStream input,
                                     TomlTable table)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • into

        public static TomlTable into​(java.io.Reader input,
                                     TomlTable table)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • from

        public static TomlTable from​(java.io.Reader... inputs)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • fromReaders

        public static TomlTable fromReaders​(java.lang.Iterable<? extends java.io.Reader> it)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • from

        public static TomlTable from​(java.io.InputStream... inputs)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • fromInputStreams

        public static TomlTable fromInputStreams​(java.lang.Iterable<? extends java.io.InputStream> it)
                                          throws java.io.IOException
        Throws:
        java.io.IOException