public class ConsoleExecuteCommandEvent extends Object implements de.lessvoid.nifty.NiftyEvent
Constructor and Description |
---|
ConsoleExecuteCommandEvent(Console console,
String commandLine) |
Modifier and Type | Method and Description |
---|---|
int |
getArgumentCount()
Get the number of arguments, that means all arguments (separated by whitespace).
|
String[] |
getArguments()
Get all of the command arguments as an array.
|
String |
getCommand()
Get the command (the first string in the whitespace separated commandline).
|
String |
getCommandLine()
Get the complete command line as send from the console.
|
Console |
getConsole() |
public Console getConsole()
public String getCommandLine()
public int getArgumentCount()
public String getCommand()
public String[] getArguments()
Copyright © 2013. All Rights Reserved.