Class ApacheCommonsExifTagExists
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.exiftagoperation.AbstractExifTagOperation<I,O>
-
- adams.flow.transformer.exiftagoperation.AbstractApacheCommonsExifTagOperation<Object,Boolean>
-
- adams.flow.transformer.exiftagoperation.ApacheCommonsExifTagExists
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,QuickInfoSupporter,SizeOfHandler,ExifTagExistsOperation<Object>,ExifTagOperation<Object,Boolean>,Serializable
public class ApacheCommonsExifTagExists extends AbstractApacheCommonsExifTagOperation<Object,Boolean> implements ExifTagExistsOperation<Object>
Checks whether the specified tag is present in the the file.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.flow.transformer.exiftagoperation.AbstractApacheCommonsExifTagOperation
m_Tag
-
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 ApacheCommonsExifTagExists()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]accepts()Returns the type of data that we can process.protected Stringcheck(Object input)Hook method for performing checks before processing the data.protected BooleandoProcess(Object input, MessageCollection errors)Processes the incoming data.Class[]generates()Returns the type of data that we generate.StringglobalInfo()Returns a string describing the object.-
Methods inherited from class adams.flow.transformer.exiftagoperation.AbstractApacheCommonsExifTagOperation
defineOptions, getQuickInfo, getTag, setTag, tagTipText
-
Methods inherited from class adams.flow.transformer.exiftagoperation.AbstractExifTagOperation
process
-
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.flow.transformer.exiftagoperation.ExifTagOperation
process
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.QuickInfoSupporter
getQuickInfo
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
accepts
public Class[] accepts()
Returns the type of data that we can process.- Specified by:
acceptsin interfaceExifTagOperation<Object,Boolean>- Specified by:
acceptsin classAbstractExifTagOperation<Object,Boolean>- Returns:
- the type of data
-
generates
public Class[] generates()
Returns the type of data that we generate.- Specified by:
generatesin interfaceExifTagOperation<Object,Boolean>- Specified by:
generatesin classAbstractExifTagOperation<Object,Boolean>- Returns:
- the type of data
-
check
protected String check(Object input)
Hook method for performing checks before processing the data.- Overrides:
checkin classAbstractExifTagOperation<Object,Boolean>- Parameters:
input- the input to process- Returns:
- null if successful, otherwise error message
-
doProcess
protected Boolean doProcess(Object input, MessageCollection errors)
Processes the incoming data.- Specified by:
doProcessin classAbstractExifTagOperation<Object,Boolean>- Parameters:
input- the input to processerrors- for storing errors- Returns:
- the generated output
-
-