FileDocCategorySizeDatePackage
TOALTextInformationID3V2Frame.javaAPI Docjid3 0.463443Sun Feb 06 18:11:20 GMT 2005org.blinkenlights.jid3.v2

TOALTextInformationID3V2Frame

public class TOALTextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame containing the original album, movie, or show title of the track.

Fields Summary
private String
m_sOriginalAlbumTitle
Constructors Summary
public TOALTextInformationID3V2Frame(String sOriginalAlbumTitle)
Constructor.

param
sOriginalAlbumTitle the original album, movie, or show title of the track

    
                      
      
    
        super(sOriginalAlbumTitle);
        
        m_sOriginalAlbumTitle = sOriginalAlbumTitle;
    
public TOALTextInformationID3V2Frame(InputStream oIS)

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

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

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

        return "TOAL".getBytes();
    
public java.lang.StringgetOriginalAlbumTitle()
Get the original album, movie, or show title of the track.

return
the original album, movie, or show title of the track

        return m_sOriginalAlbumTitle;
    
public voidsetOriginalAlbumTitle(java.lang.String sOriginalAlbumTitle)
Set the original album, movie, or show title of the track.

param
sOriginalAlbumTitle the original album, movie, or show title of the track

        m_sOriginalAlbumTitle = sOriginalAlbumTitle;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sOriginalAlbumTitle;
    
public java.lang.StringtoString()

        return "Original album/movie/show title: [" + m_sInformation + "]";