Mp3dings 
20100427

net.sourceforge.mp3dings
Class Field

java.lang.Object
  extended by net.sourceforge.mp3dings.Field
All Implemented Interfaces:
Serializable, Comparable

public final class Field
extends Object
implements Comparable, Serializable

A class providing integer identifiers for ID3 data fields.

Author:
ringler
See Also:
Serialized Form

Field Summary
static Field ALBUM
          Description of the Field
static Field ALL_FIELDS
          Description of the Field
static Field ARTIST
          Description of the Field
static Field ARTIST_URL
          Description of the Field
static Field ATTACHED_PICTURE
           
static Field BPM
          Description of the Field
static Comparator BY_LONGNAME
          Description of the Field
static Field COM_INFO_URL
          Description of the Field
static Field COMMENT
          Description of the Field
static Field COMPOSER
          Description of the Field
static Field CONDUCTOR
          Description of the Field
static Field CONTENT_GROUP
          Description of the Field
static Field COPYRIGHT
          Description of the Field
static Field ENCODER
          Description of the Field
static Field ENCODER_SETTINGS
           
static Field FILENAME
          Description of the Field
static Field FULLPATH
          Description of the Field
static Field GENRE
          Description of the Field
static Field INCLUDE
          Description of the Field
static Field ISRC
          Description of the Field
static Field KEY
          Description of the Field
static Field LANGUAGE
          Description of the Field
static Field LEGAL_URL
          Description of the Field
static Field LENGTH
          Description of the Field
static Field LYRICIST
          Description of the Field
static Field LYRICS
          Description of the Field
static Field MOOD
          Description of the Field
static String NAME_PATTERN
           
static Field NEW_FILENAME
          Description of the Field
static int NUM_OF_FIELDS
          Description of the Field
static Field OFFICIAL_URL
          Description of the Field
static Field OLD_FILENAME
          Description of the Field
static Field ORCHESTRA
          Description of the Field
static Field ORIGINAL_ALBUM
          Description of the Field
static Field ORIGINAL_ARTIST
          Description of the Field
static Field ORIGINAL_FILENAME
          Description of the Field
static Field ORIGINAL_LYRICIST
          Description of the Field
static Field PART_OF_SET
          Description of the Field
static Field PAY_URL
          Description of the Field
static Field PUBLISHER
          Description of the Field
static Field PUBLISHER_URL
          Description of the Field
static Field REMIXED_BY
          Description of the Field
static Field SET_SUBTITLE
          Description of the Field
static Field SIZE
          Description of the Field
static Field SOURCE_URL
          Description of the Field
static Field SUBTITLE
          Description of the Field
static Field TITLE
          Description of the Field
static Field TRACK
          Description of the Field
static int TYPE_BOOLEAN
          Description of the Field
static int TYPE_LONGTEXT
          Description of the Field
static int TYPE_NUMERIC
          Description of the Field
static int TYPE_OTHER
          The contents of this field should be regarded as opaque by the application.
static int TYPE_PICTURE
          Picture type for ID3v2 APIC frame
static int TYPE_STRING
          Description of the Field
static int TYPE_TIMESTAMP
          Description of the Field
static int TYPE_URL
          Description of the Field
static Field WEB_RADIO_URL
          Description of the Field
static Field YEAR
          Description of the Field
 
Method Summary
 int compareTo(Object o)
          Description of the Method
 Object example()
          Returns an exemplary value for the specified field
static Field forName(String name)
          Description of the Method
static void generateExampleProperties(PrintStream out)
           
static Class getClassForType(int type)
          Gets the classForType attribute of the Field class
 String id3v2Frame()
          Returns the official four letter ID3v2 field name for the specified mp3dings field
 boolean isWritable()
          Gets the writable attribute of the Field object
 String longname()
          Description of the Method
static void main(String[] argv)
           
 String name()
          Description of the Method
 int ordinal()
          Description of the Method
 String toString()
          Description of the Method
 int type()
          Description of the Method
 Class typeAsClass()
          Description of the Method
 Object valueOf(String s)
           
static List values()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_OTHER

public static final int TYPE_OTHER
The contents of this field should be regarded as opaque by the application.

See Also:
Constant Field Values

TYPE_NUMERIC

public static final int TYPE_NUMERIC
Description of the Field

See Also:
Constant Field Values

TYPE_STRING

public static final int TYPE_STRING
Description of the Field

See Also:
Constant Field Values

TYPE_BOOLEAN

public static final int TYPE_BOOLEAN
Description of the Field

See Also:
Constant Field Values

TYPE_TIMESTAMP

public static final int TYPE_TIMESTAMP
Description of the Field

See Also:
Constant Field Values

TYPE_LONGTEXT

public static final int TYPE_LONGTEXT
Description of the Field

See Also:
Constant Field Values

TYPE_PICTURE

public static final int TYPE_PICTURE
Picture type for ID3v2 APIC frame

See Also:
Constant Field Values

TYPE_URL

public static final int TYPE_URL
Description of the Field

See Also:
Constant Field Values

BY_LONGNAME

public static final Comparator BY_LONGNAME
Description of the Field


FILENAME

public static final Field FILENAME
Description of the Field


ARTIST

public static final Field ARTIST
Description of the Field


ORIGINAL_ARTIST

public static final Field ORIGINAL_ARTIST
Description of the Field


LYRICIST

public static final Field LYRICIST
Description of the Field


ORIGINAL_LYRICIST

public static final Field ORIGINAL_LYRICIST
Description of the Field


CONDUCTOR

public static final Field CONDUCTOR
Description of the Field


REMIXED_BY

public static final Field REMIXED_BY
Description of the Field


TITLE

public static final Field TITLE
Description of the Field


SUBTITLE

public static final Field SUBTITLE
Description of the Field


CONTENT_GROUP

public static final Field CONTENT_GROUP
Description of the Field


ALBUM

public static final Field ALBUM
Description of the Field


ORIGINAL_ALBUM

public static final Field ORIGINAL_ALBUM
Description of the Field


TRACK

public static final Field TRACK
Description of the Field


PART_OF_SET

public static final Field PART_OF_SET
Description of the Field


SET_SUBTITLE

public static final Field SET_SUBTITLE
Description of the Field


ISRC

public static final Field ISRC
Description of the Field


YEAR

public static final Field YEAR
Description of the Field


GENRE

public static final Field GENRE
Description of the Field


COMMENT

public static final Field COMMENT
Description of the Field


NEW_FILENAME

public static final Field NEW_FILENAME
Description of the Field


OLD_FILENAME

public static final Field OLD_FILENAME
Description of the Field


INCLUDE

public static final Field INCLUDE
Description of the Field


FULLPATH

public static final Field FULLPATH
Description of the Field


LENGTH

public static final Field LENGTH
Description of the Field


SIZE

public static final Field SIZE
Description of the Field


COMPOSER

public static final Field COMPOSER
Description of the Field


BPM

public static final Field BPM
Description of the Field


ORIGINAL_FILENAME

public static final Field ORIGINAL_FILENAME
Description of the Field


COPYRIGHT

public static final Field COPYRIGHT
Description of the Field


ENCODER

public static final Field ENCODER
Description of the Field


MOOD

public static final Field MOOD
Description of the Field


LANGUAGE

public static final Field LANGUAGE
Description of the Field


ORCHESTRA

public static final Field ORCHESTRA
Description of the Field


PUBLISHER

public static final Field PUBLISHER
Description of the Field


KEY

public static final Field KEY
Description of the Field


LYRICS

public static final Field LYRICS
Description of the Field


COM_INFO_URL

public static final Field COM_INFO_URL
Description of the Field


LEGAL_URL

public static final Field LEGAL_URL
Description of the Field


OFFICIAL_URL

public static final Field OFFICIAL_URL
Description of the Field


ARTIST_URL

public static final Field ARTIST_URL
Description of the Field


SOURCE_URL

public static final Field SOURCE_URL
Description of the Field


WEB_RADIO_URL

public static final Field WEB_RADIO_URL
Description of the Field


PAY_URL

public static final Field PAY_URL
Description of the Field


PUBLISHER_URL

public static final Field PUBLISHER_URL
Description of the Field


ATTACHED_PICTURE

public static final Field ATTACHED_PICTURE

ENCODER_SETTINGS

public static final Field ENCODER_SETTINGS

ALL_FIELDS

public static final Field ALL_FIELDS
Description of the Field


NUM_OF_FIELDS

public static final int NUM_OF_FIELDS
Description of the Field


NAME_PATTERN

public static final String NAME_PATTERN
See Also:
Constant Field Values
Method Detail

toString

public String toString()
Description of the Method

Overrides:
toString in class Object
Returns:
Description of the Return Value

compareTo

public int compareTo(Object o)
Description of the Method

Specified by:
compareTo in interface Comparable
Parameters:
o - Description of the Parameter
Returns:
Description of the Return Value

getClassForType

public static Class getClassForType(int type)
Gets the classForType attribute of the Field class

Parameters:
type - Description of the Parameter
Returns:
The classForType value

typeAsClass

public Class typeAsClass()
Description of the Method

Returns:
Description of the Return Value

name

public String name()
Description of the Method

Returns:
Description of the Return Value

longname

public String longname()
Description of the Method

Returns:
Description of the Return Value

example

public Object example()
Returns an exemplary value for the specified field. *

Returns:
Description of the Return Value

isWritable

public boolean isWritable()
Gets the writable attribute of the Field object

Returns:
The writable value

ordinal

public int ordinal()
Description of the Method

Returns:
Description of the Return Value

values

public static List values()
Description of the Method

Returns:
Description of the Return Value

forName

public static Field forName(String name)
Description of the Method

Parameters:
name - Description of the Parameter
Returns:
Description of the Return Value

id3v2Frame

public String id3v2Frame()
Returns the official four letter ID3v2 field name for the specified mp3dings field. *

Returns:
Description of the Return Value

type

public int type()
Description of the Method

Returns:
Description of the Return Value

valueOf

public Object valueOf(String s)

main

public static void main(String[] argv)

generateExampleProperties

public static void generateExampleProperties(PrintStream out)

Mp3dings 
20100427