public class XmpDirectory extends Directory
Modifier and Type | Field and Description |
---|---|
static int |
TAG_APERTURE_VALUE |
static int |
TAG_CAMERA_SERIAL_NUMBER |
static int |
TAG_DATETIME_DIGITIZED |
static int |
TAG_DATETIME_ORIGINAL |
static int |
TAG_EXPOSURE_PROGRAM |
static int |
TAG_EXPOSURE_TIME |
static int |
TAG_F_NUMBER |
static int |
TAG_FIRMWARE |
static int |
TAG_FOCAL_LENGTH |
static int |
TAG_LABEL
Generally a color value Blue, Red, Green, Yellow, Purple
|
static int |
TAG_LENS |
static int |
TAG_LENS_INFO |
static int |
TAG_MAKE |
static int |
TAG_MODEL |
static int |
TAG_RATING
A value from 0 to 5, or -1 if the image is rejected.
|
static int |
TAG_SHUTTER_SPEED |
static int |
TAG_SUBJECT
Keywords
|
static int |
TAG_XMP_VALUE_COUNT |
Constructor and Description |
---|
XmpDirectory() |
Modifier and Type | Method and Description |
---|---|
void |
deleteProperty(int tagType) |
String |
getName()
Provides the name of the directory, for display purposes.
|
com.adobe.xmp.XMPMeta |
getXMPMeta()
Gets the XMPMeta object used to populate this directory.
|
Map<String,String> |
getXmpProperties()
Gets a map of all XMP properties in this directory, not just the known ones.
|
void |
setXMPMeta(com.adobe.xmp.XMPMeta xmpMeta) |
void |
updateBoolean(int tagType,
boolean value) |
void |
updateDate(int tagType,
Date value) |
void |
updateDouble(int tagType,
double value) |
void |
updateDoubleArray(int tagType,
double[] doubles) |
void |
updateFloat(int tagType,
float value) |
void |
updateFloatArray(int tagType,
float[] floats) |
void |
updateInt(int tagType,
int value) |
void |
updateIntArray(int tagType,
int[] ints) |
void |
updateLong(int tagType,
long value) |
void |
updateString(int tagType,
String value) |
void |
updateStringArray(int tagType,
String[] strings) |
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getRational, getRationalArray, getString, getString, getStringArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setRational, setRationalArray, setString, setStringArray, toString
public static final int TAG_XMP_VALUE_COUNT
public static final int TAG_MAKE
public static final int TAG_MODEL
public static final int TAG_EXPOSURE_TIME
public static final int TAG_SHUTTER_SPEED
public static final int TAG_F_NUMBER
public static final int TAG_LENS_INFO
public static final int TAG_LENS
public static final int TAG_CAMERA_SERIAL_NUMBER
public static final int TAG_FIRMWARE
public static final int TAG_FOCAL_LENGTH
public static final int TAG_APERTURE_VALUE
public static final int TAG_EXPOSURE_PROGRAM
public static final int TAG_DATETIME_ORIGINAL
public static final int TAG_DATETIME_DIGITIZED
public static final int TAG_RATING
public static final int TAG_LABEL
public static int TAG_SUBJECT
public String getName()
Directory
Exif
public Map<String,String> getXmpProperties()
This is required because XMP properties are represented as strings, whereas the rest of this library uses integers for keys.
public void setXMPMeta(com.adobe.xmp.XMPMeta xmpMeta)
public com.adobe.xmp.XMPMeta getXMPMeta()
public void updateInt(int tagType, int value)
public void updateIntArray(int tagType, int[] ints)
public void updateFloat(int tagType, float value)
public void updateFloatArray(int tagType, float[] floats)
public void updateDouble(int tagType, double value)
public void updateDoubleArray(int tagType, double[] doubles)
public void updateString(int tagType, String value)
public void deleteProperty(int tagType)
public void updateStringArray(int tagType, String[] strings)
public void updateBoolean(int tagType, boolean value)
public void updateLong(int tagType, long value)
public void updateDate(int tagType, Date value)
Copyright © 2002-2015 Drew Noakes. All Rights Reserved.