public final class ShowCommand extends Command
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String parameter)
Executes this command with the given parameter.
|
static ShowCommand |
getCommand()
Returns the SHOW-command.
|
boolean |
matchesParameter(String line)
Returns
true if and only if the string line is
a valid parameter for this command. |
getDescription, getDocumentation, getKeypublic static ShowCommand getCommand()
public boolean matchesParameter(String line)
Commandtrue if and only if the string line is
a valid parameter for this command.matchesParameter in class Commandline - the input stringtrue if line is a valid parameter,
false otherwise