Package adams.data.featureconverter
Class AbstractMetaFeatureConverter
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.featureconverter.AbstractFeatureConverter
-
- adams.data.featureconverter.AbstractMetaFeatureConverter
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,QuickInfoSupporter
,SizeOfHandler
,Serializable
- Direct Known Subclasses:
CountValues
,FixedNumFeatures
public abstract class AbstractMetaFeatureConverter extends AbstractFeatureConverter
Ancestor for converters that use a base converter.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractFeatureConverter
m_Converter
the base converter.-
Fields inherited from class adams.data.featureconverter.AbstractFeatureConverter
m_Dataset, m_Header, m_HeaderDefinition
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractMetaFeatureConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
converterTipText()
Returns the tip text for this property.void
defineOptions()
Adds options to the internal list of options.AbstractFeatureConverter
getConverter()
Returns the base feature converter in use.protected abstract AbstractFeatureConverter
getDefaultConverter()
Returns the default converter to use.String
getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.void
setConverter(AbstractFeatureConverter value)
Sets the base feature converter to use.-
Methods inherited from class adams.data.featureconverter.AbstractFeatureConverter
datasetTipText, doGenerateHeader, doGenerateRow, generateHeader, generateRow, getDataset, getDatasetFormat, getHeader, getHeaderDefinition, getRowFormat, isInitialized, reset, setDataset
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, 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.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Converter
protected AbstractFeatureConverter m_Converter
the base converter.
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractFeatureConverter
-
getDefaultConverter
protected abstract AbstractFeatureConverter getDefaultConverter()
Returns the default converter to use.- Returns:
- the converter
-
setConverter
public void setConverter(AbstractFeatureConverter value)
Sets the base feature converter to use.- Parameters:
value
- the converter
-
getConverter
public AbstractFeatureConverter getConverter()
Returns the base feature converter in use.- Returns:
- the converter
-
converterTipText
public abstract String converterTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.- Specified by:
getQuickInfo
in interfaceQuickInfoSupporter
- Overrides:
getQuickInfo
in classAbstractFeatureConverter
- Returns:
- null if no info available, otherwise short string
-
-