net.sf.ext.helliker.id3
Class ID3v2Frames

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended bynet.sf.ext.helliker.id3.ID3v2Frames
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class ID3v2Frames
extends java.util.HashMap

This class is a collection that is used to hold the ID3v2Frames.

Version History
1.3.1 - 2002.1021 by gruni
-Made Sourcecode compliant to the Sun CodingConventions
1.3 - 2002.0113 by helliker
-Ignore empty frames when calculating length and getting bytes to save space.
1.2 - 2001.1019 by helliker
-All set for release.

Version:
1.3.1
Author:
Jonathan Hilliker
See Also:
Serialized Form

Field Summary
static java.lang.String ACCOMPANIMENT
          Deprecated.  
static java.lang.String ALBUM
          Deprecated.  
static java.lang.String ALBUM_SORT_ORDER
          Deprecated.  
static java.lang.String ATTACHED_PICTURE
          Deprecated.  
static java.lang.String AUDIO_ENCRYPTION
          Deprecated.  
static java.lang.String AUDIO_SEEK_POINT_INDEX
          Deprecated.  
static java.lang.String BPM
          Deprecated.  
static java.lang.String COMMENTS
          Deprecated.  
static java.lang.String COMMERCIAL_FRAME
          Deprecated.  
static java.lang.String COMMERCIAL_INFO_URL
          Deprecated.  
static java.lang.String COMPOSER
          Deprecated.  
static java.lang.String CONDUCTOR
          Deprecated.  
static java.lang.String CONTENT_GROUP
          Deprecated.  
static java.lang.String CONTENT_TYPE
          Deprecated.  
static java.lang.String COPYRIGHT_INFO_URL
          Deprecated.  
static java.lang.String COPYRIGHT_MESSAGE
          Deprecated.  
static java.lang.String ENCODED_BY
          Deprecated.  
static java.lang.String ENCODING_TIME
          Deprecated.  
static java.lang.String ENCRYPTION_METHOD_REGISTRATION
          Deprecated.  
static java.lang.String EQUALISATION
          Deprecated.  
static java.lang.String EVENT_TIMING_CODES
          Deprecated.  
static java.lang.String FILE_OWNER
          Deprecated.  
static java.lang.String FILE_TYPE
          Deprecated.  
static java.lang.String GENERAL_ENCAPSULATED_OBJECT
          Deprecated.  
static java.lang.String GROUP_IDENTIFICATION_REGISTRATION
          Deprecated.  
static java.lang.String INITIAL_KEY
          Deprecated.  
static java.lang.String INTERNET_RADIO_STATION_NAME
          Deprecated.  
static java.lang.String INTERNET_RADIO_STATION_OWNER
          Deprecated.  
static java.lang.String INVOLVED_PEOPLE
          Deprecated.  
static java.lang.String ISRC
          Deprecated.  
static java.lang.String LANGUAGE
          Deprecated.  
static java.lang.String LEAD_PERFORMERS
          Deprecated.  
static java.lang.String LENGTH
          Deprecated.  
static java.lang.String LINKED_INFORMATION
          Deprecated.  
static java.lang.String LYRICIST
          Deprecated.  
static java.lang.String MEDIA_TYPE
          Deprecated.  
static java.lang.String MOOD
          Deprecated.  
static java.lang.String MPEG_LOCATION_LOOKUP_TABLE
          Deprecated.  
static java.lang.String MUSIC_CD_IDENTIFIER
          Deprecated.  
static java.lang.String MUSICIAN_CREDITS
          Deprecated.  
static java.lang.String OFFICIAL_ARTIST_WEBPAGE_URL
          Deprecated.  
static java.lang.String OFFICIAL_FILE_WEBPAGE_URL
          Deprecated.  
static java.lang.String OFFICIAL_INTERNET_RADIO_WEBPAGE_URL
          Deprecated.  
static java.lang.String OFFICIAL_PUBLISHER_WEBPAGE_URL
          Deprecated.  
static java.lang.String OFFICIAL_SOURCE_WEBPAGE_URL
          Deprecated.  
static java.lang.String ORIGINAL_ALBUM
          Deprecated.  
static java.lang.String ORIGINAL_ARTIST
          Deprecated.  
static java.lang.String ORIGINAL_FILENAME
          Deprecated.  
static java.lang.String ORIGINAL_LYRICIST
          Deprecated.  
static java.lang.String ORIGINAL_RELEASE_TIME
          Deprecated.  
static java.lang.String OWNERSHIP_FRAME
          Deprecated.  
static java.lang.String PART_OF_SET
          Deprecated.  
static java.lang.String PAYMENT_URL
          Deprecated.  
static java.lang.String PERFORMER_SORT_ORDER
          Deprecated.  
static java.lang.String PLAY_COUNTER
          Deprecated.  
static java.lang.String PLAYLIST_DELAY
          Deprecated.  
static java.lang.String POPULARIMETER
          Deprecated.  
static java.lang.String POSITION_SYNCHRONISATION_FRAME
          Deprecated.  
static java.lang.String PRIVATE_FRAME
          Deprecated.  
static java.lang.String PRODUCED_NOTICE
          Deprecated.  
static java.lang.String PUBLISHER
          Deprecated.  
static java.lang.String RECOMMENDED_BUFFER_SIZE
          Deprecated.  
static java.lang.String RECORDING_TIME
          Deprecated.  
static java.lang.String RELATIVE_VOLUME_ADJUSTMENT
          Deprecated.  
static java.lang.String RELEASE_TIME
          Deprecated.  
static java.lang.String REMIXED_BY
          Deprecated.  
static java.lang.String REVERB
          Deprecated.  
static java.lang.String SEEK_FRAME
          Deprecated.  
static java.lang.String SET_SUBTITLE
          Deprecated.  
static java.lang.String SIGNATURE_FRAME
          Deprecated.  
static java.lang.String SOFTWARE_HARDWARE_SETTINGS
          Deprecated.  
static java.lang.String SUBTITLE
          Deprecated.  
static java.lang.String SYNCHRONISED_LYRIC
          Deprecated.  
static java.lang.String SYNCHRONISED_TEMPO_CODES
          Deprecated.  
static java.lang.String TAGGING_TIME
          Deprecated.  
static java.lang.String TERMS_OF_USE
          Deprecated.  
static java.lang.String TITLE
          Deprecated.  
static java.lang.String TITLE_SORT_ORDER
          Deprecated.  
static java.lang.String TRACK_NUMBER
          Deprecated.  
static java.lang.String UNIQUE_FILE_IDENTIFIER
          Deprecated.  
static java.lang.String UNSYNCHRONISED_LYRIC_TRANSCRIPTION
          Deprecated.  
static java.lang.String USER_DEFINED_TEXT_INFO
          Deprecated.  
static java.lang.String USER_DEFINED_URL
          Deprecated.  
static java.lang.String YEAR
          Deprecated.  
 
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.
 java.lang.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 java.lang.String ALBUM
Deprecated.  

Description of the Field


BPM

public static java.lang.String BPM
Deprecated.  

Description of the Field


COMPOSER

public static java.lang.String COMPOSER
Deprecated.  

Description of the Field


CONTENT_TYPE

public static java.lang.String CONTENT_TYPE
Deprecated.  

Description of the Field


COPYRIGHT_MESSAGE

public static java.lang.String COPYRIGHT_MESSAGE
Deprecated.  

Description of the Field


ENCODING_TIME

public static java.lang.String ENCODING_TIME
Deprecated.  

Description of the Field


PLAYLIST_DELAY

public static java.lang.String PLAYLIST_DELAY
Deprecated.  

Description of the Field


ORIGINAL_RELEASE_TIME

public static java.lang.String ORIGINAL_RELEASE_TIME
Deprecated.  

Description of the Field


RECORDING_TIME

public static java.lang.String RECORDING_TIME
Deprecated.  

Description of the Field


RELEASE_TIME

public static java.lang.String RELEASE_TIME
Deprecated.  

Description of the Field


TAGGING_TIME

public static java.lang.String TAGGING_TIME
Deprecated.  

Description of the Field


ENCODED_BY

public static java.lang.String ENCODED_BY
Deprecated.  

Description of the Field


LYRICIST

public static java.lang.String LYRICIST
Deprecated.  

Description of the Field


FILE_TYPE

public static java.lang.String FILE_TYPE
Deprecated.  

Description of the Field


INVOLVED_PEOPLE

public static java.lang.String INVOLVED_PEOPLE
Deprecated.  

Description of the Field


CONTENT_GROUP

public static java.lang.String CONTENT_GROUP
Deprecated.  

Description of the Field


TITLE

public static java.lang.String TITLE
Deprecated.  

Description of the Field


SUBTITLE

public static java.lang.String SUBTITLE
Deprecated.  

Description of the Field


INITIAL_KEY

public static java.lang.String INITIAL_KEY
Deprecated.  

Description of the Field


LANGUAGE

public static java.lang.String LANGUAGE
Deprecated.  

Description of the Field


LENGTH

public static java.lang.String LENGTH
Deprecated.  

Description of the Field


MUSICIAN_CREDITS

public static java.lang.String MUSICIAN_CREDITS
Deprecated.  

Description of the Field


MEDIA_TYPE

public static java.lang.String MEDIA_TYPE
Deprecated.  

Description of the Field


MOOD

public static java.lang.String MOOD
Deprecated.  

Description of the Field


ORIGINAL_ALBUM

public static java.lang.String ORIGINAL_ALBUM
Deprecated.  

Description of the Field


ORIGINAL_FILENAME

public static java.lang.String ORIGINAL_FILENAME
Deprecated.  

Description of the Field


ORIGINAL_LYRICIST

public static java.lang.String ORIGINAL_LYRICIST
Deprecated.  

Description of the Field


ORIGINAL_ARTIST

public static java.lang.String ORIGINAL_ARTIST
Deprecated.  

Description of the Field


FILE_OWNER

public static java.lang.String FILE_OWNER
Deprecated.  

Description of the Field


LEAD_PERFORMERS

public static java.lang.String LEAD_PERFORMERS
Deprecated.  

Description of the Field


ACCOMPANIMENT

public static java.lang.String ACCOMPANIMENT
Deprecated.  

Description of the Field


CONDUCTOR

public static java.lang.String CONDUCTOR
Deprecated.  

Description of the Field


REMIXED_BY

public static java.lang.String REMIXED_BY
Deprecated.  

Description of the Field


PART_OF_SET

public static java.lang.String PART_OF_SET
Deprecated.  

Description of the Field


PRODUCED_NOTICE

public static java.lang.String PRODUCED_NOTICE
Deprecated.  

Description of the Field


PUBLISHER

public static java.lang.String PUBLISHER
Deprecated.  

Description of the Field


TRACK_NUMBER

public static java.lang.String TRACK_NUMBER
Deprecated.  

Description of the Field


INTERNET_RADIO_STATION_NAME

public static java.lang.String INTERNET_RADIO_STATION_NAME
Deprecated.  

Description of the Field


INTERNET_RADIO_STATION_OWNER

public static java.lang.String INTERNET_RADIO_STATION_OWNER
Deprecated.  

Description of the Field


ALBUM_SORT_ORDER

public static java.lang.String ALBUM_SORT_ORDER
Deprecated.  

Description of the Field


PERFORMER_SORT_ORDER

public static java.lang.String PERFORMER_SORT_ORDER
Deprecated.  

Description of the Field


TITLE_SORT_ORDER

public static java.lang.String TITLE_SORT_ORDER
Deprecated.  

Description of the Field


ISRC

public static java.lang.String ISRC
Deprecated.  

Description of the Field


SOFTWARE_HARDWARE_SETTINGS

public static java.lang.String SOFTWARE_HARDWARE_SETTINGS
Deprecated.  

Description of the Field


SET_SUBTITLE

public static java.lang.String SET_SUBTITLE
Deprecated.  

Description of the Field


USER_DEFINED_TEXT_INFO

public static java.lang.String USER_DEFINED_TEXT_INFO
Deprecated.  

Description of the Field


YEAR

public static java.lang.String YEAR
Deprecated.  

Description of the Field


COMMERCIAL_INFO_URL

public static java.lang.String COMMERCIAL_INFO_URL
Deprecated.  

Description of the Field


COPYRIGHT_INFO_URL

public static java.lang.String COPYRIGHT_INFO_URL
Deprecated.  

Description of the Field


OFFICIAL_FILE_WEBPAGE_URL

public static java.lang.String OFFICIAL_FILE_WEBPAGE_URL
Deprecated.  

Description of the Field


OFFICIAL_ARTIST_WEBPAGE_URL

public static java.lang.String OFFICIAL_ARTIST_WEBPAGE_URL
Deprecated.  

Description of the Field


OFFICIAL_SOURCE_WEBPAGE_URL

public static java.lang.String OFFICIAL_SOURCE_WEBPAGE_URL
Deprecated.  

Description of the Field


OFFICIAL_INTERNET_RADIO_WEBPAGE_URL

public static java.lang.String OFFICIAL_INTERNET_RADIO_WEBPAGE_URL
Deprecated.  

Description of the Field


PAYMENT_URL

public static java.lang.String PAYMENT_URL
Deprecated.  

Description of the Field


OFFICIAL_PUBLISHER_WEBPAGE_URL

public static java.lang.String OFFICIAL_PUBLISHER_WEBPAGE_URL
Deprecated.  

Description of the Field


USER_DEFINED_URL

public static java.lang.String USER_DEFINED_URL
Deprecated.  

Description of the Field


AUDIO_ENCRYPTION

public static java.lang.String AUDIO_ENCRYPTION
Deprecated.  

Description of the Field


ATTACHED_PICTURE

public static java.lang.String ATTACHED_PICTURE
Deprecated.  

Description of the Field


AUDIO_SEEK_POINT_INDEX

public static java.lang.String AUDIO_SEEK_POINT_INDEX
Deprecated.  

Description of the Field


COMMENTS

public static java.lang.String COMMENTS
Deprecated.  

Description of the Field


COMMERCIAL_FRAME

public static java.lang.String COMMERCIAL_FRAME
Deprecated.  

Description of the Field


ENCRYPTION_METHOD_REGISTRATION

public static java.lang.String ENCRYPTION_METHOD_REGISTRATION
Deprecated.  

Description of the Field


EQUALISATION

public static java.lang.String EQUALISATION
Deprecated.  

Description of the Field


EVENT_TIMING_CODES

public static java.lang.String EVENT_TIMING_CODES
Deprecated.  

Description of the Field


GENERAL_ENCAPSULATED_OBJECT

public static java.lang.String GENERAL_ENCAPSULATED_OBJECT
Deprecated.  

Description of the Field


GROUP_IDENTIFICATION_REGISTRATION

public static java.lang.String GROUP_IDENTIFICATION_REGISTRATION
Deprecated.  

Description of the Field


LINKED_INFORMATION

public static java.lang.String LINKED_INFORMATION
Deprecated.  

Description of the Field


MUSIC_CD_IDENTIFIER

public static java.lang.String MUSIC_CD_IDENTIFIER
Deprecated.  

Description of the Field


MPEG_LOCATION_LOOKUP_TABLE

public static java.lang.String MPEG_LOCATION_LOOKUP_TABLE
Deprecated.  

Description of the Field


OWNERSHIP_FRAME

public static java.lang.String OWNERSHIP_FRAME
Deprecated.  

Description of the Field


PRIVATE_FRAME

public static java.lang.String PRIVATE_FRAME
Deprecated.  

Description of the Field


PLAY_COUNTER

public static java.lang.String PLAY_COUNTER
Deprecated.  

Description of the Field


POPULARIMETER

public static java.lang.String POPULARIMETER
Deprecated.  

Description of the Field


POSITION_SYNCHRONISATION_FRAME

public static java.lang.String POSITION_SYNCHRONISATION_FRAME
Deprecated.  

Description of the Field


RECOMMENDED_BUFFER_SIZE

public static java.lang.String RECOMMENDED_BUFFER_SIZE
Deprecated.  

Description of the Field


RELATIVE_VOLUME_ADJUSTMENT

public static java.lang.String RELATIVE_VOLUME_ADJUSTMENT
Deprecated.  

Description of the Field


REVERB

public static java.lang.String REVERB
Deprecated.  

Description of the Field


SEEK_FRAME

public static java.lang.String SEEK_FRAME
Deprecated.  

Description of the Field


SIGNATURE_FRAME

public static java.lang.String SIGNATURE_FRAME
Deprecated.  

Description of the Field


SYNCHRONISED_LYRIC

public static java.lang.String SYNCHRONISED_LYRIC
Deprecated.  

Description of the Field


SYNCHRONISED_TEMPO_CODES

public static java.lang.String SYNCHRONISED_TEMPO_CODES
Deprecated.  

Description of the Field


UNIQUE_FILE_IDENTIFIER

public static java.lang.String UNIQUE_FILE_IDENTIFIER
Deprecated.  

Description of the Field


TERMS_OF_USE

public static java.lang.String TERMS_OF_USE
Deprecated.  

Description of the Field


UNSYNCHRONISED_LYRIC_TRANSCRIPTION

public static java.lang.String UNSYNCHRONISED_LYRIC_TRANSCRIPTION
Deprecated.  

Description of the Field

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 java.lang.String toString()
Returns a string representation of this object. Returns the toStrings of all the frames contained within seperated by line breaks.

Returns:
a string representation of this object