org.limitless.nmc.Prototype1
Class CommandHelp
java.lang.Object
org.limitless.nmc.Prototype1.CommandHelp
- All Implemented Interfaces:
- Command
public class CommandHelp
- extends java.lang.Object
- implements Command
This outputs help when requested. If there's arguments, then it
outputs the detailed help only for those arguments.
See 5.1.2.12 in the prototype_1.html document.
- Version:
- 1.0
- Author:
- Brian Jones
|
Field Summary |
private static java.lang.String[] |
detailed
|
private static org.apache.log4j.Logger |
logger
|
|
Method Summary |
java.lang.String[] |
getHelpDetailed()
Give the long help information. |
java.lang.String |
getHelpSummary()
Get the single-line help detail |
void |
invoke(java.lang.String[] args)
Process the command |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.apache.log4j.Logger logger
detailed
private static java.lang.String[] detailed
CommandHelp
public CommandHelp()
getHelpDetailed
public java.lang.String[] getHelpDetailed()
- Description copied from interface:
Command
- Give the long help information.
- Specified by:
getHelpDetailed in interface Command
getHelpSummary
public java.lang.String getHelpSummary()
- Description copied from interface:
Command
- Get the single-line help detail
- Specified by:
getHelpSummary in interface Command
invoke
public void invoke(java.lang.String[] args)
- Description copied from interface:
Command
- Process the command
- Specified by:
invoke in interface Command
Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.