FileWriter (interface)¶
The FileWriter interface is used to implement a general object providing file output stream capabilities. For an example implementation of this see the TextWriter and BinaryWriter objects.
参考
Functions in detail¶
Boolean FileWriter.close! ()
closes an open file
Boolean FileWriter.isOpen? ()
returns true if this writer has a valid file open
Boolean FileWriter.open! ( in String filePath )
opens a file (eventually closes the previous one)