Class ApacheCommonsExifTagRead
- 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,Object>
-
- adams.flow.transformer.exiftagoperation.ApacheCommonsExifTagRead
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,QuickInfoSupporter
,SizeOfHandler
,ExifTagOperation<Object,Object>
,ExifTagReadOperation<Object,Object>
,Serializable
public class ApacheCommonsExifTagRead extends AbstractApacheCommonsExifTagOperation<Object,Object> implements ExifTagReadOperation<Object,Object>
Reads the specified tag from the file and forwards the information.- 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 ApacheCommonsExifTagRead()
-
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 String
check(Object input)
Hook method for performing checks before processing the data.protected Object
doProcess(Object input, MessageCollection errors)
Processes the incoming data.Class[]
generates()
Returns the type of data that we generate.String
globalInfo()
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:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in 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:
accepts
in interfaceExifTagOperation<Object,Object>
- Specified by:
accepts
in classAbstractExifTagOperation<Object,Object>
- Returns:
- the type of data
-
generates
public Class[] generates()
Returns the type of data that we generate.- Specified by:
generates
in interfaceExifTagOperation<Object,Object>
- Specified by:
generates
in classAbstractExifTagOperation<Object,Object>
- Returns:
- the type of data
-
check
protected String check(Object input)
Hook method for performing checks before processing the data.- Overrides:
check
in classAbstractExifTagOperation<Object,Object>
- Parameters:
input
- the input to process- Returns:
- null if successful, otherwise error message
-
doProcess
protected Object doProcess(Object input, MessageCollection errors)
Processes the incoming data.- Specified by:
doProcess
in classAbstractExifTagOperation<Object,Object>
- Parameters:
input
- the input to processerrors
- for storing errors- Returns:
- the generated output
-
-