bbc.rd.id3
Class URLFrame

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

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

Class representing a generic URL frame.

Author:
Chris Newell, BBC R&D.

Field Summary
 
Fields inherited from interface de.vdheide.mp3.ID3v2Frame
ID_INVALID
 
Constructor Summary
URLFrame(de.vdheide.mp3.ID3v2Frame frame)
           
URLFrame(java.lang.String frameId, java.lang.String url)
           
 
Method Summary
 byte[] getBytes()
           
 byte[] getContent()
           
 int getContentLength()
           
 int getEncoding()
           
 java.lang.String getID()
           
 int getLength()
           
 java.lang.String getURL()
           
 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

URLFrame

public URLFrame(java.lang.String frameId,
                java.lang.String url)

URLFrame

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

getEncoding

public int getEncoding()
Returns:
Returns the encoding.

getURL

public java.lang.String getURL()
Returns:
Returns the URL

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.