org.jaudiotagger.tag.datatype
Class StringDate

java.lang.Object
  extended by org.jaudiotagger.tag.datatype.AbstractDataType
      extended by org.jaudiotagger.tag.datatype.AbstractString
          extended by org.jaudiotagger.tag.datatype.StringFixedLength
              extended by org.jaudiotagger.tag.datatype.StringDate

public class StringDate
extends StringFixedLength

Represents a timestamp field


Field Summary
 
Fields inherited from class org.jaudiotagger.tag.datatype.AbstractDataType
frameBody, identifier, logger, size, TYPE_ELEMENT, value
 
Constructor Summary
StringDate(java.lang.String identifier, AbstractTagFrameBody frameBody)
          Creates a new ObjectStringDate datatype.
StringDate(StringDate object)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getValue()
          Get value held by this Object
 void setValue(java.lang.Object value)
          Set the value held by this datatype, this is used typically used when the user wants to modify the value in an existing frame.
 
Methods inherited from class org.jaudiotagger.tag.datatype.StringFixedLength
getTextEncodingCharSet, readByteArray, writeByteArray
 
Methods inherited from class org.jaudiotagger.tag.datatype.AbstractString
canBeEncoded, getSize, setSize, toString
 
Methods inherited from class org.jaudiotagger.tag.datatype.AbstractDataType
createStructure, getBody, getIdentifier, readByteArray, setBody
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringDate

public StringDate(java.lang.String identifier,
                  AbstractTagFrameBody frameBody)
Creates a new ObjectStringDate datatype.

Parameters:
identifier -
frameBody -

StringDate

public StringDate(StringDate object)
Method Detail

setValue

public void setValue(java.lang.Object value)
Description copied from class: AbstractDataType
Set the value held by this datatype, this is used typically used when the user wants to modify the value in an existing frame.

Overrides:
setValue in class AbstractDataType
Parameters:
value -

getValue

public java.lang.Object getValue()
Description copied from class: AbstractDataType
Get value held by this Object

Overrides:
getValue in class AbstractDataType
Returns:

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class StringFixedLength
Returns:
if obj is equivalent to this