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

TFLTTextInformationID3V2Frame

public class TFLTTextInformationID3V2Frame extends TextInformationID3V2Frame
author
paul Text frame specifying the file type this tag is describing.

Fields Summary
public static final String
MPEG_AUDIO
public static final String
MPEG_LAYER_1
public static final String
MPEG_LAYER_2
public static final String
MPEG_LAYER_3
public static final String
MPEG_25
public static final String
MPEG_AAC
public static final String
VQF
public static final String
PCM
private String
m_sFileType
Constructors Summary
public TFLTTextInformationID3V2Frame(String sFileType)
Constructor.

param
sFileType the file type of the file to which this tag will apply (predefined or custom values are valid)

    
                              
      
    
        super(sFileType);
        
        m_sFileType = sFileType;
    
public TFLTTextInformationID3V2Frame(InputStream oIS)

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

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

        if ((oOther == null) || (!(oOther instanceof TFLTTextInformationID3V2Frame)))
        {
            return false;
        }
        
        TFLTTextInformationID3V2Frame oOtherTFLT = (TFLTTextInformationID3V2Frame)oOther;
        
        return (m_sFileType.equals(oOtherTFLT.m_sFileType) &&
                m_oTextEncoding.equals(oOtherTFLT.m_oTextEncoding) &&
                m_sInformation.equals(oOtherTFLT.m_sInformation));
    
public java.lang.StringgetFileType()
Get the current file type.

return
the file type value currently set

        return m_sFileType;
    
protected byte[]getFrameId()

        return "TFLT".getBytes();
    
public voidsetFileType(java.lang.String sFileType)
Set the file type of the file to which this tag will apply.

param
sFileType the file type (predefined or custom values are valid)

        m_sFileType = sFileType;
        m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
        m_sInformation = sFileType;
    
public java.lang.StringtoString()

        return "File type: [" + m_sInformation + "]";