org.basex.core
Class AbstractProcess
java.lang.Object
org.basex.core.Progress
org.basex.core.AbstractProcess
- Direct Known Subclasses:
- ClientProcess, Process
public abstract class AbstractProcess
- extends Progress
This class provides the architecture for local and client process
interpretation.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProcess
public AbstractProcess()
execute
public abstract boolean execute(Context ctx)
throws java.io.IOException
- Executes a command.
- Parameters:
ctx
- context reference
- Returns:
- success of operation
- Throws:
java.io.IOException
- I/O exception
output
public abstract void output(PrintOutput out)
throws java.io.IOException
- Serializes the textual results of a command.
- Parameters:
out
- output stream
- Throws:
java.io.IOException
- I/O exception
info
public abstract void info(PrintOutput out)
throws java.io.IOException
- Returns process info.
- Parameters:
out
- output stream
- Throws:
java.io.IOException
- I/O exception