bbc.rd.id3
Class ChapterFrame

java.lang.Object
  extended bybbc.rd.id3.ChapterFrame
All Implemented Interfaces:
de.vdheide.mp3.ID3v2Frame
Direct Known Subclasses:
CHAPFrame, CTOCFrame

public abstract class ChapterFrame
extends java.lang.Object
implements de.vdheide.mp3.ID3v2Frame

Abstract class representing an ID3v2 chapter frame.

Author:
Chris Newell, BBC R&D.

Field Summary
 
Fields inherited from interface de.vdheide.mp3.ID3v2Frame
ID_INVALID
 
Constructor Summary
ChapterFrame(de.vdheide.mp3.ID3v2Frame frame)
           
ChapterFrame(java.lang.String frameId, java.lang.String elementId)
           
 
Method Summary
 void addSubFrame(de.vdheide.mp3.ID3v2Frame frame)
           
 byte[] getBytes()
           
 java.lang.String getElementId()
           
 java.lang.String getID()
           
 int getNumSubFrames()
           
 de.vdheide.mp3.ID3v2Frame getSubFrame(int index)
           
 java.util.Vector getSubFrames()
           
 void setID(java.lang.String id)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.vdheide.mp3.ID3v2Frame
getContent, getLength
 

Constructor Detail

ChapterFrame

public ChapterFrame(java.lang.String frameId,
                    java.lang.String elementId)

ChapterFrame

public ChapterFrame(de.vdheide.mp3.ID3v2Frame frame)
Method Detail

addSubFrame

public void addSubFrame(de.vdheide.mp3.ID3v2Frame frame)

getSubFrame

public de.vdheide.mp3.ID3v2Frame getSubFrame(int index)

getElementId

public java.lang.String getElementId()
Returns:
Returns the elementId.

getNumSubFrames

public int getNumSubFrames()

getSubFrames

public java.util.Vector getSubFrames()
Returns:
Returns the subFrames.

toString

public java.lang.String toString()

setID

public void setID(java.lang.String id)
Specified by:
setID in interface de.vdheide.mp3.ID3v2Frame

getID

public java.lang.String getID()
Specified by:
getID in interface de.vdheide.mp3.ID3v2Frame

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface de.vdheide.mp3.ID3v2Frame


BBC 2005. All rights reserved.