public enum MediaFileType extends Enum<MediaFileType>
Modifier and Type | Method and Description |
---|---|
static MediaFileType |
get(String value) |
static MediaFileType[] |
getArray(String[] values) |
String |
toString() |
String |
value() |
static MediaFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaFileType WMA
public static final MediaFileType WAV
public static final MediaFileType S3GP
public static final MediaFileType MOV
public static MediaFileType[] values()
for (MediaFileType c : MediaFileType.values()) System.out.println(c);
public static MediaFileType 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 value()
public String toString()
toString
in class Enum<MediaFileType>
public static MediaFileType get(String value)
public static MediaFileType[] getArray(String[] values)
Copyright © 2016 ECG. All rights reserved.