|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a shell command line
A class implementing this interface is instantiated by the Shell. The Shell then uses the object to generate Commands from the Shell's InputStream.
Method Summary | |
void |
append(java.lang.String s)
Appends the given String to the CommandLine |
Command[] |
getCommands()
Generates Commands from the CommandLine |
java.lang.String[] |
getUnresolved()
Returns the names of any unresolvable programs |
boolean |
isComplete()
Determines whether or not the CommandLine is syntactically complete |
boolean |
isExit()
Determines whether or not the CommandLine should exit the current Shell |
Method Detail |
public boolean isComplete()
public void append(java.lang.String s)
s
- the String to be appendedpublic Command[] getCommands() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getUnresolved()
public boolean isExit()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |