public final class DirParser extends Parser
Constructor and Description |
---|
DirParser(IO source,
MainOptions options)
Constructor.
|
DirParser(IO source,
MainOptions options,
IOFile path)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the parser.
|
String |
det()
Returns short information on this process.
|
String |
info()
Returns parser information.
|
void |
parse(Builder build)
Parses all nodes and sends events to the specified builder.
|
double |
prog()
Returns a progress value (0 - 1).
|
emptyParser, singleParser, target, xmlParser
abort, checkStop, databases, detail, listen, proc, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
public DirParser(IO source, MainOptions options)
source
- source pathoptions
- main optionspublic DirParser(IO source, MainOptions options, IOFile path)
source
- source pathoptions
- main optionspath
- future database pathpublic void parse(Builder build) throws IOException
Parser
parse
in class Parser
build
- database builderIOException
- I/O exceptionpublic String det()
Proc
public double prog()
Proc
public void close() throws IOException
Parser
close
in class Parser
IOException
- I/O exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.