|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputManager
Interfaccia che deve essere implementata da ogni classe che fornisca un manager per la lettura di stringhe da una sorgente di input.
Method Summary | |
---|---|
void |
close()
Chiude il canale di comunicazione con la sorgente. |
boolean |
isClosed()
Per sapere se il canale è chiuso o aperto. |
java.lang.String |
readLine()
Legge una linea di testo dalla sorgente di input. |
Method Detail |
---|
void close()
boolean isClosed()
true
se e solo se il canale è chiuso.java.lang.String readLine()
null
nel caso sia stata
raggiunta la fine della sorgente di input.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |