FileOutput
A FileOutput module is used to write local disk files.
Module
|
+-- OutputDevice
|
+-- FileOutput
Input streams
A single byte stream, byteIn.
A single String stream, stringIn.
Output streams
none.
Fields
- handle, set by the "startUp" method
Methods
- startUp() -- opens the file indicated by stringIn. If successful,
the running field of the InputDevice is set to true.
- shutDown() -- closes the file if it was opened successfully.
- update() -- reads any bytes available on the input stream and writes
them to the file.