Package adams.core.io.filecomplete
Class AbstractStrictFileCompleteCheck
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.core.io.filecomplete.AbstractFileCompleteCheck
-
- adams.core.io.filecomplete.AbstractStrictFileCompleteCheck
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,Serializable
- Direct Known Subclasses:
AbstractStrictCheckSizeFileCompleteCheck
,BMP
public abstract class AbstractStrictFileCompleteCheck extends AbstractFileCompleteCheck
Ancestor for file checks that- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
m_Strict
whether to be strict.-
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 AbstractStrictFileCompleteCheck()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.boolean
getStrict()
Returns whether to be strict or allow trailing junk data.void
setStrict(boolean value)
Sets whether to be strict or allow trailing junk data.abstract String
strictTipText()
Returns the tip text for this property.-
Methods inherited from class adams.core.io.filecomplete.AbstractFileCompleteCheck
isComplete, isComplete, read
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, 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.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractOptionHandler
-
setStrict
public void setStrict(boolean value)
Sets whether to be strict or allow trailing junk data.- Parameters:
value
- true if to be strict
-
getStrict
public boolean getStrict()
Returns whether to be strict or allow trailing junk data.- Returns:
- true if to be strict
-
strictTipText
public abstract String strictTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-