org.farng.mp3.id3
Class FrameBodySIGN

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

public class FrameBodySIGN
extends AbstractID3v2FrameBody

4.28.   Signature frame

   This frame enables a group of frames, grouped with the 'Group
   identification registration', to be signed. Although signatures can

   reside inside the registration frame, it might be desired to store
   the signature elsewhere, e.g. in watermarks. There may be more than
   one 'signature frame' in a tag, but no two may be identical.

     <Header for 'Signature frame', ID: "SIGN">

     Group symbol      $xx
     Signature         <binary data>

Version:
$Revision: 1.4 $
Author:
Eric Farng

Constructor Summary
FrameBodySIGN()
          Creates a new FrameBodySIGN object.
FrameBodySIGN(byte groupSymbol, byte[] signature)
          Creates a new FrameBodySIGN object.
FrameBodySIGN(FrameBodySIGN body)
          Creates a new FrameBodySIGN object.
FrameBodySIGN(java.io.RandomAccessFile file)
          Creates a new FrameBodySIGN object.
 
Method Summary
 byte getGroupSymbol()
           
 java.lang.String getIdentifier()
          ID string that usually corresponds to the class name, but can be displayed to the user.
 byte[] getSignature()
           
 void setGroupSymbol(byte groupSymbol)
           
 void setSignature(byte[] signature)
           
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

FrameBodySIGN

public FrameBodySIGN()
Creates a new FrameBodySIGN object.


FrameBodySIGN

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


FrameBodySIGN

public FrameBodySIGN(byte groupSymbol,
                     byte[] signature)
Creates a new FrameBodySIGN object.


FrameBodySIGN

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

Method Detail

setGroupSymbol

public void setGroupSymbol(byte groupSymbol)

getGroupSymbol

public byte getGroupSymbol()

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

setSignature

public void setSignature(byte[] signature)

getSignature

public byte[] getSignature()

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