|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.core.Progress
public abstract class Progress
This class is implemented by all kinds of processes.
It gives feedback on the current process. Moreover, it allows to
interrupt the process by calling the stop() method.
| Constructor Summary | |
|---|---|
Progress()
|
|
| Method Summary | |
|---|---|
java.lang.String |
detail()
Returns detailed information on the current process or sub process. |
java.lang.String |
header()
Returns short information on the current process or sub process. |
double |
progress()
Returns a progress value (0 - 1). |
void |
progress(Progress prog)
Sets a sub progress. |
void |
stop()
Stops a process or sub process. |
boolean |
stopped()
Returns the stop flag. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Progress()
| Method Detail |
|---|
public final java.lang.String detail()
public final java.lang.String header()
public final double progress()
public final void progress(Progress prog)
prog - progresspublic final void stop()
public final boolean stopped()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||