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

TPE2TextInformationID3V2Frame

public class TPE2TextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame containing the band, orchestral or accompaniment in the recording in this track.

Fields Summary
private String
m_sBandOrchestralAccompaniment
Constructors Summary
public TPE2TextInformationID3V2Frame(String sBandOrchestraAccompaniment)
Constructor.

param
sBandOrchestraAccompaniment the band, orchestra or accompaniment in the recording in this track

    
                       
      
    
        super(sBandOrchestraAccompaniment);
        
        m_sBandOrchestralAccompaniment = sBandOrchestraAccompaniment;
    
public TPE2TextInformationID3V2Frame(InputStream oIS)

        super(oIS);
        
        m_sBandOrchestralAccompaniment = m_sInformation;
    
Methods Summary
public voidaccept(ID3Visitor oID3Visitor)

        oID3Visitor.visitTPE2TextInformationID3V2Frame(this);
    
public booleanequals(java.lang.Object oOther)

        if ((oOther == null) || (!(oOther instanceof TPE2TextInformationID3V2Frame)))
        {
            return false;
        }
        
        TPE2TextInformationID3V2Frame oOtherTPE2 = (TPE2TextInformationID3V2Frame)oOther;
        
        return (m_sBandOrchestralAccompaniment.equals(oOtherTPE2.m_sBandOrchestralAccompaniment) &&
                m_oTextEncoding.equals(oOtherTPE2.m_oTextEncoding) &&
                m_sInformation.equals(oOtherTPE2.m_sInformation));
    
public java.lang.StringgetBandOrchestraAccompaniment()
Get the band, orchestra or accompaniment in the recording in this track.

return
the band, orchestra or accompaniment in the recording in this track

        return m_sBandOrchestralAccompaniment;
    
protected byte[]getFrameId()

        return "TPE2".getBytes();
    
public voidsetBandOrchestraAccompaniment(java.lang.String sBandOrchestraAccompaniment)
Set the band, orchestra or accompaniment in the recording in this track.

param
sBandOrchestraAccompaniment the band, orchestra or accompaniment in the recording in this track

        m_sBandOrchestralAccompaniment = sBandOrchestraAccompaniment;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sBandOrchestraAccompaniment;
    
public java.lang.StringtoString()

        return "Band/Orchestra/Accompaniment: [" + m_sInformation + "]";