Writer Methods

Overview | This Package | All Packages

Writer Methods

Methods Description
close Closes this Writer object and releases any system resources associated with the writer.

flush Clears all buffers for this Writer object and causes any buffered data to be written to the underlying device.

getNewLine Retrieves the line terminator string used by this Writer object.

setNewLine Sets the line terminator string for this Writer object.

write Writes the specified item to the text stream.

writeLine Writes the specified item followed by a line terminator to the text stream.