bbc.rd.id3
Class TextFrame

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

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

Class representing a generic ID3v2 Text frame.

Author:
Chris Newell, BBC R&D.

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

Constructor Detail

TextFrame

public TextFrame(java.lang.String frameId)

TextFrame

public TextFrame(java.lang.String frameId,
                 java.lang.String text)

TextFrame

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

getEncoding

public int getEncoding()
Returns:
Returns the encoding.

setText

public void setText(java.lang.String text)
Returns:
Set the text carried by this TextFrame.

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.