org.jagatoo.commands
Class CommandLine

java.lang.Object
  extended by org.jagatoo.commands.CommandLine

public class CommandLine
extends java.lang.Object

Simple CommandLine class.


Constructor Summary
CommandLine()
           
CommandLine(java.lang.String line)
           
 
Method Summary
 java.lang.String getKey()
           
 java.util.ArrayList<java.lang.String> getParameters()
           
 CommandLine parse(java.lang.String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLine

public CommandLine()

CommandLine

public CommandLine(java.lang.String line)
Method Detail

getKey

public final java.lang.String getKey()
Returns:
the CommandLine's key.

getParameters

public final java.util.ArrayList<java.lang.String> getParameters()
Returns:
the CommandLine's parameters as Strings.

parse

public CommandLine parse(java.lang.String line)