org.adougou.cline
Class TimeCommand

java.lang.Object
  |
  +--org.adougou.cline.BaseCommand
        |
        +--org.adougou.cline.TimeCommand
All Implemented Interfaces:
Command

public class TimeCommand
extends BaseCommand

Simple command to prints out the current date/time.


Fields inherited from class org.adougou.cline.BaseCommand
help_, name_, numArgs_, prompt, register_
 
Constructor Summary
TimeCommand()
           
 
Method Summary
 void execute(java.lang.String[] args)
          This method should be overloaded by each command that is defined - it will be called by the CommandRegister after the number of arguments have been checked.
 
Methods inherited from class org.adougou.cline.BaseCommand
checkPermission, execute, execute, getHelp, getName, getPrompt, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeCommand

public TimeCommand()
Method Detail

execute

public void execute(java.lang.String[] args)
Description copied from class: BaseCommand
This method should be overloaded by each command that is defined - it will be called by the CommandRegister after the number of arguments have been checked.
Overrides:
execute in class BaseCommand