Package groovy.toml
Class TomlSlurper
java.lang.Object
groovy.toml.TomlSlurper
Represents a TOML parser
- Since:
 - 4.0.0
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionParse the content of the specified file into a tree of Nodes.parse(InputStream stream) Parse the content of the specified reader into a tree of Nodes.Parse the content of the specified reader into a tree of Nodes.Parse the content of the specified path into a tree of Nodes.Parse the content of the specified toml into a tree of Nodes. 
- 
Constructor Details
- 
TomlSlurper
public TomlSlurper() 
 - 
 - 
Method Details
- 
parseText
Parse the content of the specified toml into a tree of Nodes.- Parameters:
 toml- the content of toml- Returns:
 - the root node of the parsed tree of Nodes
 
 - 
parse
Parse the content of the specified reader into a tree of Nodes.- Parameters:
 reader- the reader of toml- Returns:
 - the root node of the parsed tree of Nodes
 
 - 
parse
Parse the content of the specified reader into a tree of Nodes.- Parameters:
 stream- the reader of toml- Returns:
 - the root node of the parsed tree of Nodes
 
 - 
parse
Parse the content of the specified file into a tree of Nodes.- Parameters:
 file- the reader of toml- Returns:
 - the root node of the parsed tree of Nodes
 - Throws:
 IOException
 - 
parse
Parse the content of the specified path into a tree of Nodes.- Parameters:
 path- the reader of toml- Returns:
 - the root node of the parsed tree of Nodes
 - Throws:
 IOException
 
 -