static fun parse(input: String!): TomlParseResult!
(source)
Parse a TOML string.
input
- String!: The input to parse.
Return
TomlParseResult!: The parse result.
static fun parse(input: String!, version: TomlVersion!): TomlParseResult!
(source)
Parse a TOML string.
input
- String!: The input to parse.
version
- TomlVersion!: The version level to parse at.
Return
TomlParseResult!: The parse result.
static fun parse(file: Path!): TomlParseResult!
(source)
Parse a TOML file.
file
- Path!: The input file to parse.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.
static fun parse(file: Path!, version: TomlVersion!): TomlParseResult!
(source)
Parse a TOML file.
file
- Path!: The input file to parse.
version
- TomlVersion!: The version level to parse at.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.
static fun parse(is: InputStream!): TomlParseResult!
(source)
Parse a TOML input stream.
is
- InputStream!: The input stream to read the TOML document from.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.
static fun parse(is: InputStream!, version: TomlVersion!): TomlParseResult!
(source)
Parse a TOML input stream.
is
- InputStream!: The input stream to read the TOML document from.
version
- TomlVersion!: The version level to parse at.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.
static fun parse(reader: Reader!): TomlParseResult!
(source)
Parse a TOML reader.
reader
- Reader!: The reader to obtain the TOML document from.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.
static fun parse(reader: Reader!, version: TomlVersion!): TomlParseResult!
(source)
Parse a TOML input stream.
reader
- Reader!: The reader to obtain the TOML document from.
version
- TomlVersion!: The version level to parse at.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.
static fun parse(channel: ReadableByteChannel!): TomlParseResult!
(source)
Parse a TOML reader.
channel
- ReadableByteChannel!: The channel to read the TOML document from.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.
static fun parse(channel: ReadableByteChannel!, version: TomlVersion!): TomlParseResult!
(source)
Parse a TOML input stream.
channel
- ReadableByteChannel!: The channel to read the TOML document from.
version
- TomlVersion!: The version level to parse at.
IOException
- If an IO error occurs.
Return
TomlParseResult!: The parse result.