Package pixy.meta.exif
Enum ExifTag
java.lang.Object
java.lang.Enum<ExifTag>
pixy.meta.exif.ExifTag
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExifTag>
,java.lang.constant.Constable
,Tag
public enum ExifTag extends java.lang.Enum<ExifTag> implements Tag
Defines EXIF tags
- Version:
- 1.0 06/10/2013
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static Tag
fromShort(short value)
java.lang.String
getFieldAsString(java.lang.Object value)
Intended to be overridden by certain tags to provide meaningful string representation of the field value such as compression, photo metric interpretation etc.FieldType
getFieldType()
java.lang.String
getName()
short
getValue()
boolean
isCritical()
java.lang.String
toString()
static ExifTag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExifTag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXPOSURE_TIME
-
FNUMBER
-
EXPOSURE_PROGRAM
-
SPECTRAL_SENSITIVITY
-
ISO_SPEED_RATINGS
-
OECF
-
EXIF_VERSION
-
DATE_TIME_ORIGINAL
-
DATE_TIME_DIGITIZED
-
COMPONENT_CONFIGURATION
-
COMPRESSED_BITS_PER_PIXEL
-
SHUTTER_SPEED_VALUE
-
APERTURE_VALUE
-
BRIGHTNESS_VALUE
-
EXPOSURE_BIAS_VALUE
-
MAX_APERTURE_VALUE
-
SUBJECT_DISTANCE
-
METERING_MODE
-
LIGHT_SOURCE
-
FLASH
-
FOCAL_LENGTH
-
SUBJECT_AREA
-
MAKER_NODE
-
USER_COMMENT
-
SUB_SEC_TIME
-
SUB_SEC_TIME_ORIGINAL
-
SUB_SEC_TIME_DIGITIZED
-
WINDOWS_XP_TITLE
-
WINDOWS_XP_COMMENT
-
WINDOWS_XP_AUTHOR
-
WINDOWS_XP_KEYWORDS
-
WINDOWS_XP_SUBJECT
-
FLASH_PIX_VERSION
-
COLOR_SPACE
-
EXIF_IMAGE_WIDTH
-
EXIF_IMAGE_HEIGHT
-
RELATED_SOUND_FILE
-
EXIF_INTEROPERABILITY_OFFSET
-
FLASH_ENERGY
-
SPATIAL_FREQUENCY_RESPONSE
-
FOCAL_PLANE_X_RESOLUTION
-
FOCAL_PLANE_Y_RESOLUTION
-
FOCAL_PLANE_RESOLUTION_UNIT
-
SUBJECT_LOCATION
-
EXPOSURE_INDEX
-
SENSING_METHOD
-
FILE_SOURCE
-
SCENE_TYPE
-
CFA_PATTERN
-
CUSTOM_RENDERED
-
EXPOSURE_MODE
-
WHITE_BALENCE
-
DIGITAL_ZOOM_RATIO
-
FOCAL_LENGTH_IN_35MM_FORMAT
-
SCENE_CAPTURE_TYPE
-
GAIN_CONTROL
-
CONTRAST
-
SATURATION
-
SHARPNESS
-
DEVICE_SETTING_DESCRIPTION
-
SUBJECT_DISTANCE_RANGE
-
IMAGE_UNIQUE_ID
-
OWNER_NAME
-
BODY_SERIAL_NUMBER
-
LENS_SPECIFICATION
-
LENS_Make
-
LENS_MODEL
-
LENS_SERIAL_NUMBER
-
EXPAND_SOFTWARE
-
EXPAND_LENS
-
EXPAND_FILM
-
EXPAND_FILTER_LENS
-
EXPAND_SCANNER
-
EXPAND_FLASH_LAMP
-
PADDING
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName() -
getValue
public short getValue() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<ExifTag>
-
fromShort
-
getFieldAsString
public java.lang.String getFieldAsString(java.lang.Object value)Intended to be overridden by certain tags to provide meaningful string representation of the field value such as compression, photo metric interpretation etc.- Specified by:
getFieldAsString
in interfaceTag
- Parameters:
value
- field value to be mapped to a string- Returns:
- a string representation of the field value or empty string if no meaningful string representation exists.
-
isCritical
public boolean isCritical()- Specified by:
isCritical
in interfaceTag
-
getFieldType
- Specified by:
getFieldType
in interfaceTag
-