Package adams.data.io.input
Class SimpleJsonSampleDataReader
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.io.input.AbstractReportReader<T>
-
- adams.data.io.input.AbstractSimpleJsonReportReader<SampleData>
-
- adams.data.io.input.SimpleJsonSampleDataReader
-
- 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 SimpleJsonSampleDataReader extends adams.data.io.input.AbstractSimpleJsonReportReader<SampleData> implements SampleDataReader
Reads a report file in Json 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: .
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleJsonSampleDataReader()
-
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.AbstractSimpleJsonReportReader
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
-
-
-
-
Method Detail
-
newInstance
public SampleData newInstance()
Returns a new instance of the report class in use.- Specified by:
newInstance
in classadams.data.io.input.AbstractReportReader<SampleData>
- Returns:
- the new (empty) report
-
-