org.basex.core.cmd
Class Run

java.lang.Object
  extended by org.basex.core.Proc
      extended by org.basex.core.Command
          extended by org.basex.core.cmd.Execute
              extended by org.basex.core.cmd.Run

public final class Run
extends Execute

Evaluates the 'run' command and processes an input file.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.core.cmd.Execute
error, list
 
Fields inherited from class org.basex.core.Command
args, context, in, mprop, out, perf, prop
 
Fields inherited from class org.basex.core.Proc
listen, updating
 
Constructor Summary
Run(java.lang.String fl)
          Default constructor.
 
Method Summary
protected  boolean init(Context ctx)
          Initializes the specified input.
 
Methods inherited from class org.basex.core.cmd.Execute
build, databases, init, newData, run, updating
 
Methods inherited from class org.basex.core.Command
close, databases, error, execute, execute, getOption, getOption, info, info, result, run, run, setInput, setInput, stoppable, supportsProg, toString, updated
 
Methods inherited from class org.basex.core.Proc
abort, checkStop, 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, wait, wait, wait
 

Constructor Detail

Run

public Run(java.lang.String fl)
Default constructor.

Parameters:
fl - input file
Method Detail

init

protected boolean init(Context ctx)
Initializes the specified input.

Overrides:
init in class Execute
Parameters:
ctx - database context
Returns:
success flag