shell.app
Class ls

java.lang.Object
  |
  +--shell.Command
        |
        +--shell.ShellCommand
              |
              +--shell.app.ls
All Implemented Interfaces:
Executable, java.lang.Runnable, ShellExecutable

public class ls
extends ShellCommand
implements ShellExecutable


Field Summary
 
Fields inherited from class shell.Command
in, out
 
Constructor Summary
ls()
           
 
Method Summary
 void addActiveSwitch(java.lang.Object obj)
          Functionality will need to be provided in child classes.
 void doRun()
           
 void setArgs(java.util.Vector args)
           
 void setArgs(java.util.Vector args, java.io.PrintStream o)
           
 
Methods inherited from class shell.Command
addSwitch, addThreadListener, containsSwitch, equals, equals, getActive, getId, getLock, getName, getOutStream, getReader, getSwitch, isPipeable, lock, processSwitches, removeThreadListener, run, setActive, setArgs, setArgs, setId, setIncomming, setInputStream, setLock, setOutputStream, setOutStream, stillIncomming, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface shell.Executable
addSwitch, addThreadListener, containsSwitch, equals, equals, getActive, getId, getName, getOutStream, getReader, getSwitch, isPipeable, lock, processSwitches, removeThreadListener, run, setActive, setId, setIncomming, setInputStream, setLock, setOutputStream, setOutStream, stillIncomming, unlock
 

Constructor Detail

ls

public ls()
Method Detail

setArgs

public void setArgs(java.util.Vector args)
Specified by:
setArgs in interface Executable

setArgs

public void setArgs(java.util.Vector args,
                    java.io.PrintStream o)
Specified by:
setArgs in interface Executable

addActiveSwitch

public void addActiveSwitch(java.lang.Object obj)
Description copied from interface: Executable
Functionality will need to be provided in child classes. Will takes an object and add it to an ArrayList of currently active switches.

Specified by:
addActiveSwitch in interface Executable
Overrides:
addActiveSwitch in class Command
Parameters:
obj - - Object to add to activeSwitches ArrayList.

doRun

public void doRun()
           throws java.lang.Exception
Specified by:
doRun in class Command
java.lang.Exception