Package adams.gui.tools.previewbrowser
Class TsvSpreadSheetHandler
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.tools.previewbrowser.AbstractContentHandler
-
- adams.gui.tools.previewbrowser.AbstractSpreadSheetHandler
-
- adams.gui.tools.previewbrowser.TsvSpreadSheetHandler
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,ContentHandler
,Serializable
public class TsvSpreadSheetHandler extends AbstractSpreadSheetHandler
Displays the following spreadsheet types: tsv
Valid options are:
-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.tools.previewbrowser.AbstractSpreadSheetHandler
m_CellRenderingCustomizer, UNNAMED_SHEET_PREFIX
-
Fields inherited from class adams.gui.tools.previewbrowser.AbstractContentHandler
m_Relation
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
Fields inherited from interface adams.gui.tools.previewbrowser.ContentHandler
MATCH_ALL
-
-
Constructor Summary
Constructors Constructor Description TsvSpreadSheetHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getExtensions()
Returns the list of extensions (without dot) that this handler can take care of.protected SpreadSheet[]
readAll(File file)
Reads all the individual spreadsheets from the file.-
Methods inherited from class adams.gui.tools.previewbrowser.AbstractSpreadSheetHandler
cellRenderingCustomizerTipText, createPreview, defineOptions, getCellRenderingCustomizer, globalInfo, setCellRenderingCustomizer
-
Methods inherited from class adams.gui.tools.previewbrowser.AbstractContentHandler
checkFile, getHandlers, getHandlersForFile, getHandlersForFile, getPreview, getRelation, hasHandler, hasHandler, reusePreview
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
getExtensions
public String[] getExtensions()
Returns the list of extensions (without dot) that this handler can take care of.- Returns:
- the list of extensions (no dot)
-
readAll
protected SpreadSheet[] readAll(File file)
Reads all the individual spreadsheets from the file.- Specified by:
readAll
in classAbstractSpreadSheetHandler
- Parameters:
file
- the file to read- Returns:
- the spreadsheet objects that were read from the file
-
-