|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Proc
org.basex.build.Parser
org.basex.build.SingleParser
org.basex.build.file.MAB2Parser
public final class MAB2Parser
This class parses files in the MAB2 format and sends events to the specified database builder.
Field Summary |
---|
Fields inherited from class org.basex.build.SingleParser |
---|
builder |
Fields inherited from class org.basex.build.Parser |
---|
atts, nsp, prop, src |
Fields inherited from class org.basex.core.Proc |
---|
listen, updating |
Constructor Summary | |
---|---|
MAB2Parser(IO source,
Prop pr)
Constructor. |
Method Summary | |
---|---|
void |
close()
Closes the parser. |
void |
parse()
Parses the current input. |
Methods inherited from class org.basex.build.SingleParser |
---|
builder, parse |
Methods inherited from class org.basex.build.Parser |
---|
emptyParser, info, singleParser, target, xmlParser |
Methods inherited from class org.basex.core.Proc |
---|
abort, checkStop, databases, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MAB2Parser(IO source, Prop pr) throws java.io.IOException
source
- source datapr
- database properties
java.io.IOException
- I/O exceptionMethod Detail |
---|
public void parse() throws java.io.IOException
SingleParser
parse
in class SingleParser
java.io.IOException
- I/O exceptionpublic void close() throws java.io.IOException
Parser
close
in class Parser
java.io.IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |