Class SimpleCSVSampleDataReader

  • All Implemented Interfaces:
    adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.io.FileFormatHandler, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<adams.data.io.input.AbstractReportReader>, adams.core.SizeOfHandler, adams.core.Stoppable, adams.core.StoppableWithFeedback, adams.data.io.input.ReportReader<SampleData>, SampleDataReader, Serializable, Comparable

    public class SimpleCSVSampleDataReader
    extends adams.data.io.input.AbstractSimpleCSVReportReader<SampleData>
    implements SampleDataReader
    Reads a report file in CSV file format.

    Valid options are:

    -D (property: debug)
        If set to true, scheme may output additional info to the console.
     
    -input <adams.core.io.PlaceholderFile> (property: input)
        The file to read and turn into a report.
        default: .
     
    Version:
    $Revision: 2242 $
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class adams.data.io.input.AbstractSimpleCSVReportReader

        FILE_EXTENSION, FILE_EXTENSION_GZ
      • Fields inherited from class adams.data.io.input.AbstractReportReader

        m_Input, m_Stopped
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SampleData newInstance()
      Returns a new instance of the report class in use.
      • Methods inherited from class adams.data.io.input.AbstractSimpleCSVReportReader

        determineParentID, getFormatDescription, getFormatExtensions, globalInfo, readData
      • Methods inherited from class adams.data.io.input.AbstractReportReader

        checkData, cleanUp, compareTo, defineOptions, destroy, equals, forCommandLine, forName, getDefaultFormatExtension, getInput, getReaders, inputTipText, isStopped, postRead, read, reset, setInput, shallowCopy, shallowCopy, stopExecution
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
    • Constructor Detail

      • SimpleCSVSampleDataReader

        public SimpleCSVSampleDataReader()
    • Method Detail

      • newInstance

        public SampleData newInstance()
        Returns a new instance of the report class in use.
        Specified by:
        newInstance in class adams.data.io.input.AbstractReportReader<SampleData>
        Returns:
        the new (empty) report