public class EventTimingCode extends AbstractDataType implements Cloneable
EventTimingCodeList
), that are contained in
FrameBodyETCO
.frameBody, identifier, logger, size, TYPE_ELEMENT, value
Constructor and Description |
---|
EventTimingCode(EventTimingCode copy) |
EventTimingCode(String identifier,
AbstractTagFrameBody frameBody) |
EventTimingCode(String identifier,
AbstractTagFrameBody frameBody,
int type,
long timestamp) |
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.
|
long |
getTimestamp() |
int |
getType() |
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 |
setTimestamp(long timestamp) |
void |
setType(int type) |
String |
toString() |
byte[] |
writeByteArray()
Starting point write ID3 Datatype back to array of bytes.
|
createStructure, getBody, getIdentifier, getValue, readByteArray, setValue
public EventTimingCode(EventTimingCode copy)
public EventTimingCode(String identifier, AbstractTagFrameBody frameBody)
public EventTimingCode(String identifier, AbstractTagFrameBody frameBody, int type, long timestamp)
public void setBody(AbstractTagFrameBody frameBody)
AbstractDataType
setBody
in class AbstractDataType
public long getTimestamp()
public void setTimestamp(long timestamp)
public int getType()
public void setType(int type)
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.