Online documentation for FileWriter

Generated 2006-03-17

Writes or concatenates string inputs to a file.

Description

FileWriter is designed to easily write any string value to a file. You can specify to append or overwrite to the file. You may also specify a delimiter to write between inputs. Note that 'newline' delimeters such as "\n" are currently invisible.
Delimeters are any sequence of characters that separate one text element from another. They can be single characters, as well as special characters.
Special characters include:
\n newline
\r carriage return
\t tab
etc ...

Usage

Set the 'outFile' to the desired output file (full file path).
Set 'append' to true, to concatenate to the file, otherwise the specified file will be written over.
Set 'delimeter' to use. This is any string to be written between each input. Note that 'newline' delimeters such as "\n" are currently invisible.
Set 'input' to any string value. This will be written to the file.

Technical Details

Uses the java.io.FileWriter