public class SimpleCommand extends CommandEvent
parseLine(java.lang.String[])
and getLine() method of the base CommandEvent class. This
command event is intended for commands without a command line, though it
simply returns the null String on the getLine() method and
returns true on parseLine(java.lang.String[]) if the argument is null.CommandEvent.CreateCOMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
SimpleCommand(Object src,
String type,
long time)
The required constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLine()
Returns null.
|
boolean |
parseLine(String[] cl)
A default implementation for parsing.
|
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, parseForStrings, templateToClassNamecheckType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourcepublic boolean parseLine(String[] cl)
parseLine in class MessageEventpublic String[] getLine()
getLine in class MessageEvent