org.farng.mp3.object
Class ObjectStringHashMap

java.lang.Object
  extended byorg.farng.mp3.object.AbstractMP3Object
      extended byorg.farng.mp3.object.ObjectStringFixedLength
          extended byorg.farng.mp3.object.ObjectStringHashMap
All Implemented Interfaces:
ObjectHashMapInterface

public class ObjectStringHashMap
extends ObjectStringFixedLength
implements ObjectHashMapInterface

ID3v2 and Lyrics3v2 tags have individual fields AbstractMP3Fragments Then each fragment is broken down in to individual AbstractMP3Objects

Version:
$Revision: 1.4 $
Author:
Eric Farng

Field Summary
static java.lang.String LANGUAGE
           
 
Fields inherited from class org.farng.mp3.object.AbstractMP3Object
identifier, value
 
Constructor Summary
ObjectStringHashMap(ObjectStringHashMap copyObject)
          Creates a new ObjectStringHashMap object.
ObjectStringHashMap(java.lang.String identifier, int size)
          Creates a new ObjectStringHashMap object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.HashMap getIdToString()
           
 java.util.HashMap getStringToId()
           
 java.util.Iterator iterator()
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class org.farng.mp3.object.ObjectStringFixedLength
getLength, getSize, readString, setLength, writeString
 
Methods inherited from class org.farng.mp3.object.AbstractMP3Object
getIdentifier, getValue, readByteArray, readByteArray, readString, writeByteArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LANGUAGE

public static final java.lang.String LANGUAGE
See Also:
Constant Field Values
Constructor Detail

ObjectStringHashMap

public ObjectStringHashMap(java.lang.String identifier,
                           int size)
Creates a new ObjectStringHashMap object.


ObjectStringHashMap

public ObjectStringHashMap(ObjectStringHashMap copyObject)
Creates a new ObjectStringHashMap object.

Method Detail

getIdToString

public java.util.HashMap getIdToString()
Specified by:
getIdToString in interface ObjectHashMapInterface

getStringToId

public java.util.HashMap getStringToId()
Specified by:
getStringToId in interface ObjectHashMapInterface

setValue

public void setValue(java.lang.Object value)
Overrides:
setValue in class AbstractMP3Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class ObjectStringFixedLength

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface ObjectHashMapInterface

toString

public java.lang.String toString()
Overrides:
toString in class ObjectStringFixedLength


Copyright (c) 2004 Eric Farng