|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.nmu.os.shell.CommandLineImpl
Represents a shell command line
TODO: man page
| Constructor Summary | |
CommandLineImpl()
Creates a new CommandLineImpl |
|
CommandLineImpl(java.lang.String s)
Creates a new CommandLineImpl from the given String |
|
| 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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CommandLineImpl()
public CommandLineImpl(java.lang.String s)
s - the String from which to construct
this CommandLineImpl| Method Detail |
public boolean isComplete()
CommandLine
isComplete in interface CommandLinepublic void append(java.lang.String s)
CommandLine
append in interface CommandLines - the String to be appendedpublic java.lang.String toString()
toString in class java.lang.Object
public Command[] getCommands()
throws java.io.IOException
CommandLine
getCommands in interface CommandLinejava.io.IOExceptionpublic java.lang.String[] getUnresolved()
CommandLine
getUnresolved in interface CommandLinepublic boolean isExit()
CommandLine
isExit in interface CommandLine
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||