Class SimpleStreamSpreadSheetReader

  • All Implemented Interfaces:
    AdditionalInformationHandler, Destroyable, ErrorProvider, GlobalInfoSupporter, EncodingSupporter, FileFormatHandler, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Stoppable, StoppableWithFeedback, ChunkedSpreadSheetReader, NoHeaderSpreadSheetReader, SpreadSheetReader, DataRowTypeHandler, SpreadSheetTypeHandler, Serializable

    public class SimpleStreamSpreadSheetReader
    extends AbstractSpreadSheetReader
    implements NoHeaderSpreadSheetReader, ChunkedSpreadSheetReader
    Reads file in simple stream format:
    - one spreadsheet row per line in the output
    - cells are separated by TAB
    - cell format: '<1-based index>:<content-type ID>:<content>'
    NB: tabs, new lines etc in the content get backquoted.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -data-row-type <> (property: dataRowType)
        The type of row to use for the data.
    -spreadsheet-type <> (property: spreadSheetType)
        The type of spreadsheet to use for the data.
    -encoding <adams.core.base.BaseCharset> (property: encoding)
        The type of encoding to use when reading using a reader, leave empty for 
        default: Default
    -no-header <boolean> (property: noHeader)
        If enabled, all rows get added as data rows and a dummy header will get 
        default: false
    -custom-column-headers <java.lang.String> (property: customColumnHeaders)
        The custom headers to use for the columns instead (comma-separated list);
         ignored if empty.
    -chunk-size <int> (property: chunkSize)
        The maximum number of rows per chunk; using -1 will read put all data into 
        a single spreadsheet object.
        default: -1
        minimum: -1
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form