FileDocCategorySizeDatePackage
TRSOTextInformationID3V2Frame.javaAPI Docjid3 0.463991Sun Feb 06 18:11:24 GMT 2005org.blinkenlights.jid3.v2

TRSOTextInformationID3V2Frame

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

Fields Summary
private String
m_sInternetRadioStationOwner
Constructors Summary
public TRSOTextInformationID3V2Frame(String sInternetRadioStationOwner)
Constructor.

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

    
                                         
      
    
        super(sInternetRadioStationOwner);
        
        m_sInternetRadioStationOwner = sInternetRadioStationOwner;
    
public TRSOTextInformationID3V2Frame(InputStream oIS)

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

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

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

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

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

        return m_sInternetRadioStationOwner;
    
public voidsetInternetRadioStationOwner(java.lang.String sInternetRadioStationOwner)
Set the name of the owner of the internet radio station from which the content of this track is being or was streamed.

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

        m_sInternetRadioStationOwner = sInternetRadioStationOwner;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sInternetRadioStationOwner;
    
public java.lang.StringtoString()

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