public class GenericMetadataDirectory
extends com.drew.metadata.Directory
| Modifier and Type | Field and Description |
|---|---|
protected static HashMap<Integer,String> |
_tagNameMap |
static int |
TAG_AUDIO_CODEC |
static int |
TAG_AUDIO_SAMPLE_RATE |
static int |
TAG_AUDIO_SAMPLE_SIZE |
static int |
TAG_BITS_PER_PIXEL |
static int |
TAG_COLOR_MODE |
static int |
TAG_DPI_HEIGHT |
static int |
TAG_DPI_WIDTH |
static int |
TAG_DURATION |
static int |
TAG_FILE_DATE_TIME |
static int |
TAG_FILE_SIZE |
static int |
TAG_FORMAT |
static int |
TAG_FRAME_RATE |
static int |
TAG_HAS_ALPHA |
static int |
TAG_ORIENTATION |
static int |
TAG_PIXEL_HEIGHT |
static int |
TAG_PIXEL_WIDTH |
static int |
TAG_VIDEO_CODEC |
| Constructor and Description |
|---|
GenericMetadataDirectory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
protected HashMap<Integer,String> |
getTagNameMap() |
void |
setAlpha(boolean alpha) |
void |
setAlpha(com.drew.metadata.Directory directory,
int tagType) |
void |
setAudioCodec(com.drew.metadata.Directory directory,
int tagType) |
void |
setAudioCodec(String audioCodec) |
void |
setAudioSampleRate(com.drew.metadata.Directory directory,
int tagType) |
void |
setAudioSampleRate(double audioSampleRate) |
void |
setAudioSampleSize(com.drew.metadata.Directory directory,
int tagType) |
void |
setAudioSampleSize(int audioSampleSize) |
void |
setBitPerPixel(com.drew.metadata.Directory directory,
int tagType) |
void |
setBitPerPixel(com.drew.metadata.Directory directory,
int tagType1,
int tagType2) |
void |
setBitPerPixel(int bitPerPixel) |
void |
setColorMode(com.drew.metadata.Directory directory,
int tagType) |
void |
setColorMode(String colorMode) |
void |
setDPIHeight(com.drew.metadata.Directory directory,
int tagType) |
void |
setDPIHeight(com.drew.metadata.Directory directory,
int tagType,
double factor) |
void |
setDPIHeight(double dpiHeight) |
void |
setDPIWidth(com.drew.metadata.Directory directory,
int tagType) |
void |
setDPIWidth(com.drew.metadata.Directory directory,
int tagType,
double factor) |
void |
setDPIWidth(double dpiWidth) |
void |
setDuration(com.drew.metadata.Directory directory,
int tagType) |
void |
setDuration(long duration) |
void |
setFrameRate(com.drew.metadata.Directory directory,
int tagType) |
void |
setFrameRate(double frameRate) |
void |
setOrientation(com.drew.metadata.Directory directory,
int tagType) |
void |
setOrientation(int orientation) |
void |
setPixelHeight(com.drew.metadata.Directory directory,
int tagType) |
void |
setPixelHeight(int pixelHeight) |
void |
setPixelWidth(com.drew.metadata.Directory directory,
int tagType) |
void |
setPixelWidth(int pixelWidth) |
void |
setVideoCodec(com.drew.metadata.Directory directory,
int tagType) |
void |
setVideoCodec(String videoCodec) |
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toStringpublic static final int TAG_FILE_SIZE
public static final int TAG_FILE_DATE_TIME
public static final int TAG_FORMAT
public static final int TAG_PIXEL_WIDTH
public static final int TAG_PIXEL_HEIGHT
public static final int TAG_ORIENTATION
public static final int TAG_DPI_WIDTH
public static final int TAG_DPI_HEIGHT
public static final int TAG_COLOR_MODE
public static final int TAG_BITS_PER_PIXEL
public static final int TAG_HAS_ALPHA
public static final int TAG_DURATION
public static final int TAG_VIDEO_CODEC
public static final int TAG_FRAME_RATE
public static final int TAG_AUDIO_CODEC
public static final int TAG_AUDIO_SAMPLE_SIZE
public static final int TAG_AUDIO_SAMPLE_RATE
public String getName()
getName in class com.drew.metadata.Directoryprotected HashMap<Integer,String> getTagNameMap()
getTagNameMap in class com.drew.metadata.Directorypublic void setPixelWidth(int pixelWidth)
public void setPixelWidth(com.drew.metadata.Directory directory,
int tagType)
public void setPixelHeight(int pixelHeight)
public void setPixelHeight(com.drew.metadata.Directory directory,
int tagType)
public void setOrientation(int orientation)
public void setOrientation(com.drew.metadata.Directory directory,
int tagType)
public void setDPIWidth(double dpiWidth)
public void setDPIWidth(com.drew.metadata.Directory directory,
int tagType)
public void setDPIWidth(com.drew.metadata.Directory directory,
int tagType,
double factor)
public void setDPIHeight(double dpiHeight)
public void setDPIHeight(com.drew.metadata.Directory directory,
int tagType)
public void setDPIHeight(com.drew.metadata.Directory directory,
int tagType,
double factor)
public void setColorMode(String colorMode)
public void setColorMode(com.drew.metadata.Directory directory,
int tagType)
public void setBitPerPixel(int bitPerPixel)
public void setBitPerPixel(com.drew.metadata.Directory directory,
int tagType)
public void setBitPerPixel(com.drew.metadata.Directory directory,
int tagType1,
int tagType2)
public void setAlpha(boolean alpha)
public void setAlpha(com.drew.metadata.Directory directory,
int tagType)
public void setDuration(long duration)
public void setDuration(com.drew.metadata.Directory directory,
int tagType)
public void setVideoCodec(String videoCodec)
public void setVideoCodec(com.drew.metadata.Directory directory,
int tagType)
public void setFrameRate(double frameRate)
public void setFrameRate(com.drew.metadata.Directory directory,
int tagType)
public void setAudioCodec(String audioCodec)
public void setAudioCodec(com.drew.metadata.Directory directory,
int tagType)
public void setAudioSampleSize(int audioSampleSize)
public void setAudioSampleSize(com.drew.metadata.Directory directory,
int tagType)
public void setAudioSampleRate(double audioSampleRate)
public void setAudioSampleRate(com.drew.metadata.Directory directory,
int tagType)
Copyright © 2021 The Apache Software Foundation. All rights reserved.