org.farng.mp3.object
Class ObjectByteArraySizeTerminated

java.lang.Object
  extended by org.farng.mp3.object.AbstractMP3Object
      extended by org.farng.mp3.object.ObjectByteArraySizeTerminated
All Implemented Interfaces:
MP3Object

public class ObjectByteArraySizeTerminated
extends AbstractMP3Object

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

Version:
$Revision: 3 $
Author:
Eric Farng

Field Summary
 
Fields inherited from class org.farng.mp3.object.AbstractMP3Object
identifier, value
 
Constructor Summary
ObjectByteArraySizeTerminated(ObjectByteArraySizeTerminated object)
          Creates a new ObjectByteArraySizeTerminated object.
ObjectByteArraySizeTerminated(java.lang.String identifier)
          Creates a new ObjectByteArraySizeTerminated object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getSize()
          Get the size of this object, in bytes.
 void readByteArray(byte[] arr, int offset)
           
 java.lang.String toString()
          Get a string representation of this object.
 byte[] writeByteArray()
           
 
Methods inherited from class org.farng.mp3.object.AbstractMP3Object
getIdentifier, getValue, readByteArray, readString, readString, setValue, writeString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectByteArraySizeTerminated

public ObjectByteArraySizeTerminated(java.lang.String identifier)
Creates a new ObjectByteArraySizeTerminated object.


ObjectByteArraySizeTerminated

public ObjectByteArraySizeTerminated(ObjectByteArraySizeTerminated object)
Creates a new ObjectByteArraySizeTerminated object.

Method Detail

getSize

public int getSize()
Description copied from interface: MP3Object
Get the size of this object, in bytes.

Returns:
the size

equals

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

readByteArray

public void readByteArray(byte[] arr,
                          int offset)
Overrides:
readByteArray in class AbstractMP3Object

toString

public java.lang.String toString()
Description copied from interface: MP3Object
Get a string representation of this object.

Specified by:
toString in interface MP3Object
Overrides:
toString in class java.lang.Object
Returns:
string

writeByteArray

public byte[] writeByteArray()
Overrides:
writeByteArray in class AbstractMP3Object