org.farng.mp3.id3
Class FrameBodyUSER

java.lang.Object
  extended byorg.farng.mp3.AbstractMP3FileItem
      extended byorg.farng.mp3.AbstractMP3FragmentBody
          extended byorg.farng.mp3.id3.AbstractID3v2FrameBody
              extended byorg.farng.mp3.id3.FrameBodyUSER

public class FrameBodyUSER
extends AbstractID3v2FrameBody

4.22.   Terms of use frame

   This frame contains a brief description of the terms of use and
   ownership of the file. More detailed information concerning the legal
   terms might be available through the "WCOP" frame. Newlines are
   allowed in the text. There may be more than one 'Terms of use' frame

   in a tag, but only one with the same 'Language'.

     <Header for 'Terms of use frame', ID: "USER">
     Text encoding        $xx
    

Language             $xx xx xx
     The actual text      <text string according to encoding>

Version:
$Revision: 1.4 $
Author:
Eric Farng

Constructor Summary
FrameBodyUSER()
          Creates a new FrameBodyUSER object.
FrameBodyUSER(byte textEncoding, java.lang.String language, java.lang.String text)
          Creates a new FrameBodyUSER object.
FrameBodyUSER(FrameBodyUSER body)
          Creates a new FrameBodyUSER object.
FrameBodyUSER(java.io.RandomAccessFile file)
          Creates a new FrameBodyUSER object.
 
Method Summary
 java.lang.String getIdentifier()
          ID string that usually corresponds to the class name, but can be displayed to the user.
 java.lang.String getLanguage()
           
 void setOwner(java.lang.String language)
           
protected  void setupObjectList()
          Create the order of MP3Object objects that this body expects.
 
Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody
equals, readHeader, writeHeader
 
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody
appendToObjectList, getBriefDescription, getDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrameBodyUSER

public FrameBodyUSER()
Creates a new FrameBodyUSER object.


FrameBodyUSER

public FrameBodyUSER(FrameBodyUSER body)
Creates a new FrameBodyUSER object.


FrameBodyUSER

public FrameBodyUSER(byte textEncoding,
                     java.lang.String language,
                     java.lang.String text)
Creates a new FrameBodyUSER object.


FrameBodyUSER

public FrameBodyUSER(java.io.RandomAccessFile file)
              throws java.io.IOException,
                     InvalidTagException
Creates a new FrameBodyUSER object.

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: AbstractMP3FileItem
ID string that usually corresponds to the class name, but can be displayed to the user. It is not indended to identify each individual instance.

Specified by:
getIdentifier in class AbstractMP3FileItem
Returns:
ID string

getLanguage

public java.lang.String getLanguage()

setOwner

public void setOwner(java.lang.String language)

setupObjectList

protected void setupObjectList()
Description copied from class: AbstractMP3FragmentBody
Create the order of MP3Object objects that this body expects. This method needs to be overwritten.

Specified by:
setupObjectList in class AbstractMP3FragmentBody


Copyright (c) 2004 Eric Farng