public final class CsvParser extends SingleParser
The parser provides some options, which can be specified via the
MainOptions.CSVPARSER
option.
builder
Constructor and Description |
---|
CsvParser(IO source,
MainOptions opts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
parse()
Parses the current input.
|
static IOContent |
toXML(IO io,
CsvParserOptions options)
Converts a JSON document to XML.
|
parse
close, emptyParser, info, singleParser, target, xmlParser
abort, checkStop, databases, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
public CsvParser(IO source, MainOptions opts)
source
- document sourceopts
- database optionsprotected void parse() throws IOException
SingleParser
parse
in class SingleParser
IOException
- I/O exceptionpublic static IOContent toXML(IO io, CsvParserOptions options) throws IOException
io
- inputoptions
- parser optionsIOException
- I/O exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.