@Incubating public class TomlSlurper extends Object
Represents a TOML parser
| Constructor and description |
|---|
TomlSlurper() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
parse(Reader reader)Parse the content of the specified reader into a tree of Nodes. |
|
public Object |
parse(InputStream stream)Parse the content of the specified reader into a tree of Nodes. |
|
public Object |
parse(File file)Parse the content of the specified file into a tree of Nodes. |
|
public Object |
parse(Path path)Parse the content of the specified path into a tree of Nodes. |
|
public Object |
parseText(String toml)Parse the content of the specified toml into a tree of Nodes. |
Parse the content of the specified reader into a tree of Nodes.
reader - the reader of tomlParse the content of the specified reader into a tree of Nodes.
stream - the reader of tomlParse the content of the specified file into a tree of Nodes.
file - the reader of tomlParse the content of the specified path into a tree of Nodes.
path - the reader of tomlCopyright © 2003-2024 The Apache Software Foundation. All rights reserved.