org.jaudiotagger.tag.datatype
Class BooleanString
java.lang.Object
org.jaudiotagger.tag.datatype.AbstractDataType
org.jaudiotagger.tag.datatype.BooleanString
public class BooleanString
- extends AbstractDataType
Method Summary |
boolean |
equals(java.lang.Object obj)
|
int |
getSize()
This defines the size in bytes of the datatype being
held when read/written to file. |
void |
readByteArray(byte[] arr,
int offset)
This is the starting point for reading bytes from the file into the ID3 datatype
starting at offset. |
java.lang.String |
toString()
|
byte[] |
writeByteArray()
Starting point write ID3 Datatype back to array of bytes. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanString
public BooleanString(java.lang.String identifier,
AbstractTagFrameBody frameBody)
- Creates a new ObjectBooleanString datatype.
- Parameters:
identifier
- frameBody
-
BooleanString
public BooleanString(BooleanString object)
getSize
public int getSize()
- Description copied from class:
AbstractDataType
- This defines the size in bytes of the datatype being
held when read/written to file.
- Specified by:
getSize
in class AbstractDataType
- Returns:
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class AbstractDataType
- Returns:
- whether this and obj are deemed equivalent
readByteArray
public void readByteArray(byte[] arr,
int offset)
throws InvalidDataTypeException
- Description copied from class:
AbstractDataType
- This is the starting point for reading bytes from the file into the ID3 datatype
starting at offset.
This class must be overridden
- Specified by:
readByteArray
in class AbstractDataType
- Parameters:
offset
-
- Throws:
java.lang.NullPointerException
java.lang.IndexOutOfBoundsException
InvalidDataTypeException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
writeByteArray
public byte[] writeByteArray()
- Description copied from class:
AbstractDataType
- Starting point write ID3 Datatype back to array of bytes.
This class must be overridden.
- Specified by:
writeByteArray
in class AbstractDataType
- Returns: