Package com.tagtraum.audiokern.segments
Enum Segment.Type
- java.lang.Object
-
- java.lang.Enum<Segment.Type>
-
- com.tagtraum.audiokern.segments.Segment.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Segment.Type>
- Enclosing class:
- Segment
public static enum Segment.Type extends Enum<Segment.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIO_END
INITIAL_SILENCE
INTERLUDE
INTRO
KEY_CHANGE
MAIN_PART
MOMENTARY_NOISE
OUTRO
PROFANITY
REFRAIN
SUSTAINED_NOISE
THEME
TIME_CHANGE
UNKOWN
VARIATION
VERSE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId3End()
int
getId3Start()
static Segment.Type
getId3Type(int id3Code)
static Segment.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Segment.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKOWN
public static final Segment.Type UNKOWN
-
INITIAL_SILENCE
public static final Segment.Type INITIAL_SILENCE
-
INTRO
public static final Segment.Type INTRO
-
MAIN_PART
public static final Segment.Type MAIN_PART
-
OUTRO
public static final Segment.Type OUTRO
-
VERSE
public static final Segment.Type VERSE
-
REFRAIN
public static final Segment.Type REFRAIN
-
INTERLUDE
public static final Segment.Type INTERLUDE
-
THEME
public static final Segment.Type THEME
-
SUSTAINED_NOISE
public static final Segment.Type SUSTAINED_NOISE
-
AUDIO_END
public static final Segment.Type AUDIO_END
-
VARIATION
public static final Segment.Type VARIATION
-
KEY_CHANGE
public static final Segment.Type KEY_CHANGE
-
TIME_CHANGE
public static final Segment.Type TIME_CHANGE
-
MOMENTARY_NOISE
public static final Segment.Type MOMENTARY_NOISE
-
PROFANITY
public static final Segment.Type PROFANITY
-
-
Method Detail
-
values
public static Segment.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Segment.Type c : Segment.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Segment.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId3End
public int getId3End()
-
getId3Start
public int getId3Start()
-
getId3Type
public static Segment.Type getId3Type(int id3Code)
-
-