public class SynchronisedTempoCode extends AbstractDataType implements Cloneable
SynchronisedTempoCodeList
), that are contained in
FrameBodySYTC
frameBody, identifier, logger, size, TYPE_ELEMENT, value
Constructor and Description |
---|
SynchronisedTempoCode(String identifier,
AbstractTagFrameBody frameBody) |
SynchronisedTempoCode(String identifier,
AbstractTagFrameBody frameBody,
int tempo,
long timestamp) |
SynchronisedTempoCode(SynchronisedTempoCode copy) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object o) |
int |
getSize()
This defines the size in bytes of the datatype being
held when read/written to file.
|
int |
getTempo() |
long |
getTimestamp() |
int |
hashCode() |
void |
readByteArray(byte[] buffer,
int originalOffset)
This is the starting point for reading bytes from the file into the ID3 datatype
starting at offset.
|
void |
setBody(AbstractTagFrameBody frameBody)
Set the framebody that this datatype is associated with
|
void |
setTempo(int tempo) |
void |
setTimestamp(long timestamp) |
String |
toString() |
byte[] |
writeByteArray()
Starting point write ID3 Datatype back to array of bytes.
|
createStructure, getBody, getIdentifier, getValue, readByteArray, setValue
public SynchronisedTempoCode(SynchronisedTempoCode copy)
public SynchronisedTempoCode(String identifier, AbstractTagFrameBody frameBody)
public SynchronisedTempoCode(String identifier, AbstractTagFrameBody frameBody, int tempo, long timestamp)
public void setBody(AbstractTagFrameBody frameBody)
AbstractDataType
setBody
in class AbstractDataType
public long getTimestamp()
public void setTimestamp(long timestamp)
public int getTempo()
public void setTempo(int tempo)
public int getSize()
AbstractDataType
getSize
in class AbstractDataType
public void readByteArray(byte[] buffer, int originalOffset) throws InvalidDataTypeException
AbstractDataType
readByteArray
in class AbstractDataType
InvalidDataTypeException
public byte[] writeByteArray()
AbstractDataType
writeByteArray
in class AbstractDataType
public boolean equals(Object o)
equals
in class AbstractDataType
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2005–2020 jthink.net. All rights reserved.