public class BooleanString extends AbstractDataType
frameBody, identifier, logger, size, TYPE_ELEMENT, value
Constructor and Description |
---|
BooleanString(BooleanString object) |
BooleanString(java.lang.String identifier,
AbstractTagFrameBody frameBody)
Creates a new ObjectBooleanString datatype.
|
Modifier and Type | Method and Description |
---|---|
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.
|
createStructure, getBody, getIdentifier, getValue, readByteArray, setBody, setValue
public BooleanString(java.lang.String identifier, AbstractTagFrameBody frameBody)
identifier
- frameBody
- public BooleanString(BooleanString object)
public int getSize()
AbstractDataType
getSize
in class AbstractDataType
public boolean equals(java.lang.Object obj)
equals
in class AbstractDataType
public void readByteArray(byte[] arr, int offset) throws InvalidDataTypeException
AbstractDataType
readByteArray
in class AbstractDataType
offset
- java.lang.NullPointerException
java.lang.IndexOutOfBoundsException
InvalidDataTypeException
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] writeByteArray()
AbstractDataType
writeByteArray
in class AbstractDataType
Copyright © 2005-2013 java.net. All Rights Reserved.