|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.croesch.micro_debug.commons.Reader
public final class Reader
The interface to read information from the console (or from the given Reader).
| Method Summary | |
|---|---|
static String |
readLine()
Reads a line from the current Reader and returns it. |
static void |
setReader(Reader reader)
Sets the Reader to read the information from. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setReader(Reader reader)
Reader to read the information from. Will be buffered internally, so don't need to be a
BufferedReader.
reader - the new Reader for this component, not null.public static String readLine()
Reader and returns it. If an exception is thrown this will return
null.
Reader ornull, if an IOException occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||