Package adams.data.exif.commons
Class ExifTagEnum
- java.lang.Object
-
- adams.core.ConfigurableEnumeration<ExifTagEnum.Item>
-
- adams.data.exif.commons.ExifTagEnum
-
- All Implemented Interfaces:
Serializable
,Iterable<ExifTagEnum.Item>
public class ExifTagEnum extends ConfigurableEnumeration<ExifTagEnum.Item>
Enumeration of EXIF tags using the Apache Commons Imaging library.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ExifTagEnum.Item
-
Nested classes/interfaces inherited from class adams.core.ConfigurableEnumeration
ConfigurableEnumeration.AbstractItem<E extends ConfigurableEnumeration>
-
-
Field Summary
Fields Modifier and Type Field Description protected static ExifTagEnum
m_Singleton
the singleton.-
Fields inherited from class adams.core.ConfigurableEnumeration
m_Items
-
-
Constructor Summary
Constructors Constructor Description ExifTagEnum()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExifTagEnum
getSingleton()
Returns the singleton instance.protected ExifTagEnum.Item[]
initialize()
Initializes the items.ExifTagEnum.Item
newItem(String id, String display)
Initializes the enum type.-
Methods inherited from class adams.core.ConfigurableEnumeration
check, iterator, parse, toString, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
m_Singleton
protected static ExifTagEnum m_Singleton
the singleton.
-
-
Method Detail
-
initialize
protected ExifTagEnum.Item[] initialize()
Initializes the items.- Specified by:
initialize
in classConfigurableEnumeration<ExifTagEnum.Item>
- Returns:
- the items
-
newItem
public ExifTagEnum.Item newItem(String id, String display)
Initializes the enum type.- Specified by:
newItem
in classConfigurableEnumeration<ExifTagEnum.Item>
- Parameters:
id
- the ID of the enum type, can be nulldisplay
- the display text, can be null
-
getSingleton
public static ExifTagEnum getSingleton()
Returns the singleton instance.- Returns:
- the singleton
-
-