bbc.rd.id3
Class COMMFrame

java.lang.Object
  extended bybbc.rd.id3.COMMFrame
All Implemented Interfaces:
de.vdheide.mp3.ID3v2Frame

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

Class representing an ID3v2 "COMM" frame.

Author:
Chris Newell, BBC R&D.

Field Summary
 
Fields inherited from interface de.vdheide.mp3.ID3v2Frame
ID_INVALID
 
Constructor Summary
COMMFrame(de.vdheide.mp3.ID3v2Frame frame)
           
COMMFrame(java.lang.String language, java.lang.String description, java.lang.String text)
           
 
Method Summary
 byte[] getBytes()
           
 byte[] getContent()
           
 int getContentLength()
           
 java.lang.String getDescription()
           
 int getEncoding()
           
 java.lang.String getID()
           
 java.lang.String getLanguage()
           
 int getLength()
           
 java.lang.String getText()
           
 void setID(java.lang.String frameId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

COMMFrame

public COMMFrame(java.lang.String language,
                 java.lang.String description,
                 java.lang.String text)

COMMFrame

public COMMFrame(de.vdheide.mp3.ID3v2Frame frame)
Throws:
java.io.IOException
de.vdheide.mp3.ID3v2DecompressionException
Method Detail

getEncoding

public int getEncoding()
Returns:
Returns the encoding.

getLanguage

public java.lang.String getLanguage()
Returns:
Returns the language code.

getDescription

public java.lang.String getDescription()
Returns:
Returns the language code.

getText

public java.lang.String getText()
Returns:
Returns the text.

getContentLength

public int getContentLength()

getLength

public int getLength()
Specified by:
getLength in interface de.vdheide.mp3.ID3v2Frame

getContent

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

toString

public java.lang.String toString()

getID

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

setID

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

getBytes

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


BBC 2005. All rights reserved.