|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautohit.common.CommandLine
Manage a command line. It will return sections with calls to
get(). Each section is delimited with whitespace, though a full
string of tokens can be batched into a section using quotes.
Quotes embedded in tokens are ignored. Unterminated quotes
will just take the rest of the line as the section.
EXAMPLE
token1
EPG - Rewrite - 3Aug03
Constructor Summary | |
CommandLine()
|
Method Summary | |
java.lang.String |
get()
Get the next section. |
void |
start(java.lang.String command)
Start on a command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandLine()
Method Detail |
public void start(java.lang.String command)
command
- the command line to processpublic java.lang.String get()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |