|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjeters.components.FileIO
public class FileIO
default implementation of a combined input and output component reading from and writing to text files in the local file system.
Constructor Summary | |
---|---|
FileIO()
|
Method Summary | |
---|---|
EditableText |
getInput(UIComponent uiForRequests)
receive a text that can be edited by the program |
void |
output(EditableText text,
UIComponent uiForRequests)
receive a text that can be edited by the program |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileIO()
Method Detail |
---|
public EditableText getInput(UIComponent uiForRequests)
InputComponent
getInput
in interface InputComponent<EditableText>
uiForRequests
- UI-component for communication with the user (if necessary)
public void output(EditableText text, UIComponent uiForRequests)
OutputComponent
output
in interface OutputComponent<EditableText>
text
- the text that has been edited and should now be printed/written/etc. as the resultuiForRequests
- UI-component for communication with the user (if necessary)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |