|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.core.AbstractProcess
org.basex.core.proc.Proc
public abstract class Proc
This class provides the architecture for all internal command implementations. It evaluates queries that are sent by the GUI, the client or the standalone version.
| Field Summary |
|---|
| Fields inherited from class org.basex.core.AbstractProcess |
|---|
cmd |
| Constructor Summary | |
|---|---|
Proc()
|
|
| Method Summary | |
|---|---|
java.lang.String |
det()
Returns detailed information on this progress. |
boolean |
execute()
Processes a command. |
static boolean |
execute(Commands comm,
java.lang.String... arg)
Executes the specified command. |
static Proc |
get(Commands comm,
java.lang.String... arg)
Returns a process instance of the specified command. |
java.lang.String |
head()
Returns short information on this process. |
java.lang.String |
info()
Returns the query information as a string. |
void |
info(PrintOutput out)
Returns process info. |
java.lang.String |
output()
Returns all data generated during the last call of process in a single string. |
void |
output(PrintOutput out)
Processes a command. |
double |
prog()
Returns progress information. |
Result |
result()
Returns the result set, generated by the last query. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.core.Progress |
|---|
detail, header, progress, progress, stop, stopped |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Proc()
| Method Detail |
|---|
public final java.lang.String det()
Progress
public final boolean execute()
AbstractProcess
execute in class AbstractProcess
public static boolean execute(Commands comm,
java.lang.String... arg)
comm - command to be executedarg - arguments
public static Proc get(Commands comm,
java.lang.String... arg)
comm - command to be executedarg - arguments
public final java.lang.String head()
Progress
public final java.lang.String info()
public final void info(PrintOutput out)
throws java.io.IOException
AbstractProcess
info in class AbstractProcessout - output stream
java.io.IOException - I/O exceptionpublic final java.lang.String output()
process in a single string.
Only recommended for short results.
public final void output(PrintOutput out)
throws java.io.IOException
AbstractProcess
output in class AbstractProcessout - output stream
java.io.IOException - I/O exceptionpublic final double prog()
Progress
public final Result result()
public final java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||