FileInput
The FileInput represents a disk file on the local computer. Due to Java/Netscape
security, part of the access code must be implemented as native C code.
NeatToolsModule
|
+-- InputDevice
|
+-- FileInput
Input streams
A single String stream, stringIn
Output streams
None, subclasses have output streams.
Fields
- handle, set by the "startUp" method
Methods
- startUp() -- opens the file indicated by the input stream. If successful, sets the Input Device "running" field to
true, and sets the "handle" field of the FileInput to the appropriate value.
- shutDown() -- closes the file if it was opened, unconditionally sets the Input Device
"running" field to false and the "handle" to null.