FileDocCategorySizeDatePackage
FrameBodyEncrypted.javaAPI DocJaudiotagger 2.0.42655Wed Mar 30 16:12:02 BST 2011org.jaudiotagger.tag.id3.framebody

FrameBodyEncrypted

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

Fields Summary
private String
identifier
Constructors Summary
public FrameBodyEncrypted(String identifier)
Creates a new FrameBodyEncrypted dataType.


              
      
    
        this.identifier=identifier;
    
public FrameBodyEncrypted(FrameBodyEncrypted body)

        super(body);
    
public FrameBodyEncrypted(String identifier, ByteBuffer byteBuffer, int frameSize)
Read from file

param
identifier
param
byteBuffer
param
frameSize
throws
InvalidTagException

        super(byteBuffer, frameSize);
        this.identifier=identifier;
    
Methods Summary
public java.lang.StringgetIdentifier()
The ID3v2 frame identifier

return
the ID3v2 frame identifier for this frame type

        return identifier;
    
protected voidsetupObjectList()
TODO:proper mapping

        objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_DATA, this));