|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object biz.chitec.quarterback.util.ConsoleWrapper
Quite dumb abstract console object.
Field Summary | |
(package private) java.io.BufferedReader |
conin
|
(package private) java.io.BufferedWriter |
conout
|
(package private) int |
row
|
Constructor Summary | |
ConsoleWrapper()
Initialize console |
Method Summary | |
void |
print(java.lang.Object o)
Print out an object (no newline). |
void |
println()
Print out single newline. |
void |
println(java.lang.Object o)
Print out object with newline. |
java.lang.String |
readInput(java.lang.String prompt)
Reads a line of input. |
(package private) void |
reInit()
Reinitialize my console. |
int |
selectMenu(java.lang.String title,
java.util.List v)
Choose from a menu. |
java.lang.String |
setValue(java.lang.String prompt,
java.lang.String defaultvalue)
Sets a Value, returns given default on empty input. |
void |
showErrorMessage(java.lang.Object o)
Shows error message. |
void |
showMessage(java.lang.Object o)
Shows message. |
void |
showProgressStep()
Shows progress as little dot. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.io.BufferedReader conin
java.io.BufferedWriter conout
int row
Constructor Detail |
public ConsoleWrapper() throws java.io.IOException
Method Detail |
public void print(java.lang.Object o)
public void println(java.lang.Object o)
public void println()
void reInit()
public int selectMenu(java.lang.String title, java.util.List v)
public java.lang.String readInput(java.lang.String prompt) throws java.io.IOException
java.io.IOException
public java.lang.String setValue(java.lang.String prompt, java.lang.String defaultvalue) throws java.io.IOException
java.io.IOException
public void showProgressStep()
showProgressStep
in interface ProgressIndicator
public void showMessage(java.lang.Object o)
showMessage
in interface ProgressIndicator
public void showErrorMessage(java.lang.Object o)
showErrorMessage
in interface ProgressIndicator
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |