org.basex.fs
Class Help

java.lang.Object
  extended by org.basex.fs.FSCmd
      extended by org.basex.fs.Help

public final class Help
extends FSCmd

Performs a help command.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen

Constructor Summary
Help()
           
 
Method Summary
 void args(java.lang.String args)
          Checks the command line arguments.
 void exec(PrintOutput out)
          Executes the command..
static java.lang.String help(java.lang.String cmd)
          Returns the help as string.
 
Methods inherited from class org.basex.fs.FSCmd
context, get
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Help

public Help()
Method Detail

args

public void args(java.lang.String args)
Description copied from class: FSCmd
Checks the command line arguments.

Specified by:
args in class FSCmd
Parameters:
args - command line arguments

exec

public void exec(PrintOutput out)
          throws java.io.IOException
Description copied from class: FSCmd
Executes the command..

Specified by:
exec in class FSCmd
Parameters:
out - output stream
Throws:
java.io.IOException - in case of problems with the PrintOutput

help

public static java.lang.String help(java.lang.String cmd)
Returns the help as string.

Parameters:
cmd - command
Returns:
help string