<p>This actor reads record-valued input tokens and writes them,
one line at a time, to a specified file, as comma-separated list
(or separated by some other delimiter given by the <i>separator</i>
parameter).
The first line contains the names of the fields of the input
record, separated by the same delimiter.
<p>
The file is specified by the <i>fileName</i> attribute
using any form acceptable to <a href="../../../../ptolemy/data/expr/FileParameter.xml">ptolemy.data.expr.FileParameter</a>.</p>
<p>
If the <i>append</i> attribute has value <i>true</i>,
then the file will be appended to. If it has value <i>false</i>,
then if the file exists, the user will be queried for permission
to overwrite, and if granted, the file will be overwritten.</p>
<p>
If the <i>confirmOverwrite</i> parameter has value <i>false</i>,
then this actor will overwrite the specified file if it exists
without asking. If <i>true</i> (the default), then if the file
exists, then this actor will ask for confirmation before overwriting.</p>
Edward A. Lee
$Id: CSVWriter.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 10.0
Yellow (eal)
Red (cxh)
A specification of the separator between items in the table.
The default is "comma", which results in assuming that fields
are separated by commas. If the value is changed to "tab", then
a tab separator will be used. If the value is "semicolon", then
a semicolon separator will be used. If the value is anything
else, then the value of the parameter, whatever it is, will
be the separator.