public abstract class AbstractImageOperation extends AbstractOptionHandler implements QuickInfoSupporter
m_OptionManager
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
Constructor and Description |
---|
AbstractImageOperation() |
Modifier and Type | Method and Description |
---|---|
String |
apply(PlaceholderFile input,
PlaceholderFile output)
Applies the operation to the input file and stores the result in the
output file.
|
protected String |
check(PlaceholderFile input,
PlaceholderFile output)
Hook method for performing checks before applying the operation.
|
protected abstract String |
doApply(PlaceholderFile input,
PlaceholderFile output)
Applies the actual operation to the input file and stores the result in the
output file.
|
String |
getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.
|
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLoggingLevel
public String getQuickInfo()
getQuickInfo
in interface QuickInfoSupporter
protected String check(PlaceholderFile input, PlaceholderFile output)
input
- the input fileoutput
- the output fileprotected abstract String doApply(PlaceholderFile input, PlaceholderFile output)
input
- the input fileoutput
- the output filepublic String apply(PlaceholderFile input, PlaceholderFile output)
input
- the input fileoutput
- the output fileCopyright © 2021 University of Waikato, Hamilton, NZ. All Rights Reserved.