org.farng.mp3.object
Interface MP3Object

All Known Implementing Classes:
AbstractMP3Object, AbstractTextObject, ObjectBooleanByte, ObjectBooleanString, ObjectByteArraySizeTerminated, ObjectGroupRepeated, ObjectID3v2LyricLine, ObjectLyrics3Image, ObjectLyrics3Line, ObjectLyrics3TimeStamp, ObjectNumberFixedLength, ObjectNumberHashMap, ObjectNumberVariableLength, ObjectStringDate, ObjectStringDateTime, ObjectStringFixedLength, ObjectStringHashMap, ObjectStringNullTerminated, ObjectStringSizeTerminated

public interface MP3Object

API for a MP3 metadata object type.

MP3 metadata object types includes things such as a "string" type, "number" type, "lyric line" type, "image" type, etc. This API defines a standard way of accessing the content of each type.

Version:
$Revision: 3 $ $Date: 2008-12-27 08:09:28 +1300 (Sat, 27 Dec 2008) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Method Summary
 java.lang.String getIdentifier()
          Get the identifier for this object.
 int getSize()
          Get the size of this object, in bytes.
 java.lang.Object getValue()
          Get the value of this object.
 java.lang.String toString()
          Get a string representation of this object.
 

Method Detail

getIdentifier

java.lang.String getIdentifier()
Get the identifier for this object.

Returns:
the object ID

getValue

java.lang.Object getValue()
Get the value of this object.

Returns:
the object

getSize

int getSize()
Get the size of this object, in bytes.

Returns:
the size

toString

java.lang.String toString()
Get a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
string