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

TALBTextInformationID3V2Frame

public class TALBTextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame which contains the title of the album from which this recording is taken.

Fields Summary
private String
m_sAlbum
Constructors Summary
public TALBTextInformationID3V2Frame(String sAlbum)
Constructor.

param
sAlbum the title of the album from which this recording is taken

    
                       
      
    
        super(sAlbum);
        
        m_sAlbum = sAlbum;
    
public TALBTextInformationID3V2Frame(InputStream oIS)

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

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

        if ((oOther == null) || (!(oOther instanceof TALBTextInformationID3V2Frame)))
        {
            return false;
        }
        
        TALBTextInformationID3V2Frame oOtherTALB = (TALBTextInformationID3V2Frame)oOther;
        
        return (m_sAlbum.equals(oOtherTALB.m_sAlbum) &&
                m_oTextEncoding.equals(oOtherTALB.m_oTextEncoding) &&
                m_sInformation.equals(oOtherTALB.m_sInformation));
    
public java.lang.StringgetAlbum()
Get the title of the album from which this recording is taken.

return
the title of the album

        return m_sAlbum;
    
protected byte[]getFrameId()

        return "TALB".getBytes();
    
public voidsetAlbum(java.lang.String sAlbum)
Set the title of the album from which this recording is taken.

param
sAlbum the title of the album

        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sAlbum;
        m_sAlbum = sAlbum;
    
public java.lang.StringtoString()

        return "Album/Movie/Show title: [" + m_sInformation + "]";