org.basex.fs
Class Ls

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

public final class Ls
extends FSCmd

Performs a ls command.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Hannes Schwarz - Hannes.Schwarz@gmail.com

Field Summary
 java.text.SimpleDateFormat date
          Slider width.
 
Constructor Summary
Ls()
          Default constructor.
Ls(java.lang.String opt)
          Constructor, specifying default options.
 
Method Summary
 void args(java.lang.String args)
          Checks the command line arguments.
 void exec(PrintOutput out)
          Executes the command..
 
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
 

Field Detail

date

public final java.text.SimpleDateFormat date
Slider width.

Constructor Detail

Ls

public Ls()
Default constructor.


Ls

public Ls(java.lang.String opt)
Constructor, specifying default options.

Parameters:
opt - options
Method Detail

args

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

Specified by:
args in class FSCmd
Parameters:
args - command line arguments
Throws:
FSException - file system exception

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