Package com.drew.metadata.mp3
Class Mp3Directory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.mp3.Mp3Directory
-
public class Mp3Directory extends Directory
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_BITRATEstatic intTAG_COPYRIGHTstatic intTAG_EMPHASISstatic intTAG_FRAME_SIZEstatic intTAG_FREQUENCYstatic intTAG_IDstatic intTAG_LAYERstatic intTAG_MODE-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description Mp3Directory()
-
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_ID
public static final int TAG_ID
- See Also:
- Constant Field Values
-
TAG_LAYER
public static final int TAG_LAYER
- See Also:
- Constant Field Values
-
TAG_BITRATE
public static final int TAG_BITRATE
- See Also:
- Constant Field Values
-
TAG_FREQUENCY
public static final int TAG_FREQUENCY
- See Also:
- Constant Field Values
-
TAG_MODE
public static final int TAG_MODE
- See Also:
- Constant Field Values
-
TAG_EMPHASIS
public static final int TAG_EMPHASIS
- See Also:
- Constant Field Values
-
TAG_COPYRIGHT
public static final int TAG_COPYRIGHT
- See Also:
- Constant Field Values
-
TAG_FRAME_SIZE
public static final int TAG_FRAME_SIZE
- 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
-
-