Class TomlParser


  • public class TomlParser
    extends java.lang.Object
    Author:
    Jezza
    • Constructor Detail

      • TomlParser

        public TomlParser​(java.lang.String in)
      • TomlParser

        public TomlParser​(java.io.InputStream in)
      • TomlParser

        public TomlParser​(java.io.Reader in)
    • Method Detail

      • current

        protected final Token current()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • match

        protected final boolean match​(int type)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • is

        protected final boolean is​(int type)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • not

        protected final boolean not​(int type)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • consume

        protected final Token consume()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • consume

        protected final Token consume​(int type)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parse

        public final TomlTable parse()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parse

        public TomlTable parse​(TomlTable root)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • array

        protected TomlArray array()
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • inlineTable

        protected TomlTable inlineTable()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • key

        protected java.util.List<java.lang.String> key()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • value

        protected java.lang.Object value()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • intoLong

        protected static java.lang.Long intoLong​(Token token,
                                                 int offset,
                                                 int radix)
      • intoDouble

        protected static java.lang.Double intoDouble​(Token token)