FileDocCategorySizeDatePackage
Lyrics3v2Fields.javaAPI DocJaudiotagger 2.0.43261Wed Mar 30 16:12:08 BST 2011org.jaudiotagger.tag.lyrics3

Lyrics3v2Fields

public class Lyrics3v2Fields extends org.jaudiotagger.tag.datatype.AbstractStringStringValuePair
author
: Paul Taylor

Version @version:$Id: Lyrics3v2Fields.java 832 2009-11-12 13:25:38Z paultaylor $

Jaudiotagger Copyright (C)2004,2005

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Description:

Fields Summary
private static Lyrics3v2Fields
lyrics3Fields
private static final byte[]
crlfByte
CRLF int set
public static final String
CRLF
CRLF int set
public static final String
FIELD_V2_INDICATIONS
public static final String
FIELD_V2_LYRICS_MULTI_LINE_TEXT
public static final String
FIELD_V2_ADDITIONAL_MULTI_LINE_TEXT
public static final String
FIELD_V2_AUTHOR
public static final String
FIELD_V2_ALBUM
public static final String
FIELD_V2_ARTIST
public static final String
FIELD_V2_TRACK
public static final String
FIELD_V2_IMAGE
Constructors Summary
private Lyrics3v2Fields()



     
    
        idToValue.put(FIELD_V2_INDICATIONS, "Indications field");
        idToValue.put(FIELD_V2_LYRICS_MULTI_LINE_TEXT, "Lyrics multi line text");
        idToValue.put(FIELD_V2_ADDITIONAL_MULTI_LINE_TEXT, "Additional information multi line text");
        idToValue.put(FIELD_V2_AUTHOR, "Lyrics/Music Author name");
        idToValue.put(FIELD_V2_ALBUM, "Extended Album name");
        idToValue.put(FIELD_V2_ARTIST, "Extended Artist name");
        idToValue.put(FIELD_V2_TRACK, "Extended Track Title");
        idToValue.put(FIELD_V2_IMAGE, "Link to an image files");
        createMaps();
    
Methods Summary
public static org.jaudiotagger.tag.lyrics3.Lyrics3v2FieldsgetInstanceOf()


       
    
        if (lyrics3Fields == null)
        {
            lyrics3Fields = new Lyrics3v2Fields();
        }
        return lyrics3Fields;
    
public static booleanisLyrics3v2FieldIdentifier(java.lang.String identifier)
Returns true if the identifier is a valid Lyrics3v2 frame identifier

param
identifier string to test
return
true if the identifier is a valid Lyrics3v2 frame identifier

        return identifier.length() >= 3 && getInstanceOf().getIdToValueMap().containsKey(identifier.substring(0, 3));