Mp3dings 
20100427

helliker.id3
Class ID3v2Frames

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by helliker.id3.ID3v2Frames
All Implemented Interfaces:
Serializable, Cloneable, Map

public class ID3v2Frames
extends HashMap

Frame definitions according to Martin Nilsson, ID3 tag version 2.4.0 - Native Frames, 2000-11-01 from the ID3v2 web site.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry, AbstractMap.SimpleImmutableEntry
 
Field Summary
static String ACCOMPANIMENT
           
static String ALBUM
          Album/Movie/Show title.
static String ALBUM_SORT_ORDER
           
static String ATTACHED_PICTURE
           
static String AUDIO_ENCRYPTION
           
static String AUDIO_SEEK_POINT_INDEX
           
static String BPM
          BPM (beats per minute).
static String COMMENTS
           
static String COMMERCIAL_FRAME
           
static String COMMERCIAL_INFO_URL
           
static String COMPOSER
          Composer.
static String CONDUCTOR
           
static String CONTENT_GROUP
           
static String CONTENT_TYPE
          Content type (Genre).
static String COPYRIGHT_INFO_URL
           
static String COPYRIGHT_MESSAGE
          Copyright message.
static String ENCODED_BY
           
static String ENCODING_TIME
          Encoding time
static String ENCRYPTION_METHOD_REGISTRATION
           
static String EQUALISATION
           
static String EVENT_TIMING_CODES
           
static String FILE_OWNER
           
static String FILE_TYPE
           
static String GENERAL_ENCAPSULATED_OBJECT
           
static String GROUP_IDENTIFICATION_REGISTRATION
           
static String INITIAL_KEY
           
static String INTERNET_RADIO_STATION_NAME
           
static String INTERNET_RADIO_STATION_OWNER
           
static String INVOLVED_PEOPLE
           
static String ISRC
           
static String LANGUAGE
           
static String LEAD_PERFORMERS
           
static String LENGTH
           
static String LINKED_INFORMATION
           
static String LYRICIST
           
static String MEDIA_TYPE
           
static String MOOD
           
static String MPEG_LOCATION_LOOKUP_TABLE
           
static String MUSIC_CD_IDENTIFIER
           
static String MUSICIAN_CREDITS
           
static String OFFICIAL_ARTIST_WEBPAGE_URL
           
static String OFFICIAL_FILE_WEBPAGE_URL
           
static String OFFICIAL_INTERNET_RADIO_WEBPAGE_URL
           
static String OFFICIAL_PUBLISHER_WEBPAGE_URL
           
static String OFFICIAL_SOURCE_WEBPAGE_URL
           
static String ORIGINAL_ALBUM
           
static String ORIGINAL_ARTIST
           
static String ORIGINAL_FILENAME
           
static String ORIGINAL_LYRICIST
           
static String ORIGINAL_RELEASE_TIME
          Original release time
static String OWNERSHIP_FRAME
           
static String PART_OF_SET
           
static String PAYMENT_URL
           
static String PERFORMER_SORT_ORDER
           
static String PLAY_COUNTER
           
static String PLAYLIST_DELAY
          Playlist delay
static String POPULARIMETER
           
static String POSITION_SYNCHRONISATION_FRAME
           
static String PRIVATE_FRAME
           
static String PRODUCED_NOTICE
           
static String PUBLISHER
           
static String RECOMMENDED_BUFFER_SIZE
           
static String RECORDING_TIME
          Recording time
static String RELATIVE_VOLUME_ADJUSTMENT
           
static String RELEASE_TIME
          Release time
static String REMIXED_BY
           
static String REVERB
           
static String SEEK_FRAME
           
static String SET_SUBTITLE
           
static String SIGNATURE_FRAME
           
static String SOFTWARE_HARDWARE_SETTINGS
           
static String SUBTITLE
           
static String SYNCHRONISED_LYRIC
           
static String SYNCHRONISED_TEMPO_CODES
           
static String TAGGING_TIME
          Tagging time
static String TERMS_OF_USE
           
static String TITLE
           
static String TITLE_SORT_ORDER
           
static String TRACK_NUMBER
           
static String UNIQUE_FILE_IDENTIFIER
           
static String UNSYNCHRONISED_LYRIC_TRANSCRIPTION
           
static String USER_DEFINED_TEXT_INFO
           
static String USER_DEFINED_URL
           
static String YEAR
           
 
Constructor Summary
ID3v2Frames()
           
 
Method Summary
 byte[] getBytes()
          Return an array bytes containing all frames contained in this object.
 int getLength()
          Returns the length in bytes of all the frames contained in this object.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

ALBUM

public static String ALBUM
Album/Movie/Show title. The 'Album/Movie/Show title' frame is intended for the title of the recording (or source of sound) from which the audio in the file is taken.


BPM

public static String BPM
BPM (beats per minute). The 'BPM' frame contains the number of beats per minute in the main part of the audio. The BPM is an integer and represented as a numerical string.


COMPOSER

public static String COMPOSER
Composer. The 'Composer' frame is intended for the name of the composer.


CONTENT_TYPE

public static String CONTENT_TYPE
Content type (Genre). The 'Content type', which ID3v1 was stored as a one byte numeric value only, is now a string. You may use one or several of the ID3v1 types as numerical strings, or, since the category list would be impossible to maintain with accurate and up to date categories, define your own. Example: "21" $00 "Eurodisco" $00 You may also use any of the following keywords: RX Remix CR Cover


COPYRIGHT_MESSAGE

public static String COPYRIGHT_MESSAGE
Copyright message. The 'Copyright message' frame, in which the string must begin with a year and a space character (making five characters), is intended for the copyright holder of the original sound, not the audio file itself. The absence of this frame means only that the copyright information is unavailable or has been removed, and must not be interpreted to mean that the audio is public domain. Every time this field is displayed the field must be preceded with "Copyright " (C) " ", where (C) is one character showing a C in a circle.


ENCODING_TIME

public static String ENCODING_TIME
Encoding time


PLAYLIST_DELAY

public static String PLAYLIST_DELAY
Playlist delay


ORIGINAL_RELEASE_TIME

public static String ORIGINAL_RELEASE_TIME
Original release time


RECORDING_TIME

public static String RECORDING_TIME
Recording time


RELEASE_TIME

public static String RELEASE_TIME
Release time


TAGGING_TIME

public static String TAGGING_TIME
Tagging time


ENCODED_BY

public static String ENCODED_BY

LYRICIST

public static String LYRICIST

FILE_TYPE

public static String FILE_TYPE

INVOLVED_PEOPLE

public static String INVOLVED_PEOPLE

CONTENT_GROUP

public static String CONTENT_GROUP

TITLE

public static String TITLE

SUBTITLE

public static String SUBTITLE

INITIAL_KEY

public static String INITIAL_KEY

LANGUAGE

public static String LANGUAGE

LENGTH

public static String LENGTH

MUSICIAN_CREDITS

public static String MUSICIAN_CREDITS

MEDIA_TYPE

public static String MEDIA_TYPE

MOOD

public static String MOOD

ORIGINAL_ALBUM

public static String ORIGINAL_ALBUM

ORIGINAL_FILENAME

public static String ORIGINAL_FILENAME

ORIGINAL_LYRICIST

public static String ORIGINAL_LYRICIST

ORIGINAL_ARTIST

public static String ORIGINAL_ARTIST

FILE_OWNER

public static String FILE_OWNER

LEAD_PERFORMERS

public static String LEAD_PERFORMERS

ACCOMPANIMENT

public static String ACCOMPANIMENT

CONDUCTOR

public static String CONDUCTOR

REMIXED_BY

public static String REMIXED_BY

PART_OF_SET

public static String PART_OF_SET

PRODUCED_NOTICE

public static String PRODUCED_NOTICE

PUBLISHER

public static String PUBLISHER

TRACK_NUMBER

public static String TRACK_NUMBER

INTERNET_RADIO_STATION_NAME

public static String INTERNET_RADIO_STATION_NAME

INTERNET_RADIO_STATION_OWNER

public static String INTERNET_RADIO_STATION_OWNER

ALBUM_SORT_ORDER

public static String ALBUM_SORT_ORDER

PERFORMER_SORT_ORDER

public static String PERFORMER_SORT_ORDER

TITLE_SORT_ORDER

public static String TITLE_SORT_ORDER

ISRC

public static String ISRC

SOFTWARE_HARDWARE_SETTINGS

public static String SOFTWARE_HARDWARE_SETTINGS

SET_SUBTITLE

public static String SET_SUBTITLE

USER_DEFINED_TEXT_INFO

public static String USER_DEFINED_TEXT_INFO

YEAR

public static String YEAR

COMMERCIAL_INFO_URL

public static String COMMERCIAL_INFO_URL

COPYRIGHT_INFO_URL

public static String COPYRIGHT_INFO_URL

OFFICIAL_FILE_WEBPAGE_URL

public static String OFFICIAL_FILE_WEBPAGE_URL

OFFICIAL_ARTIST_WEBPAGE_URL

public static String OFFICIAL_ARTIST_WEBPAGE_URL

OFFICIAL_SOURCE_WEBPAGE_URL

public static String OFFICIAL_SOURCE_WEBPAGE_URL

OFFICIAL_INTERNET_RADIO_WEBPAGE_URL

public static String OFFICIAL_INTERNET_RADIO_WEBPAGE_URL

PAYMENT_URL

public static String PAYMENT_URL

OFFICIAL_PUBLISHER_WEBPAGE_URL

public static String OFFICIAL_PUBLISHER_WEBPAGE_URL

USER_DEFINED_URL

public static String USER_DEFINED_URL

AUDIO_ENCRYPTION

public static String AUDIO_ENCRYPTION

ATTACHED_PICTURE

public static String ATTACHED_PICTURE

AUDIO_SEEK_POINT_INDEX

public static String AUDIO_SEEK_POINT_INDEX

COMMENTS

public static String COMMENTS

COMMERCIAL_FRAME

public static String COMMERCIAL_FRAME

ENCRYPTION_METHOD_REGISTRATION

public static String ENCRYPTION_METHOD_REGISTRATION

EQUALISATION

public static String EQUALISATION

EVENT_TIMING_CODES

public static String EVENT_TIMING_CODES

GENERAL_ENCAPSULATED_OBJECT

public static String GENERAL_ENCAPSULATED_OBJECT

GROUP_IDENTIFICATION_REGISTRATION

public static String GROUP_IDENTIFICATION_REGISTRATION

LINKED_INFORMATION

public static String LINKED_INFORMATION

MUSIC_CD_IDENTIFIER

public static String MUSIC_CD_IDENTIFIER

MPEG_LOCATION_LOOKUP_TABLE

public static String MPEG_LOCATION_LOOKUP_TABLE

OWNERSHIP_FRAME

public static String OWNERSHIP_FRAME

PRIVATE_FRAME

public static String PRIVATE_FRAME

PLAY_COUNTER

public static String PLAY_COUNTER

POPULARIMETER

public static String POPULARIMETER

POSITION_SYNCHRONISATION_FRAME

public static String POSITION_SYNCHRONISATION_FRAME

RECOMMENDED_BUFFER_SIZE

public static String RECOMMENDED_BUFFER_SIZE

RELATIVE_VOLUME_ADJUSTMENT

public static String RELATIVE_VOLUME_ADJUSTMENT

REVERB

public static String REVERB

SEEK_FRAME

public static String SEEK_FRAME

SIGNATURE_FRAME

public static String SIGNATURE_FRAME

SYNCHRONISED_LYRIC

public static String SYNCHRONISED_LYRIC

SYNCHRONISED_TEMPO_CODES

public static String SYNCHRONISED_TEMPO_CODES

UNIQUE_FILE_IDENTIFIER

public static String UNIQUE_FILE_IDENTIFIER

TERMS_OF_USE

public static String TERMS_OF_USE

UNSYNCHRONISED_LYRIC_TRANSCRIPTION

public static String UNSYNCHRONISED_LYRIC_TRANSCRIPTION
Constructor Detail

ID3v2Frames

public ID3v2Frames()
Method Detail

getLength

public int getLength()
Returns the length in bytes of all the frames contained in this object. Empty frames are dropped from this calculation.

Returns:
the length of all the frames contained in this object.

getBytes

public byte[] getBytes()
Return an array bytes containing all frames contained in this object. This can be used to easily write the frames to a file. Empty frames are dropped to save space.

Returns:
an array of bytes contain all frames contained in this object

toString

public String toString()
Returns a string representation of this object. Returns the toStrings of all the frames contained within seperated by line breaks.

Overrides:
toString in class AbstractMap
Returns:
a string representation of this object

Mp3dings 
20100427