Package com.drew.metadata.mp4.media
Class Mp4SoundDirectory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.mp4.Mp4Directory
-
- com.drew.metadata.mp4.media.Mp4MediaDirectory
-
- com.drew.metadata.mp4.media.Mp4SoundDirectory
-
public class Mp4SoundDirectory extends Mp4MediaDirectory
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_AUDIO_FORMATstatic intTAG_AUDIO_SAMPLE_RATEstatic intTAG_AUDIO_SAMPLE_SIZEstatic intTAG_NUMBER_OF_CHANNELSstatic intTAG_SOUND_BALANCE-
Fields inherited from class com.drew.metadata.mp4.media.Mp4MediaDirectory
TAG_CREATION_TIME, TAG_DURATION, TAG_LANGUAGE_CODE, TAG_MODIFICATION_TIME
-
Fields inherited from class com.drew.metadata.mp4.Mp4Directory
TAG_COMPATIBLE_BRANDS, TAG_CURRENT_TIME, TAG_DURATION_SECONDS, TAG_LATITUDE, TAG_LONGITUDE, TAG_MAJOR_BRAND, TAG_MEDIA_TIME_SCALE, TAG_MINOR_VERSION, TAG_NEXT_TRACK_ID, TAG_POSTER_TIME, TAG_PREFERRED_RATE, TAG_PREFERRED_VOLUME, TAG_PREVIEW_DURATION, TAG_PREVIEW_TIME, TAG_ROTATION, TAG_SELECTION_DURATION, TAG_SELECTION_TIME, TAG_TIME_SCALE, TAG_TRANSFORMATION_MATRIX
-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description Mp4SoundDirectory()
-
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.mp4.media.Mp4MediaDirectory
addMp4MediaTags
-
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_AUDIO_FORMAT
public static final int TAG_AUDIO_FORMAT
- See Also:
- Constant Field Values
-
TAG_NUMBER_OF_CHANNELS
public static final int TAG_NUMBER_OF_CHANNELS
- See Also:
- Constant Field Values
-
TAG_AUDIO_SAMPLE_SIZE
public static final int TAG_AUDIO_SAMPLE_SIZE
- See Also:
- Constant Field Values
-
TAG_AUDIO_SAMPLE_RATE
public static final int TAG_AUDIO_SAMPLE_RATE
- See Also:
- Constant Field Values
-
TAG_SOUND_BALANCE
public static final int TAG_SOUND_BALANCE
- 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- Overrides:
getNamein classMp4Directory- Returns:
- the name of the directory
-
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.- Overrides:
getTagNameMapin classMp4Directory- Returns:
- the map of tag names
-
-