fileName | String[] Fully qualified name of the file to be written to. |
data | String Text to be written. |
append | String Optional. Specifies whether to append or overwrite if the specified file already exists. The default behavior is to create a new file if the file does not exist or overwrite an existing file if the file already exists. Set to: true to append if the file already exists. false to overwrite if the file already exists. |
encoding | String Optional. Name of a registered, IANA character set (for example, ISO-8859-1). If you specify an unsupported encoding, the system throws an exception. If no value is specified or if the encoding is set to autoDetect, the default operating system encoding is used. |