FileDocCategorySizeDatePackage
EncryptedID3V2Frame.javaAPI Docjid3 0.462713Sun Feb 06 18:11:23 GMT 2005org.blinkenlights.jid3.v2

EncryptedID3V2Frame

public class EncryptedID3V2Frame extends ID3V2Frame
author
paul

Fields Summary
private String
m_sFrameId
private byte[]
m_abyEncryptedFrameData
Constructors Summary
public EncryptedID3V2Frame(String sFrameId, byte[] abyEncryptedFrameData)
Creates a new instance of EncryptedID3V2Frame.

param
sFrameId the original frame id of the encrypted frame
param
abyEncryptedFrameData a byte array containing the entire encrypted frame

    
                                   
        
    
        m_sFrameId = sFrameId;
        m_abyEncryptedFrameData = abyEncryptedFrameData;
    
Methods Summary
public voidaccept(ID3Visitor oID3Visitor)

        oID3Visitor.visitEncryptedID3V2Frame(this);
    
public byte[]getEncryptedData()
Get the raw frame data for the encrypted frame stored in this object.

return
the raw frame data for the encrypted frame stored in this object.

        return m_abyEncryptedFrameData;
    
public byte[]getEncryptedFrameId()
Get the frame id of the encrypted frame which is stored in this object.

return
the frame id of the encrypted frame stroed in this object.

        return m_sFrameId.getBytes();
    
protected byte[]getFrameId()

        return m_sFrameId.getBytes();
    
public java.lang.StringtoString()

        return "Encrypted ID3V2 frame: " + m_sFrameId;
    
protected voidwriteBody(ID3DataOutputStream oIDOS)

        oIDOS.write(m_abyEncryptedFrameData);