|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.build.Parser
org.basex.build.DirParser
public final class DirParser
This class recursively scans files and directories and parses all relevant files.
| Field Summary |
|---|
| Fields inherited from class org.basex.build.Parser |
|---|
src |
| Fields inherited from class org.basex.core.Progress |
|---|
listen, updating |
| Constructor Summary | |
|---|---|
DirParser(IO source,
Prop pr,
IOFile path)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the parser. |
java.lang.String |
det()
Returns short information on this process. |
java.lang.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). |
| Methods inherited from class org.basex.build.Parser |
|---|
emptyParser, item, singleParser, target, xmlParser |
| Methods inherited from class org.basex.core.Progress |
|---|
checkStop, detail, listen, progress, startTimeout, stop, stopTimeout, title |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirParser(IO source,
Prop pr,
IOFile path)
source - source pathpr - database propertiespath - future database path| Method Detail |
|---|
public void parse(Builder build)
throws java.io.IOException
Parser
parse in class Parserbuild - database builder
java.io.IOException - I/O exceptionpublic java.lang.String info()
Parser
info in class Parserpublic java.lang.String det()
Progress
public double prog()
Progress
public void close()
throws java.io.IOException
Parser
close in class Parserjava.io.IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||