org.jaudiotagger.tag.id3.framebody
Class FrameBodyEncrypted

java.lang.Object
  extended by org.jaudiotagger.tag.id3.AbstractTagItem
      extended by org.jaudiotagger.tag.id3.AbstractTagFrameBody
          extended by org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
              extended by org.jaudiotagger.tag.id3.framebody.FrameBodyEncrypted
All Implemented Interfaces:
ID3v23FrameBody, ID3v24FrameBody

public class FrameBodyEncrypted
extends AbstractID3v2FrameBody
implements ID3v24FrameBody, ID3v23FrameBody

Encrypted frame.

Container for an encrypted frame, we cannot decrypt encrypted frame but it may be possible for the calling application to decrypt the frame if they understand how it has been encrypted, information on this will be held within an ENCR frame

Author:
: Paul Taylor

Field Summary
private  java.lang.String identifier
           
 
Fields inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
TYPE_BODY
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
objectList
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
logger
 
Constructor Summary
FrameBodyEncrypted(FrameBodyEncrypted body)
           
FrameBodyEncrypted(java.lang.String identifier)
          Creates a new FrameBodyEncrypted dataType.
FrameBodyEncrypted(java.lang.String identifier, java.nio.ByteBuffer byteBuffer, int frameSize)
          Read from file
 
Method Summary
 java.lang.String getIdentifier()
          The ID3v2 frame identifier
protected  void setupObjectList()
          TODO:proper mapping
 
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
createStructure, equals, getSize, read, setSize, setSize, write
 
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

identifier

private java.lang.String identifier
Constructor Detail

FrameBodyEncrypted

public FrameBodyEncrypted(java.lang.String identifier)
Creates a new FrameBodyEncrypted dataType.


FrameBodyEncrypted

public FrameBodyEncrypted(FrameBodyEncrypted body)

FrameBodyEncrypted

public FrameBodyEncrypted(java.lang.String identifier,
                          java.nio.ByteBuffer byteBuffer,
                          int frameSize)
                   throws InvalidTagException
Read from file

Parameters:
identifier -
byteBuffer -
frameSize -
Throws:
InvalidTagException
Method Detail

getIdentifier

public java.lang.String getIdentifier()
The ID3v2 frame identifier

Specified by:
getIdentifier in class AbstractID3v2FrameBody
Returns:
the ID3v2 frame identifier for this frame type

setupObjectList

protected void setupObjectList()
TODO:proper mapping

Specified by:
setupObjectList in class AbstractTagFrameBody


Copyright © 2005-2010 java.net. All Rights Reserved.