org.farng.mp3
Class TagConstant

java.lang.Object
  extended byorg.farng.mp3.TagConstant

public class TagConstant
extends java.lang.Object

This contais all ID3 frame descriptions and Lyric3 field description. It also has bit masks for all the flags in the MP3 Header.

Version:
$Revision: 1.3 $
Author:
Eric Farng

Field Summary
static int BIT0
          defined for convenience
static int BIT1
          defined for convenience
static int BIT2
          defined for convenience
static int BIT3
          defined for convenience
static int BIT4
          defined for convenience
static int BIT5
          defined for convenience
static int BIT6
          defined for convenience
static int BIT7
          defined for convenience
static java.util.HashMap bitrate
          HashMap translating the bitrate read in from the MP3 Header into a base-10 integer
static java.util.HashMap genreIdToString
          HashMap translating the ID3v1 genre bit into a human readable string
static java.util.HashMap genreStringToId
          HashMap translating the predefined genre string into the ID3v1 genre bit
static java.util.HashMap id3v2_2FrameIdToString
          HashMap translating the three letter ID into a human understandable string
static java.util.HashMap id3v2_2FrameStringToId
          HashMap translating the predefined string into the three letter ID
static java.util.HashMap id3v2_2ToId3v2_3
          HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.3 ID
static java.util.HashMap id3v2_3FrameIdToString
          HashMap translating the four letter ID into a human understandable string
static java.util.HashMap id3v2_3FrameStringToId
          HashMap translating the predefined string into the four letter ID
static java.util.HashMap id3v2_3ToId3v2_2
          HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.3 ID
static java.util.HashMap id3v2_3ToId3v2_4
          HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.4 ID
static java.util.HashMap id3v2_4FrameIdToString
          HashMap translating the four letter ID into a human understandable string
static java.util.HashMap id3v2_4FrameStringToId
          HashMap translating the predefined string into the four letter ID
static java.util.HashMap id3v2_4ToId3v2_3
          HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.4 ID
static java.util.HashMap interpolationMethodIdToString
          HashMap translating table found in ID3 tags
static java.util.HashMap interpolationMethodStringToId
          HashMap translating table found in ID3 tags
static java.util.HashMap languageIdToString
          HashMap translating the language ID to a human readable string.
static java.util.HashMap languageStringToId
          HashMap translating the predefined language string into the ID.
static java.util.HashMap lyrics3v2FieldIdToString
          HashMap translating the predefined string into the three letter ID
static java.util.HashMap lyrics3v2FieldStringToId
          HashMap translating the predefined string into the three letter ID
static int MASK_MP3_BITRATE
          MP3 Frame Header bit mask
static int MASK_MP3_COPY
          MP3 Frame Header bit mask
static int MASK_MP3_EMPHASIS
          MP3 Frame Header bit mask
static int MASK_MP3_FREQUENCY
          MP3 Frame Header bit mask
static int MASK_MP3_HOME
          MP3 Frame Header bit mask
static int MASK_MP3_ID
          MP3 Frame Header bit mask
static int MASK_MP3_LAYER
          MP3 Frame Header bit mask
static int MASK_MP3_MODE
          MP3 Frame Header bit mask
static int MASK_MP3_MODE_EXTENSION
          MP3 Frame Header bit mask
static int MASK_MP3_PADDING
          MP3 Frame Header bit mask
static int MASK_MP3_PRIVACY
          MP3 Frame Header bit mask
static int MASK_MP3_PROTECTION
          MP3 Frame Header bit mask
static int MASK_MP3_VERSION
          MP3 Frame Header bit mask
static int MASK_V22_COMPRESSION
          ID3v2.2 Header bit mask
static int MASK_V22_EMBEDDED_INFO_FLAG
          ID3v2.2 BUF Frame bit mask
static int MASK_V22_UNSYNCHRONIZATION
          ID3v2.2 Header bit mask
static int MASK_V23_COMPRESSION
          ID3v2.3 Frame bit mask
static int MASK_V23_CRC_DATA_PRESENT
          ID3v2.3 Extended Header bit mask
static int MASK_V23_EMBEDDED_INFO_FLAG
          ID3v2.3 RBUF frame bit mask
static int MASK_V23_ENCRYPTION
          ID3v2.3 Frame bit mask
static int MASK_V23_EXPERIMENTAL
          ID3v2.3 Header bit mask
static int MASK_V23_EXTENDED_HEADER
          ID3v2.3 Header bit mask
static int MASK_V23_FILE_ALTER_PRESERVATION
          ID3v2.3 Frame bit mask
static int MASK_V23_GROUPING_IDENTITY
          ID3v2.3 Frame bit mask
static int MASK_V23_READ_ONLY
          ID3v2.3 Frame bit mask
static int MASK_V23_TAG_ALTER_PRESERVATION
          ID3v2.3 Frame bit mask
static int MASK_V23_UNSYNCHRONIZATION
          ID3v2.3 Header bit mask
static int MASK_V24_COMPRESSION
          ID3v2.4 Header Footer bit mask
static int MASK_V24_CRC_DATA_PRESENT
          ID3v2.4 Extended header bit mask
static int MASK_V24_DATA_LENGTH_INDICATOR
          ID3v2.4 Header Footer bit mask
static int MASK_V24_ENCRYPTION
          ID3v2.4 Header Footer bit mask
static int MASK_V24_EXPERIMENTAL
          ID3v2.4 Header bit mask
static int MASK_V24_EXTENDED_HEADER
          ID3v2.4 Header bit mask
static int MASK_V24_FILE_ALTER_PRESERVATION
          ID3v2.4 Header Footer bit mask
static int MASK_V24_FOOTER_PRESENT
          ID3v2.4 Header bit mask
static int MASK_V24_FRAME_UNSYNCHRONIZATION
          ID3v2.4 Header Footer bit mask
static int MASK_V24_GROUPING_IDENTITY
          ID3v2.4 Header Footer bit mask
static int MASK_V24_IMAGE_ENCODING
          ID3v2.4 Extended header bit mask
static int MASK_V24_IMAGE_SIZE_RESTRICTIONS
          ID3v2.4 Extended header bit mask
static int MASK_V24_READ_ONLY
          ID3v2.4 Header Footer bit mask
static int MASK_V24_TAG_ALTER_PRESERVATION
          ID3v2.4 Header Footer bit mask
static int MASK_V24_TAG_RESTRICTIONS
          ID3v2.4 Extended header bit mask
static int MASK_V24_TAG_SIZE_RESTRICTIONS
          ID3v2.4 Extended header bit mask
static int MASK_V24_TAG_UPDATE
          ID3v2.4 Extended header bit mask
static int MASK_V24_TEXT_ENCODING_RESTRICTIONS
          ID3v2.4 Extended header bit mask
static int MASK_V24_TEXT_FIELD_SIZE_RESTRICTIONS
          ID3v2.4 Extended header bit mask
static int MASK_V24_UNSYNCHRONIZATION
          ID3v2.4 Header bit mask
static int MP3_FILE_SAVE_APPEND
          MP3 save mode matching append method
static int MP3_FILE_SAVE_FIRST
          MP3 save mode lowest numbered index
static int MP3_FILE_SAVE_LAST
          MP3 save mode highest numbered index
static int MP3_FILE_SAVE_OVERWRITE
          MP3 save mode matching overwrite method
static int MP3_FILE_SAVE_WRITE
          MP3 save mode matching write method
static java.util.HashMap pictureTypeIdToString
          HashMap translating table found in ID3 tags
static java.util.HashMap pictureTypeStringToId
          HashMap translating table found in ID3 tags
static java.util.HashMap recievedAsIdToString
          HashMap translating table found in ID3 tags
static java.util.HashMap recievedAsStringToId
          HashMap translating table found in ID3 tags
static java.lang.String SEPERATOR_FILE
           
static java.lang.String SEPERATOR_LINE
          System seperators
static java.lang.String SEPERATOR_PATH
           
static java.util.HashMap textEncodingIdToString
          HashMap translating table found in ID3 tags
static java.util.HashMap textEncodingStringToId
          HashMap translating table found in ID3 tags
static java.util.HashMap timeStampFormatIdToString
          HashMap translating table found in ID3 tags
static java.util.HashMap timeStampFormatStringToId
          HashMap translating table found in ID3 tags
static java.util.HashMap typeOfChannelIdToString
          HashMap translating table found in ID3 tags
static java.util.HashMap typeOfChannelStringToId
          HashMap translating table found in ID3 tags
static java.util.HashMap typeOfEventIdToString
          HashMap translating table found in ID3 tags
static java.util.HashMap typeOfEventStringToId
          HashMap translating table found in ID3 tags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BIT7

public static final int BIT7
defined for convenience

See Also:
Constant Field Values

BIT6

public static final int BIT6
defined for convenience

See Also:
Constant Field Values

BIT5

public static final int BIT5
defined for convenience

See Also:
Constant Field Values

BIT4

public static final int BIT4
defined for convenience

See Also:
Constant Field Values

BIT3

public static final int BIT3
defined for convenience

See Also:
Constant Field Values

BIT2

public static final int BIT2
defined for convenience

See Also:
Constant Field Values

BIT1

public static final int BIT1
defined for convenience

See Also:
Constant Field Values

BIT0

public static final int BIT0
defined for convenience

See Also:
Constant Field Values

SEPERATOR_LINE

public static final java.lang.String SEPERATOR_LINE
System seperators


SEPERATOR_FILE

public static final java.lang.String SEPERATOR_FILE

SEPERATOR_PATH

public static final java.lang.String SEPERATOR_PATH

MP3_FILE_SAVE_FIRST

public static final int MP3_FILE_SAVE_FIRST
MP3 save mode lowest numbered index

See Also:
Constant Field Values

MP3_FILE_SAVE_WRITE

public static final int MP3_FILE_SAVE_WRITE
MP3 save mode matching write method

See Also:
Constant Field Values

MP3_FILE_SAVE_OVERWRITE

public static final int MP3_FILE_SAVE_OVERWRITE
MP3 save mode matching overwrite method

See Also:
Constant Field Values

MP3_FILE_SAVE_APPEND

public static final int MP3_FILE_SAVE_APPEND
MP3 save mode matching append method

See Also:
Constant Field Values

MP3_FILE_SAVE_LAST

public static final int MP3_FILE_SAVE_LAST
MP3 save mode highest numbered index

See Also:
Constant Field Values

MASK_V22_UNSYNCHRONIZATION

public static final int MASK_V22_UNSYNCHRONIZATION
ID3v2.2 Header bit mask

See Also:
Constant Field Values

MASK_V22_COMPRESSION

public static final int MASK_V22_COMPRESSION
ID3v2.2 Header bit mask

See Also:
Constant Field Values

MASK_V22_EMBEDDED_INFO_FLAG

public static final int MASK_V22_EMBEDDED_INFO_FLAG
ID3v2.2 BUF Frame bit mask

See Also:
Constant Field Values

MASK_V23_UNSYNCHRONIZATION

public static final int MASK_V23_UNSYNCHRONIZATION
ID3v2.3 Header bit mask

See Also:
Constant Field Values

MASK_V23_EXTENDED_HEADER

public static final int MASK_V23_EXTENDED_HEADER
ID3v2.3 Header bit mask

See Also:
Constant Field Values

MASK_V23_EXPERIMENTAL

public static final int MASK_V23_EXPERIMENTAL
ID3v2.3 Header bit mask

See Also:
Constant Field Values

MASK_V23_CRC_DATA_PRESENT

public static final int MASK_V23_CRC_DATA_PRESENT
ID3v2.3 Extended Header bit mask

See Also:
Constant Field Values

MASK_V23_TAG_ALTER_PRESERVATION

public static final int MASK_V23_TAG_ALTER_PRESERVATION
ID3v2.3 Frame bit mask

See Also:
Constant Field Values

MASK_V23_FILE_ALTER_PRESERVATION

public static final int MASK_V23_FILE_ALTER_PRESERVATION
ID3v2.3 Frame bit mask

See Also:
Constant Field Values

MASK_V23_READ_ONLY

public static final int MASK_V23_READ_ONLY
ID3v2.3 Frame bit mask

See Also:
Constant Field Values

MASK_V23_COMPRESSION

public static final int MASK_V23_COMPRESSION
ID3v2.3 Frame bit mask

See Also:
Constant Field Values

MASK_V23_ENCRYPTION

public static final int MASK_V23_ENCRYPTION
ID3v2.3 Frame bit mask

See Also:
Constant Field Values

MASK_V23_GROUPING_IDENTITY

public static final int MASK_V23_GROUPING_IDENTITY
ID3v2.3 Frame bit mask

See Also:
Constant Field Values

MASK_V23_EMBEDDED_INFO_FLAG

public static final int MASK_V23_EMBEDDED_INFO_FLAG
ID3v2.3 RBUF frame bit mask

See Also:
Constant Field Values

MASK_V24_UNSYNCHRONIZATION

public static final int MASK_V24_UNSYNCHRONIZATION
ID3v2.4 Header bit mask

See Also:
Constant Field Values

MASK_V24_EXTENDED_HEADER

public static final int MASK_V24_EXTENDED_HEADER
ID3v2.4 Header bit mask

See Also:
Constant Field Values

MASK_V24_EXPERIMENTAL

public static final int MASK_V24_EXPERIMENTAL
ID3v2.4 Header bit mask

See Also:
Constant Field Values

MASK_V24_FOOTER_PRESENT

public static final int MASK_V24_FOOTER_PRESENT
ID3v2.4 Header bit mask

See Also:
Constant Field Values

MASK_V24_TAG_UPDATE

public static final int MASK_V24_TAG_UPDATE
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_CRC_DATA_PRESENT

public static final int MASK_V24_CRC_DATA_PRESENT
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_TAG_RESTRICTIONS

public static final int MASK_V24_TAG_RESTRICTIONS
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_TAG_SIZE_RESTRICTIONS

public static final int MASK_V24_TAG_SIZE_RESTRICTIONS
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_TEXT_ENCODING_RESTRICTIONS

public static final int MASK_V24_TEXT_ENCODING_RESTRICTIONS
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_TEXT_FIELD_SIZE_RESTRICTIONS

public static final int MASK_V24_TEXT_FIELD_SIZE_RESTRICTIONS
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_IMAGE_ENCODING

public static final int MASK_V24_IMAGE_ENCODING
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_IMAGE_SIZE_RESTRICTIONS

public static final int MASK_V24_IMAGE_SIZE_RESTRICTIONS
ID3v2.4 Extended header bit mask

See Also:
Constant Field Values

MASK_V24_TAG_ALTER_PRESERVATION

public static final int MASK_V24_TAG_ALTER_PRESERVATION
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_V24_FILE_ALTER_PRESERVATION

public static final int MASK_V24_FILE_ALTER_PRESERVATION
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_V24_READ_ONLY

public static final int MASK_V24_READ_ONLY
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_V24_GROUPING_IDENTITY

public static final int MASK_V24_GROUPING_IDENTITY
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_V24_COMPRESSION

public static final int MASK_V24_COMPRESSION
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_V24_ENCRYPTION

public static final int MASK_V24_ENCRYPTION
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_V24_FRAME_UNSYNCHRONIZATION

public static final int MASK_V24_FRAME_UNSYNCHRONIZATION
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_V24_DATA_LENGTH_INDICATOR

public static final int MASK_V24_DATA_LENGTH_INDICATOR
ID3v2.4 Header Footer bit mask

See Also:
Constant Field Values

MASK_MP3_ID

public static final int MASK_MP3_ID
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_VERSION

public static final int MASK_MP3_VERSION
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_LAYER

public static final int MASK_MP3_LAYER
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_PROTECTION

public static final int MASK_MP3_PROTECTION
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_BITRATE

public static final int MASK_MP3_BITRATE
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_FREQUENCY

public static final int MASK_MP3_FREQUENCY
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_PADDING

public static final int MASK_MP3_PADDING
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_PRIVACY

public static final int MASK_MP3_PRIVACY
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_MODE

public static final int MASK_MP3_MODE
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_MODE_EXTENSION

public static final int MASK_MP3_MODE_EXTENSION
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_COPY

public static final int MASK_MP3_COPY
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_HOME

public static final int MASK_MP3_HOME
MP3 Frame Header bit mask

See Also:
Constant Field Values

MASK_MP3_EMPHASIS

public static final int MASK_MP3_EMPHASIS
MP3 Frame Header bit mask

See Also:
Constant Field Values

id3v2_2FrameIdToString

public static final java.util.HashMap id3v2_2FrameIdToString
HashMap translating the three letter ID into a human understandable string


id3v2_3FrameIdToString

public static final java.util.HashMap id3v2_3FrameIdToString
HashMap translating the four letter ID into a human understandable string


id3v2_4FrameIdToString

public static final java.util.HashMap id3v2_4FrameIdToString
HashMap translating the four letter ID into a human understandable string


id3v2_2FrameStringToId

public static final java.util.HashMap id3v2_2FrameStringToId
HashMap translating the predefined string into the three letter ID


id3v2_3FrameStringToId

public static final java.util.HashMap id3v2_3FrameStringToId
HashMap translating the predefined string into the four letter ID


id3v2_4FrameStringToId

public static final java.util.HashMap id3v2_4FrameStringToId
HashMap translating the predefined string into the four letter ID


lyrics3v2FieldIdToString

public static final java.util.HashMap lyrics3v2FieldIdToString
HashMap translating the predefined string into the three letter ID


lyrics3v2FieldStringToId

public static final java.util.HashMap lyrics3v2FieldStringToId
HashMap translating the predefined string into the three letter ID


id3v2_3ToId3v2_4

public static final java.util.HashMap id3v2_3ToId3v2_4
HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.4 ID


id3v2_2ToId3v2_3

public static final java.util.HashMap id3v2_2ToId3v2_3
HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.3 ID


id3v2_4ToId3v2_3

public static final java.util.HashMap id3v2_4ToId3v2_3
HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.4 ID


id3v2_3ToId3v2_2

public static final java.util.HashMap id3v2_3ToId3v2_2
HashMap translating the three letter ID3v2.2 ID to the corresponding ID3v2.3 ID


genreIdToString

public static final java.util.HashMap genreIdToString
HashMap translating the ID3v1 genre bit into a human readable string


genreStringToId

public static final java.util.HashMap genreStringToId
HashMap translating the predefined genre string into the ID3v1 genre bit


languageIdToString

public static final java.util.HashMap languageIdToString
HashMap translating the language ID to a human readable string. [ISO-639-2] ISO/FDIS 639-2


languageStringToId

public static final java.util.HashMap languageStringToId
HashMap translating the predefined language string into the ID. [ISO-639-2] ISO/FDIS 639-2


bitrate

public static final java.util.HashMap bitrate
HashMap translating the bitrate read in from the MP3 Header into a base-10 integer


textEncodingIdToString

public static final java.util.HashMap textEncodingIdToString
HashMap translating table found in ID3 tags


textEncodingStringToId

public static final java.util.HashMap textEncodingStringToId
HashMap translating table found in ID3 tags


interpolationMethodIdToString

public static final java.util.HashMap interpolationMethodIdToString
HashMap translating table found in ID3 tags


interpolationMethodStringToId

public static final java.util.HashMap interpolationMethodStringToId
HashMap translating table found in ID3 tags


pictureTypeIdToString

public static final java.util.HashMap pictureTypeIdToString
HashMap translating table found in ID3 tags


pictureTypeStringToId

public static final java.util.HashMap pictureTypeStringToId
HashMap translating table found in ID3 tags


timeStampFormatIdToString

public static final java.util.HashMap timeStampFormatIdToString
HashMap translating table found in ID3 tags


timeStampFormatStringToId

public static final java.util.HashMap timeStampFormatStringToId
HashMap translating table found in ID3 tags


typeOfEventIdToString

public static final java.util.HashMap typeOfEventIdToString
HashMap translating table found in ID3 tags


typeOfEventStringToId

public static final java.util.HashMap typeOfEventStringToId
HashMap translating table found in ID3 tags


typeOfChannelIdToString

public static final java.util.HashMap typeOfChannelIdToString
HashMap translating table found in ID3 tags


typeOfChannelStringToId

public static final java.util.HashMap typeOfChannelStringToId
HashMap translating table found in ID3 tags


recievedAsIdToString

public static final java.util.HashMap recievedAsIdToString
HashMap translating table found in ID3 tags


recievedAsStringToId

public static final java.util.HashMap recievedAsStringToId
HashMap translating table found in ID3 tags



Copyright (c) 2004 Eric Farng