Package com.drew.metadata.avi
Class AviDirectory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.avi.AviDirectory
-
public class AviDirectory extends Directory
Holds basic metadata from Avi files
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic java.lang.StringCHUNK_DATETIME_ORIGINALstatic java.lang.StringCHUNK_MAIN_HEADERstatic java.lang.StringCHUNK_STREAM_HEADERstatic java.lang.StringFORMATstatic java.lang.StringLIST_HEADERstatic java.lang.StringLIST_STREAM_HEADERstatic intTAG_AUDIO_CODECstatic intTAG_DATETIME_ORIGINALstatic intTAG_DURATIONstatic intTAG_FRAMES_PER_SECONDstatic intTAG_HEIGHTstatic intTAG_SAMPLES_PER_SECONDstatic intTAG_STREAMSstatic intTAG_VIDEO_CODECstatic intTAG_WIDTH-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description AviDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Provides the name of the directory, for display purposes.protected java.util.HashMap<java.lang.Integer,java.lang.String>getTagNameMap()Provides the map of tag names, hashed by tag type identifier.-
Methods inherited from class com.drew.metadata.Directory
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, toString
-
-
-
-
Field Detail
-
TAG_FRAMES_PER_SECOND
public static final int TAG_FRAMES_PER_SECOND
- See Also:
- Constant Field Values
-
TAG_SAMPLES_PER_SECOND
public static final int TAG_SAMPLES_PER_SECOND
- See Also:
- Constant Field Values
-
TAG_DURATION
public static final int TAG_DURATION
- See Also:
- Constant Field Values
-
TAG_VIDEO_CODEC
public static final int TAG_VIDEO_CODEC
- See Also:
- Constant Field Values
-
TAG_AUDIO_CODEC
public static final int TAG_AUDIO_CODEC
- See Also:
- Constant Field Values
-
TAG_WIDTH
public static final int TAG_WIDTH
- See Also:
- Constant Field Values
-
TAG_HEIGHT
public static final int TAG_HEIGHT
- See Also:
- Constant Field Values
-
TAG_STREAMS
public static final int TAG_STREAMS
- See Also:
- Constant Field Values
-
TAG_DATETIME_ORIGINAL
public static final int TAG_DATETIME_ORIGINAL
- See Also:
- Constant Field Values
-
CHUNK_STREAM_HEADER
public static final java.lang.String CHUNK_STREAM_HEADER
- See Also:
- Constant Field Values
-
CHUNK_MAIN_HEADER
public static final java.lang.String CHUNK_MAIN_HEADER
- See Also:
- Constant Field Values
-
CHUNK_DATETIME_ORIGINAL
public static final java.lang.String CHUNK_DATETIME_ORIGINAL
- See Also:
- Constant Field Values
-
LIST_HEADER
public static final java.lang.String LIST_HEADER
- See Also:
- Constant Field Values
-
LIST_STREAM_HEADER
public static final java.lang.String LIST_STREAM_HEADER
- See Also:
- Constant Field Values
-
FORMAT
public static final java.lang.String FORMAT
- See Also:
- Constant Field Values
-
_tagNameMap
private static final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:DirectoryProvides the name of the directory, for display purposes. E.g.Exif
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classDirectory- Returns:
- the map of tag names
-
-