magoffin.matt.meta.image
Enum ImageMetadataType

java.lang.Object
  extended by java.lang.Enum<ImageMetadataType>
      extended by magoffin.matt.meta.image.ImageMetadataType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageMetadataType>

public enum ImageMetadataType
extends java.lang.Enum<ImageMetadataType>

Metadata types for image media.

Version:
$Revision: 3 $ $Date: 2008-12-27 08:09:28 +1300 (Sat, 27 Dec 2008) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Enum Constant Summary
APERTURE
          The aperture (APEX value) the photo was taken with.
CAMERA_MAKE
          The camera make the photo was taken with.
CAMERA_MODEL
          The camera model the photo was taken with.
COMMENT
          A comment.
DATE_TAKEN
          The date the photo was taken, as a Date object.
EXPOSURE_BIAS
          The exposure bias the photo was taken with.
EXPOSURE_TIME
          The exposure time the photo was taken with.
F_STOP
          The aperture (F-Stop value) the photo was taken with.
FLASH
          The flash setting the photo was taken with.
FOCAL_LENGTH
          The focal length the photo was taken with.
FOCAL_LENGTH_35MM_EQUIV
          The focal length in 35mm terms the photo was taken with.
GPS_LATITUDE
          The GPS latitude value of the image's location.
GPS_LONGITUDE
          The GPS longitude value of the image's location.
ORIENTATION
          The orientation of the camer the photo was taken with.
SHUTTER_SPEED
          The shutter speed the photo was taken with.
TITLE
          A title for the image.
 
Method Summary
 java.lang.Class<?> getObjectType()
          Get the type of object this metadata represents.
static ImageMetadataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageMetadataType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

APERTURE

public static final ImageMetadataType APERTURE
The aperture (APEX value) the photo was taken with.


COMMENT

public static final ImageMetadataType COMMENT
A comment.


F_STOP

public static final ImageMetadataType F_STOP
The aperture (F-Stop value) the photo was taken with.


CAMERA_MAKE

public static final ImageMetadataType CAMERA_MAKE
The camera make the photo was taken with.


CAMERA_MODEL

public static final ImageMetadataType CAMERA_MODEL
The camera model the photo was taken with.


DATE_TAKEN

public static final ImageMetadataType DATE_TAKEN
The date the photo was taken, as a Date object.


FLASH

public static final ImageMetadataType FLASH
The flash setting the photo was taken with.


ORIENTATION

public static final ImageMetadataType ORIENTATION
The orientation of the camer the photo was taken with.


SHUTTER_SPEED

public static final ImageMetadataType SHUTTER_SPEED
The shutter speed the photo was taken with.


TITLE

public static final ImageMetadataType TITLE
A title for the image.


FOCAL_LENGTH

public static final ImageMetadataType FOCAL_LENGTH
The focal length the photo was taken with.


FOCAL_LENGTH_35MM_EQUIV

public static final ImageMetadataType FOCAL_LENGTH_35MM_EQUIV
The focal length in 35mm terms the photo was taken with.


GPS_LONGITUDE

public static final ImageMetadataType GPS_LONGITUDE
The GPS longitude value of the image's location.


GPS_LATITUDE

public static final ImageMetadataType GPS_LATITUDE
The GPS latitude value of the image's location.


EXPOSURE_BIAS

public static final ImageMetadataType EXPOSURE_BIAS
The exposure bias the photo was taken with.


EXPOSURE_TIME

public static final ImageMetadataType EXPOSURE_TIME
The exposure time the photo was taken with.

Method Detail

values

public static final ImageMetadataType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ImageMetadataType c : ImageMetadataType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ImageMetadataType valueOf(java.lang.String name)
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 name

getObjectType

public java.lang.Class<?> getObjectType()
Get the type of object this metadata represents.

Returns:
object type