|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.CommandLineReader
Used to read command line from various sources, eg. console, file...
Field Summary | |
protected java.io.BufferedReader |
br
Bufferedreader to read command lines from |
Constructor Summary | |
CommandLineReader()
Creates a new instance of CommandLineReader - from console |
|
CommandLineReader(java.io.BufferedReader b)
Creates a new instance of CommandLineReader - from BufferedReader |
|
CommandLineReader(java.io.File f)
Creates a new instance of CommandLineReader - from File |
|
CommandLineReader(java.lang.String s)
Creates a new instance of CommandLineReader - from console |
Method Summary | |
java.lang.String |
nextCommandLine()
The main and only method Reads next command line |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.BufferedReader br
Constructor Detail |
public CommandLineReader() throws java.lang.Exception
java.lang.Exception
- if something fails...public CommandLineReader(java.lang.String s) throws java.lang.Exception
s
- String to read command line from
java.lang.Exception
- if something fails...public CommandLineReader(java.io.File f) throws java.lang.Exception
f
- File to read command line from
java.lang.Exception
- if something fails...public CommandLineReader(java.io.BufferedReader b) throws java.lang.Exception
b
- BufferedReader to read command line from
java.lang.Exception
- if something fails...Method Detail |
public java.lang.String nextCommandLine() throws java.lang.Exception
java.lang.Exception
- if something fails...
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |