Package groovy.toml
Class TomlSlurper
java.lang.Object
groovy.toml.TomlSlurper
Represents a TOML parser
- Since:
- 4.0.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
TomlSlurperpublic TomlSlurper()
 
- 
- 
Method Details- 
parseTextParse 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
 
- 
parseParse 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
 
- 
parseParse 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
 
- 
parseParse 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
 
- 
parseParse 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
 
 
-