com.dusbabek.lib.id3
Class FrameType

java.lang.Object
  extended by com.dusbabek.lib.id3.FrameType

public class FrameType
extends java.lang.Object

Constants for dealing with all kinds of frames. Also provides some static methods for getting the textual frame ID of a given frame (they differ across spec versions).


Field Summary
static int ALBUM
           
static int ALBUM_SORT_ORDER
           
static int ARTIST
           
static int BEATS_PER_MINUTE
           
static int COMMENT
           
static int COMPOSER
           
static int CONDUCTOR
           
static int CONTENT_GROUP
           
static int COPYRIGHT_MESSAGE
           
static int DATE
           
static int ENCODED_BY
           
static int ENCODING_SETTING
           
static int ENCODING_TIME
           
static int FILE_OWNER
           
static int FILE_TYPE
           
static int GENRE
           
static int INITIAL_KEY
           
static int INTERPRETED
           
static int INVOLVED_PEOPLE_LIST
           
static int ISRC
           
static int LANGUAGE
           
static int LENGTH
           
static int LYRICIST
           
static int MEDIA_TYPE
           
static int MOOD
           
static int MUSICIAN_CREDITS_LIST
           
static int ORCHESTRA
           
static int ORIGINAL_ARTIST
           
static int ORIGINAL_FILE_NAME
           
static int ORIGINAL_LYRICIST
           
static int ORIGINAL_RELEASE_TIME
           
static int ORIGINAL_RELEASE_YEAR
           
static int ORIGINAL_TITLE
           
static int PART_OF_SET
           
static int PERFORMER_SORT_ORDER
           
static int PLAYLIST_DELAY
           
static int PRODUCED_NOTICE
           
static int PUBLISHER
           
static int RECORDING_DATES
           
static int RECORDING_TIME
           
static int RELEASE_TIME
           
static int SET_SUB_TITLE
           
static int SIZE
           
static int SONGNAME
           
static int STATION_NAME
           
static int STATION_OWNER
           
static int SUBTITLE
           
static int TAGGING_TIME
           
static int TIME
           
static int TITLE_SORT_ORDER
           
static int TRACK
           
static int USER_DEFINED_TEXT
           
static int YEAR
           
 
Constructor Summary
FrameType()
           
 
Method Summary
static java.lang.String getId(int type, int version)
          return the textual frame id (3 or 4 characters) as specified by type and version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMENT

public static final int COMMENT

ALBUM

public static final int ALBUM

BEATS_PER_MINUTE

public static final int BEATS_PER_MINUTE

COMPOSER

public static final int COMPOSER

GENRE

public static final int GENRE

COPYRIGHT_MESSAGE

public static final int COPYRIGHT_MESSAGE

DATE

public static final int DATE

PLAYLIST_DELAY

public static final int PLAYLIST_DELAY

ENCODED_BY

public static final int ENCODED_BY

LYRICIST

public static final int LYRICIST

FILE_TYPE

public static final int FILE_TYPE

TIME

public static final int TIME

CONTENT_GROUP

public static final int CONTENT_GROUP

SONGNAME

public static final int SONGNAME

SUBTITLE

public static final int SUBTITLE

INITIAL_KEY

public static final int INITIAL_KEY

LANGUAGE

public static final int LANGUAGE

LENGTH

public static final int LENGTH

MEDIA_TYPE

public static final int MEDIA_TYPE

ORIGINAL_TITLE

public static final int ORIGINAL_TITLE

ORIGINAL_FILE_NAME

public static final int ORIGINAL_FILE_NAME

ORIGINAL_LYRICIST

public static final int ORIGINAL_LYRICIST

ORIGINAL_ARTIST

public static final int ORIGINAL_ARTIST

ORIGINAL_RELEASE_YEAR

public static final int ORIGINAL_RELEASE_YEAR

FILE_OWNER

public static final int FILE_OWNER

ARTIST

public static final int ARTIST

ORCHESTRA

public static final int ORCHESTRA

CONDUCTOR

public static final int CONDUCTOR

INTERPRETED

public static final int INTERPRETED

PART_OF_SET

public static final int PART_OF_SET

PUBLISHER

public static final int PUBLISHER

TRACK

public static final int TRACK

RECORDING_DATES

public static final int RECORDING_DATES

STATION_NAME

public static final int STATION_NAME

STATION_OWNER

public static final int STATION_OWNER

SIZE

public static final int SIZE

ISRC

public static final int ISRC

ENCODING_SETTING

public static final int ENCODING_SETTING

YEAR

public static final int YEAR

USER_DEFINED_TEXT

public static final int USER_DEFINED_TEXT

ENCODING_TIME

public static final int ENCODING_TIME

RECORDING_TIME

public static final int RECORDING_TIME

RELEASE_TIME

public static final int RELEASE_TIME

TAGGING_TIME

public static final int TAGGING_TIME

INVOLVED_PEOPLE_LIST

public static final int INVOLVED_PEOPLE_LIST

MUSICIAN_CREDITS_LIST

public static final int MUSICIAN_CREDITS_LIST

MOOD

public static final int MOOD

PRODUCED_NOTICE

public static final int PRODUCED_NOTICE

ALBUM_SORT_ORDER

public static final int ALBUM_SORT_ORDER

PERFORMER_SORT_ORDER

public static final int PERFORMER_SORT_ORDER

TITLE_SORT_ORDER

public static final int TITLE_SORT_ORDER

SET_SUB_TITLE

public static final int SET_SUB_TITLE

ORIGINAL_RELEASE_TIME

public static final int ORIGINAL_RELEASE_TIME
Constructor Detail

FrameType

public FrameType()
Method Detail

getId

public static java.lang.String getId(int type,
                                     int version)
return the textual frame id (3 or 4 characters) as specified by type and version.

Parameters:
type - int should be a constant as declared in this class.
version - int 2, 3 or 4.
Returns:
String


Copyright © 2004, 2005 Gary Dusbabek. All Rights Reserved.