org.blinkenlights.jid3.v2
Class ETCOID3V2Frame.Event

java.lang.Object
  extended byorg.blinkenlights.jid3.v2.ETCOID3V2Frame.Event
Enclosing class:
ETCOID3V2Frame

public static class ETCOID3V2Frame.Event
extends java.lang.Object

Event. Events are comprised of a timestamp, and a type of event indicated for that time.


Constructor Summary
ETCOID3V2Frame.Event(ETCOID3V2Frame.EventType oEventType, int iTimestamp)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object oOther)
           
 ETCOID3V2Frame.EventType getEventType()
          Get the type of event specified.
 int getTimestamp()
          Get the timestamp for this event.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ETCOID3V2Frame.Event

public ETCOID3V2Frame.Event(ETCOID3V2Frame.EventType oEventType,
                            int iTimestamp)
                     throws ID3Exception
Constructor.

Parameters:
oEventType - the type of event to be indicated
iTimestamp - the time of the event, specified in the chosen format
Throws:
ID3Exception - if the timestamp value is negative
Method Detail

getEventType

public ETCOID3V2Frame.EventType getEventType()
Get the type of event specified.

Returns:
the type of event specified

getTimestamp

public int getTimestamp()
Get the timestamp for this event.

Returns:
the timestamp for this event, to be interpreted in the current chosen format

equals

public boolean equals(java.lang.Object oOther)