FileDocCategorySizeDatePackage
ID3Tag.javaAPI Docjid3 0.462247Sun Feb 06 18:11:30 GMT 2005org.blinkenlights.jid3

ID3Tag

public abstract class ID3Tag extends Object implements ID3Visitable
author
paul Base class for all ID3 tags.

Fields Summary
private static boolean
s_bUseStrict
Indication of whether invalid frames read from a file should generate an exception (strict), or be ignored (non-strict).
Constructors Summary
public ID3Tag()
Constructor.

    
          
     
    
    
Methods Summary
public abstract java.lang.StringtoString()
Represent a tag as string for debugging purposes.

return
a string representation of the contents of the tag

public static voiduseStrict(boolean bUseStrict)
Set whether strict mode should be used or not (default non-strict). When reading tags from a file, in strict mode any invalid frames will genarate an exception. In non-strict mode, any invalid frames will simply be ignored.

param
bUseStrict whether strict mode should be used or not

        s_bUseStrict = bUseStrict;
    
public static booleanusingStrict()
Check whether strict mode is currently set or not.

return
true if strict mode is enabled, false otherwise

        return s_bUseStrict;