com.dusbabek.lib.id3
Class Genre

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

public class Genre
extends java.lang.Object

Simplifies dealing with ID3v1.x genres.


Field Summary
static byte Acapella
           
static byte Acid
           
static byte AcidJazz
           
static byte AcidPunk
           
static byte Acoustic
           
static byte Alternative
           
static byte AlternRock
           
static byte Ambient
           
static byte Avantgarde
           
static byte Ballad
           
static byte Bass
           
static byte Bebob
           
static byte BigBand
           
static byte Bluegrass
           
static byte Blues
           
static byte BootyBass
           
static byte Cabaret
           
static byte Celtic
           
static byte ChamberMusic
           
static byte Chanson
           
static byte Chorus
           
static byte ChristianRap
           
static byte Classical
           
static byte ClassicRock
           
static byte Club
           
static byte Comedy
           
static byte Country
           
static byte Cult
           
static byte Dance
           
static byte DanceHall
           
static byte Darkwave
           
static byte DeathMetal
           
static byte Disco
           
static byte Dream
           
static byte DrumSolo
           
static byte Duet
           
static byte EasyListening
           
static byte Electronic
           
static byte Ethnic
           
static byte Eurodance
           
static byte EuroHouse
           
static byte EuroTechno
           
static byte FastFusion
           
static byte Folk
           
static byte Folklore
           
static byte FolkRock
           
static byte Freestyle
           
static byte Funk
           
static byte Fusion
           
static byte Game
           
static byte Gangsta
           
static byte Gospel
           
static byte Gothic
           
static byte GothicRock
           
static byte Grunge
           
static byte HardRock
           
static byte HipHop
           
static byte House
           
static byte Humour
           
static byte Indie
           
static byte Industrial
           
static byte Instrumental
           
static byte InstrumentalPop
           
static byte InstrumentalRock
           
static byte Jazz
           
static byte JazzFunk
           
static byte Jungle
           
static byte Latin
           
static byte LoFi
           
static byte Meditative
           
static byte Metal
           
static byte Musical
           
static byte NationalFolk
           
static byte NativeAmerican
           
static byte NewAge
           
static byte NewWave
           
static byte Noise
           
static byte Oldies
           
static byte Opera
           
static byte Other
           
static byte Polka
           
static byte Pop
           
static byte PopFolk
           
static byte PopFunk
           
static byte PornGroove
           
static byte PowerBallad
           
static byte Pranks
           
static byte Primus
           
static byte ProgressiveRock
           
static byte Psychadelic
           
static byte PsychedelicRock
           
static byte Punk
           
static byte PunkRock
           
static byte RandB
           
static byte Rap
           
static byte Rave
           
static byte Reggae
           
static byte Retro
           
static byte Revival
           
static byte RhythmicSoul
           
static byte Rock
           
static byte RockRoll
           
static byte Samba
           
static byte Satire
           
static byte Showtunes
           
static byte Ska
           
static byte SlowJam
           
static byte SlowRock
           
static byte Sonata
           
static byte Soul
           
static byte SoundClip
           
static byte Soundtrack
           
static byte SouthernRock
           
static byte Space
           
static byte Speech
           
static byte Swing
           
static byte SymphonicRock
           
static byte Symphony
           
static byte Tango
           
static byte Techno
           
static byte TechnoIndustrial
           
static byte Top40
           
static byte Trailer
           
static byte Trance
           
static byte Tribal
           
static byte TripHop
           
static byte Vocal
           
 
Constructor Summary
Genre()
           
 
Method Summary
static byte getByte(java.lang.String name)
          get the byte value of a genre based on its name.
static java.lang.String getString(byte b)
          get the string (name) of a genre from its byte value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Blues

public static final byte Blues
See Also:
Constant Field Values

ClassicRock

public static final byte ClassicRock
See Also:
Constant Field Values

Country

public static final byte Country
See Also:
Constant Field Values

Dance

public static final byte Dance
See Also:
Constant Field Values

Disco

public static final byte Disco
See Also:
Constant Field Values

Funk

public static final byte Funk
See Also:
Constant Field Values

Grunge

public static final byte Grunge
See Also:
Constant Field Values

HipHop

public static final byte HipHop
See Also:
Constant Field Values

Jazz

public static final byte Jazz
See Also:
Constant Field Values

Metal

public static final byte Metal
See Also:
Constant Field Values

NewAge

public static final byte NewAge
See Also:
Constant Field Values

Oldies

public static final byte Oldies
See Also:
Constant Field Values

Other

public static final byte Other
See Also:
Constant Field Values

Pop

public static final byte Pop
See Also:
Constant Field Values

RandB

public static final byte RandB
See Also:
Constant Field Values

Rap

public static final byte Rap
See Also:
Constant Field Values

Reggae

public static final byte Reggae
See Also:
Constant Field Values

Rock

public static final byte Rock
See Also:
Constant Field Values

Techno

public static final byte Techno
See Also:
Constant Field Values

Industrial

public static final byte Industrial
See Also:
Constant Field Values

Alternative

public static final byte Alternative
See Also:
Constant Field Values

Ska

public static final byte Ska
See Also:
Constant Field Values

DeathMetal

public static final byte DeathMetal
See Also:
Constant Field Values

Pranks

public static final byte Pranks
See Also:
Constant Field Values

Soundtrack

public static final byte Soundtrack
See Also:
Constant Field Values

EuroTechno

public static final byte EuroTechno
See Also:
Constant Field Values

Ambient

public static final byte Ambient
See Also:
Constant Field Values

TripHop

public static final byte TripHop
See Also:
Constant Field Values

Vocal

public static final byte Vocal
See Also:
Constant Field Values

JazzFunk

public static final byte JazzFunk
See Also:
Constant Field Values

Fusion

public static final byte Fusion
See Also:
Constant Field Values

Trance

public static final byte Trance
See Also:
Constant Field Values

Classical

public static final byte Classical
See Also:
Constant Field Values

Instrumental

public static final byte Instrumental
See Also:
Constant Field Values

Acid

public static final byte Acid
See Also:
Constant Field Values

House

public static final byte House
See Also:
Constant Field Values

Game

public static final byte Game
See Also:
Constant Field Values

SoundClip

public static final byte SoundClip
See Also:
Constant Field Values

Gospel

public static final byte Gospel
See Also:
Constant Field Values

Noise

public static final byte Noise
See Also:
Constant Field Values

AlternRock

public static final byte AlternRock
See Also:
Constant Field Values

Bass

public static final byte Bass
See Also:
Constant Field Values

Soul

public static final byte Soul
See Also:
Constant Field Values

Punk

public static final byte Punk
See Also:
Constant Field Values

Space

public static final byte Space
See Also:
Constant Field Values

Meditative

public static final byte Meditative
See Also:
Constant Field Values

InstrumentalPop

public static final byte InstrumentalPop
See Also:
Constant Field Values

InstrumentalRock

public static final byte InstrumentalRock
See Also:
Constant Field Values

Ethnic

public static final byte Ethnic
See Also:
Constant Field Values

Gothic

public static final byte Gothic
See Also:
Constant Field Values

Darkwave

public static final byte Darkwave
See Also:
Constant Field Values

TechnoIndustrial

public static final byte TechnoIndustrial
See Also:
Constant Field Values

Electronic

public static final byte Electronic
See Also:
Constant Field Values

PopFolk

public static final byte PopFolk
See Also:
Constant Field Values

Eurodance

public static final byte Eurodance
See Also:
Constant Field Values

Dream

public static final byte Dream
See Also:
Constant Field Values

SouthernRock

public static final byte SouthernRock
See Also:
Constant Field Values

Comedy

public static final byte Comedy
See Also:
Constant Field Values

Cult

public static final byte Cult
See Also:
Constant Field Values

Gangsta

public static final byte Gangsta
See Also:
Constant Field Values

Top40

public static final byte Top40
See Also:
Constant Field Values

ChristianRap

public static final byte ChristianRap
See Also:
Constant Field Values

PopFunk

public static final byte PopFunk
See Also:
Constant Field Values

Jungle

public static final byte Jungle
See Also:
Constant Field Values

NativeAmerican

public static final byte NativeAmerican
See Also:
Constant Field Values

Cabaret

public static final byte Cabaret
See Also:
Constant Field Values

NewWave

public static final byte NewWave
See Also:
Constant Field Values

Psychadelic

public static final byte Psychadelic
See Also:
Constant Field Values

Rave

public static final byte Rave
See Also:
Constant Field Values

Showtunes

public static final byte Showtunes
See Also:
Constant Field Values

Trailer

public static final byte Trailer
See Also:
Constant Field Values

LoFi

public static final byte LoFi
See Also:
Constant Field Values

Tribal

public static final byte Tribal
See Also:
Constant Field Values

AcidPunk

public static final byte AcidPunk
See Also:
Constant Field Values

AcidJazz

public static final byte AcidJazz
See Also:
Constant Field Values

Polka

public static final byte Polka
See Also:
Constant Field Values

Retro

public static final byte Retro
See Also:
Constant Field Values

Musical

public static final byte Musical
See Also:
Constant Field Values

RockRoll

public static final byte RockRoll
See Also:
Constant Field Values

HardRock

public static final byte HardRock
See Also:
Constant Field Values

Folk

public static final byte Folk
See Also:
Constant Field Values

FolkRock

public static final byte FolkRock
See Also:
Constant Field Values

NationalFolk

public static final byte NationalFolk
See Also:
Constant Field Values

Swing

public static final byte Swing
See Also:
Constant Field Values

FastFusion

public static final byte FastFusion
See Also:
Constant Field Values

Bebob

public static final byte Bebob
See Also:
Constant Field Values

Latin

public static final byte Latin
See Also:
Constant Field Values

Revival

public static final byte Revival
See Also:
Constant Field Values

Celtic

public static final byte Celtic
See Also:
Constant Field Values

Bluegrass

public static final byte Bluegrass
See Also:
Constant Field Values

Avantgarde

public static final byte Avantgarde
See Also:
Constant Field Values

GothicRock

public static final byte GothicRock
See Also:
Constant Field Values

ProgressiveRock

public static final byte ProgressiveRock
See Also:
Constant Field Values

PsychedelicRock

public static final byte PsychedelicRock
See Also:
Constant Field Values

SymphonicRock

public static final byte SymphonicRock
See Also:
Constant Field Values

SlowRock

public static final byte SlowRock
See Also:
Constant Field Values

BigBand

public static final byte BigBand
See Also:
Constant Field Values

Chorus

public static final byte Chorus
See Also:
Constant Field Values

EasyListening

public static final byte EasyListening
See Also:
Constant Field Values

Acoustic

public static final byte Acoustic
See Also:
Constant Field Values

Humour

public static final byte Humour
See Also:
Constant Field Values

Speech

public static final byte Speech
See Also:
Constant Field Values

Chanson

public static final byte Chanson
See Also:
Constant Field Values

Opera

public static final byte Opera
See Also:
Constant Field Values

ChamberMusic

public static final byte ChamberMusic
See Also:
Constant Field Values

Sonata

public static final byte Sonata
See Also:
Constant Field Values

Symphony

public static final byte Symphony
See Also:
Constant Field Values

BootyBass

public static final byte BootyBass
See Also:
Constant Field Values

Primus

public static final byte Primus
See Also:
Constant Field Values

PornGroove

public static final byte PornGroove
See Also:
Constant Field Values

Satire

public static final byte Satire
See Also:
Constant Field Values

SlowJam

public static final byte SlowJam
See Also:
Constant Field Values

Club

public static final byte Club
See Also:
Constant Field Values

Tango

public static final byte Tango
See Also:
Constant Field Values

Samba

public static final byte Samba
See Also:
Constant Field Values

Folklore

public static final byte Folklore
See Also:
Constant Field Values

Ballad

public static final byte Ballad
See Also:
Constant Field Values

PowerBallad

public static final byte PowerBallad
See Also:
Constant Field Values

RhythmicSoul

public static final byte RhythmicSoul
See Also:
Constant Field Values

Freestyle

public static final byte Freestyle
See Also:
Constant Field Values

Duet

public static final byte Duet
See Also:
Constant Field Values

PunkRock

public static final byte PunkRock
See Also:
Constant Field Values

DrumSolo

public static final byte DrumSolo
See Also:
Constant Field Values

Acapella

public static final byte Acapella
See Also:
Constant Field Values

EuroHouse

public static final byte EuroHouse
See Also:
Constant Field Values

DanceHall

public static final byte DanceHall
See Also:
Constant Field Values

Indie

public static final byte Indie
See Also:
Constant Field Values
Constructor Detail

Genre

public Genre()
Method Detail

getString

public static java.lang.String getString(byte b)
                                  throws java.lang.IllegalArgumentException
get the string (name) of a genre from its byte value.

Parameters:
b - byte
Returns:
String
Throws:
java.lang.IllegalArgumentException

getByte

public static byte getByte(java.lang.String name)
                    throws java.lang.IllegalArgumentException
get the byte value of a genre based on its name.

Parameters:
name - String
Returns:
byte
Throws:
java.lang.IllegalArgumentException


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