Writes text to a File.

See also File

no type hierarchy

no subtypes hierarchy

Inherited Attributes
Attributes inherited from: Object
Methods
closeSource Codeshared formal void close()

Close this Writer. Called automatically by destroy().

See also destroy()
destroySource Codeshared actual void destroy(Throwable? exception)

Closes this Writer after flush is called automatically.

flushSource Codeshared formal void flush()

Flush all written text to the underlying file system.

writeSource Codeshared formal void write(String string)

Write text to the file.

writeBytesSource Codeshared formal void writeBytes({Byte*} bytes)

Write the given bytes to the file.

writeLineSource Codeshared formal void writeLine(String line = "")

Write a line of text to the file.

Parameters:
  • line = ""
Inherited Methods
Methods inherited from: Object
Methods inherited from: Destroyable