Vocabulary
io.files

Inputs
patha pathname string
encodingan encoding descriptor


Outputs
streaman output stream


Word description
Outputs an output stream for writing to the specified pathname using the given encoding. The stream begins writing at the end of the file.

Notes
Most code should use with-file-appender instead, to ensure the stream is properly disposed of after.

Errors
Throws an error if the file cannot be opened for writing.

Definition