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