|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.blinkenlights.jid3.v2.ID3V2Frame
org.blinkenlights.jid3.v2.ETCOID3V2Frame
| Nested Class Summary | |
static class |
ETCOID3V2Frame.Event
Event. |
static class |
ETCOID3V2Frame.EventType
Event types. |
static class |
ETCOID3V2Frame.TimestampFormat
Timestamp format. |
| Constructor Summary | |
ETCOID3V2Frame(ETCOID3V2Frame.TimestampFormat oTimestampFormat)
Constructor. |
|
ETCOID3V2Frame(java.io.InputStream oIS)
|
|
| Method Summary | |
void |
accept(ID3Visitor oID3Visitor)
Accept a visitor. |
void |
addEvent(ETCOID3V2Frame.Event oEvent)
Add an event to the list. |
boolean |
equals(java.lang.Object oOther)
|
ETCOID3V2Frame.Event |
getEvent(int iTimestamp)
Get the event which has been set for a given time. |
ETCOID3V2Frame.Event[] |
getEvents()
Get all events which have been set. |
protected byte[] |
getFrameId()
Get the four bytes which uniquely specify of which type this frame is. |
ETCOID3V2Frame.TimestampFormat |
getTimestampFormat()
Get the set timestamp format. |
ETCOID3V2Frame.Event |
removeEvent(ETCOID3V2Frame.Event oEvent)
Remove the event set for a specific time. |
java.lang.String |
toString()
Represent the contents of this frame as a string. |
protected void |
writeBody(ID3DataOutputStream oIDOS)
Write the body of the frame to an ID3 data output stream. |
| Methods inherited from class org.blinkenlights.jid3.v2.ID3V2Frame |
addID3Observer, getEncryptionMethod, isEncrypted, notifyID3Observers, removeID3Observer, setCompressionFlag, setEncryption, setFileAlterPreservationFlag, setGroupingIdentityFlag, setReadOnlyFlag, setTagAlterPreservationFlag, write, writeHeader |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ETCOID3V2Frame(ETCOID3V2Frame.TimestampFormat oTimestampFormat)
throws ID3Exception
oTimestampFormat - the format for timestamps, whether by millisecond or frame count
ID3Exception - if oTimestampFormat object is null
public ETCOID3V2Frame(java.io.InputStream oIS)
throws ID3Exception
| Method Detail |
public void accept(ID3Visitor oID3Visitor)
ID3Visitable
oID3Visitor - a visitor of this objectpublic ETCOID3V2Frame.TimestampFormat getTimestampFormat()
public void addEvent(ETCOID3V2Frame.Event oEvent)
oEvent - the event being set
public ETCOID3V2Frame.Event getEvent(int iTimestamp)
throws ID3Exception
ID3Exception - if the timestamp specified is negativepublic ETCOID3V2Frame.Event[] getEvents()
public ETCOID3V2Frame.Event removeEvent(ETCOID3V2Frame.Event oEvent)
protected byte[] getFrameId()
ID3V2Frame
getFrameId in class ID3V2Framepublic java.lang.String toString()
ID3V2Frame
toString in class ID3V2Frame
protected void writeBody(ID3DataOutputStream oIDOS)
throws java.io.IOException
ID3V2Frame
writeBody in class ID3V2FrameoIDOS - the output stream to write to
java.io.IOExceptionpublic boolean equals(java.lang.Object oOther)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||