org.farng.mp3.object
Class ObjectBooleanByte

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

public class ObjectBooleanByte
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
ObjectBooleanByte(ObjectBooleanByte copyObject)
          Creates a new ObjectBooleanByte object.
ObjectBooleanByte(java.lang.String identifier, int bitPosition)
          Creates a new ObjectBooleanByte object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getBitPosition()
           
 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

ObjectBooleanByte

public ObjectBooleanByte(java.lang.String identifier,
                         int bitPosition)
Creates a new ObjectBooleanByte object.


ObjectBooleanByte

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

Method Detail

getBitPosition

public int getBitPosition()

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