FileDocCategorySizeDatePackage
TRDATextInformationID3V2Frame.javaAPI Docjid3 0.463274Sun Feb 06 18:11:15 GMT 2005org.blinkenlights.jid3.v2

TRDATextInformationID3V2Frame

public class TRDATextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame containing a free-form description of the recording date(s) of this track.

Fields Summary
private String
m_sRecordingDates
Constructors Summary
public TRDATextInformationID3V2Frame(String sRecordingDates)
Constructor.

param
sRecordingDates the recording date(s) of this track

    
                  
      
    
        super(sRecordingDates);
        
        m_sRecordingDates = sRecordingDates;
    
public TRDATextInformationID3V2Frame(InputStream oIS)

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

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

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

        return "TRDA".getBytes();
    
public java.lang.StringgetRecordingDates()
Get the recording date(s) of this track.

return
the recording date(s) of this track

        return m_sRecordingDates;
    
public voidsetRecordingDates(java.lang.String sRecordingDates)
Set the recording date(s) of this track.

param
sRecordingDates the recording date(s) of this track

        m_sRecordingDates = sRecordingDates;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sRecordingDates;
    
public java.lang.StringtoString()

        return "Recording dates: [" + m_sInformation + "]";