public Toml read ( String tomlString ) throws IllegalStateException { Results results = TomlParser . run ( tomlString ) ; if ( results . errors . hasErrors ( ) ) { throw new IllegalStateException ( results . errors . toString ( ) ) ; } this . values = results . consume ( ) ; return this ; }
Populates the current Toml instance with values from tomlString .