Class TsvSpreadSheetWriter

  • All Implemented Interfaces:
    AdditionalInformationHandler, Destroyable, GlobalInfoSupporter, EncodingSupporter, LoggingLevelHandler, LoggingSupporter, LocaleSupporter, OptionHandlingLocaleSupporter, OptionHandler, SizeOfHandler, Stoppable, StoppableWithFeedback, AppendableSpreadSheetWriter, IncrementalSpreadSheetWriter, NoHeaderSpreadSheetWriter, SpreadSheetWriter, SpreadSheetWriterWithFormulaSupport, Serializable

    public class TsvSpreadSheetWriter
    extends CsvSpreadSheetWriter
    Writes TSV (tab-separated values) files,

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -missing <java.lang.String> (property: missingValue)
        The placeholder for missing values.
        default: 
     
    -locale <java.util.Locale> (property: locale)
        The locale to use for formatting the numbers.
        default: Default
     
    -number-format <java.lang.String> (property: numberFormat)
        The format for the numbers (see java.text.DecimalFormat), use empty string 
        for default 'double' output.
        default: 
     
    -encoding <adams.core.base.BaseCharset> (property: encoding)
        The type of encoding to use when writing using a writer, use empty string 
        for default.
        default: Default
     
    -comment <java.lang.String> (property: comment)
        The string denoting the start of a line comment (comments can only precede 
        header row).
        default: #
     
    -output-comments <boolean> (property: outputComments)
        If enabled, any available comments are output before the actual data (using 
        the 'comment' prefix).
        default: true
     
    -output-as-displayed <boolean> (property: outputAsDisplayed)
        If enabled, cells are output as displayed, ie, results of formulas instead 
        of the formulas.
        default: false
     
    -no-header <boolean> (property: noHeader)
        If enabled, no header is output.
        default: false
     
    -check-file-exists <boolean> (property: checkFileExists)
        If enabled, it is checked each time whether the file exists; expensive test 
        if processing only one row at a time.
        default: false
     
    -appending <boolean> (property: appending)
        If enabled, multiple spreadsheets with the same structure can be written 
        to the same file.
        default: false
     
    -keep-existing <boolean> (property: keepExisting)
        If enabled, any output file that exists when the writer is executed for 
        the first time won't get replaced with the current header; useful when outputting 
        data in multiple locations in the flow, but one needs to be cautious as 
        to not stored mixed content (eg varying number of columns, etc).
        default: false
     
    -quote-char <java.lang.String> (property: quoteCharacter)
        The character to use for surrounding text cells.
        default: \"
     
    -separator <java.lang.String> (property: separator)
        The separator to use for the columns; use '\t' for tab.
        default: \\t
     
    -new-line <java.lang.String> (property: newLine)
        The newline character(s) to use for the columns; use '\r' for carriage return 
        and '\n' for line feed; Linux/Unix use '\n', Windows uses '\r\n' and old 
        Macs use '\r'.
        default: \\n
     
    -always-quote-text <boolean> (property: alwaysQuoteText)
        If enabled, text/formula cells always get surrounded by double quotes.
        default: false
     
    -escape-special-chars <boolean> (property: escapeSpecialChars)
        If enabled, special characters get escaped with a backslash: \\, \', \t, 
        \n, \r, \"
        default: false
     
    -date-format <adams.data.DateFormatString> (property: dateFormat)
        The format for dates.
        default: yyyy-MM-dd
        more: http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
     
    -datetime-format <adams.data.DateFormatString> (property: dateTimeFormat)
        The format for date/times.
        default: yyyy-MM-dd HH:mm:ss
        more: http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
     
    -datetimemsec-format <adams.data.DateFormatString> (property: dateTimeMsecFormat)
        The format for date/time msecs.
        default: yyyy-MM-dd HH:mm:ss.SSS
        more: http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
     
    -time-format <adams.data.DateFormatString> (property: timeFormat)
        The format for times.
        default: HH:mm:ss
        more: http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
     
    -timemsec-format <adams.data.DateFormatString> (property: timeMsecFormat)
        The format for times with milli-seconds.
        default: HH:mm:ss.SSS
        more: http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
     
    -time-zone <java.util.TimeZone> (property: timeZone)
        The time zone to use for interpreting dates/times; default is the system-wide 
        defined one.
     
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form