Package com.drew.metadata.wav
Class WavDirectory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.wav.WavDirectory
-
public class WavDirectory extends Directory
Holds basic metadata from Wav files including some ID3 tags
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.util.HashMap<java.lang.Integer,java.lang.String>_audioEncodingMap(package private) static java.util.HashMap<java.lang.String,java.lang.Integer>_tagIntegerMapprivate static java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic java.lang.StringCHUNK_DATAstatic java.lang.StringCHUNK_FORMATstatic java.lang.StringFORMATstatic java.lang.StringLIST_INFOstatic intTAG_ARTISTstatic intTAG_BITS_PER_SAMPLEstatic intTAG_BLOCK_ALIGNMENTstatic intTAG_BYTES_PER_SECstatic intTAG_CHANNELSstatic intTAG_COMMENTSstatic intTAG_COPYRIGHTstatic intTAG_DATE_CREATEDstatic intTAG_DURATIONstatic intTAG_FORMATstatic intTAG_GENREstatic intTAG_PRODUCTstatic intTAG_SAMPLES_PER_SECstatic intTAG_SOFTWAREstatic intTAG_TITLEstatic intTAG_TRACK_NUMBER-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description WavDirectory()
-
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_FORMAT
public static final int TAG_FORMAT
- See Also:
- Constant Field Values
-
TAG_CHANNELS
public static final int TAG_CHANNELS
- See Also:
- Constant Field Values
-
TAG_SAMPLES_PER_SEC
public static final int TAG_SAMPLES_PER_SEC
- See Also:
- Constant Field Values
-
TAG_BYTES_PER_SEC
public static final int TAG_BYTES_PER_SEC
- See Also:
- Constant Field Values
-
TAG_BLOCK_ALIGNMENT
public static final int TAG_BLOCK_ALIGNMENT
- See Also:
- Constant Field Values
-
TAG_BITS_PER_SAMPLE
public static final int TAG_BITS_PER_SAMPLE
- See Also:
- Constant Field Values
-
TAG_ARTIST
public static final int TAG_ARTIST
- See Also:
- Constant Field Values
-
TAG_TITLE
public static final int TAG_TITLE
- See Also:
- Constant Field Values
-
TAG_PRODUCT
public static final int TAG_PRODUCT
- See Also:
- Constant Field Values
-
TAG_TRACK_NUMBER
public static final int TAG_TRACK_NUMBER
- See Also:
- Constant Field Values
-
TAG_DATE_CREATED
public static final int TAG_DATE_CREATED
- See Also:
- Constant Field Values
-
TAG_GENRE
public static final int TAG_GENRE
- See Also:
- Constant Field Values
-
TAG_COMMENTS
public static final int TAG_COMMENTS
- See Also:
- Constant Field Values
-
TAG_COPYRIGHT
public static final int TAG_COPYRIGHT
- See Also:
- Constant Field Values
-
TAG_SOFTWARE
public static final int TAG_SOFTWARE
- See Also:
- Constant Field Values
-
TAG_DURATION
public static final int TAG_DURATION
- See Also:
- Constant Field Values
-
CHUNK_FORMAT
public static final java.lang.String CHUNK_FORMAT
- See Also:
- Constant Field Values
-
CHUNK_DATA
public static final java.lang.String CHUNK_DATA
- See Also:
- Constant Field Values
-
LIST_INFO
public static final java.lang.String LIST_INFO
- 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
-
_tagIntegerMap
static final transient java.util.HashMap<java.lang.String,java.lang.Integer> _tagIntegerMap
-
_audioEncodingMap
static final transient java.util.HashMap<java.lang.Integer,java.lang.String> _audioEncodingMap
-
-
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
-
-