public class BooleanString extends AbstractDataType
frameBody, identifier, logger, size, TYPE_ELEMENT, value
Constructor and Description |
---|
BooleanString(BooleanString object) |
BooleanString(String identifier,
AbstractTagFrameBody frameBody)
Creates a new ObjectBooleanString datatype.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
String |
toString() |
byte[] |
writeByteArray()
Starting point write ID3 Datatype back to array of bytes.
|
createStructure, getBody, getIdentifier, getValue, readByteArray, setBody, setValue
public BooleanString(String identifier, AbstractTagFrameBody frameBody)
identifier
- frameBody
- public BooleanString(BooleanString object)
public int getSize()
AbstractDataType
getSize
in class AbstractDataType
public boolean equals(Object obj)
equals
in class AbstractDataType
public void readByteArray(byte[] arr, int offset) throws InvalidDataTypeException
AbstractDataType
readByteArray
in class AbstractDataType
offset
- NullPointerException
IndexOutOfBoundsException
InvalidDataTypeException
public byte[] writeByteArray()
AbstractDataType
writeByteArray
in class AbstractDataType
Copyright © 2005–2020 jthink.net. All rights reserved.