FileDocCategorySizeDatePackage
TRSNTextInformationID3V2Frame.javaAPI Docjid3 0.463887Sun Feb 06 18:11:19 GMT 2005org.blinkenlights.jid3.v2

TRSNTextInformationID3V2Frame

public class TRSNTextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame containing the name of the internet radio station from which the content of this track is being or was streamed.

Fields Summary
private String
m_sInternetRadioStationName
Constructors Summary
public TRSNTextInformationID3V2Frame(String sInternetRadioStationName)
Constructor.

param
sInternetRadioStationName the name of the internet radio station from which the content of this track is being or was streamed

    
                                      
      
    
        super(sInternetRadioStationName);
        
        m_sInternetRadioStationName = sInternetRadioStationName;
    
public TRSNTextInformationID3V2Frame(InputStream oIS)

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

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

        if ((oOther == null) || (!(oOther instanceof TRSNTextInformationID3V2Frame)))
        {
            return false;
        }
        
        TRSNTextInformationID3V2Frame oOtherTRSN = (TRSNTextInformationID3V2Frame)oOther;
        
        return (m_sInternetRadioStationName.equals(oOtherTRSN.m_sInternetRadioStationName) &&
                m_oTextEncoding.equals(oOtherTRSN.m_oTextEncoding) &&
                m_sInformation.equals(oOtherTRSN.m_sInformation));
    
protected byte[]getFrameId()

        return "TRSN".getBytes();
    
public java.lang.StringgetInternetRadioStationName()
Get the name of the internet radio station from which the content of this track is being or was streamed.

return
the name of the internet radio station from which the content of this track is being or was streamed

        return m_sInternetRadioStationName;
    
public voidsetInternetRadioStationName(java.lang.String sInternetRadioStationName)
Set the name of the internet radio station from which the content of this track is being or was streamed.

param
sInternetRadioStationName the name of the internet radio station from which the content of this track is being or was streamed

        m_sInternetRadioStationName = sInternetRadioStationName;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sInternetRadioStationName;
    
public java.lang.StringtoString()

        return "Internet radio station name: [" + m_sInformation + "]";