public enum SegmentType extends Enum<SegmentType>
| Modifier and Type | Method and Description |
|---|---|
static com.metabroadcast.common.base.Maybe<SegmentType> |
fromString(String type) |
String |
toString() |
static SegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentType MUSIC
public static final SegmentType SPEECH
public static SegmentType[] values()
for (SegmentType c : SegmentType.values()) System.out.println(c);
public static SegmentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<SegmentType>public static com.metabroadcast.common.base.Maybe<SegmentType> fromString(String type)
Copyright © 2014. All rights reserved.