public static enum File.MediaType extends java.lang.Enum<File.MediaType>
| Modifier and Type | Method and Description |
|---|---|
static File.MediaType |
fromVal(int val) |
static File.MediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static File.MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final File.MediaType NONE
public static final File.MediaType IMAGE
public static final File.MediaType AUDIO
public static final File.MediaType VIDEO
public static final File.MediaType PLAYLIST
public static File.MediaType[] values()
for (File.MediaType c : File.MediaType.values()) System.out.println(c);
public static File.MediaType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static File.MediaType fromVal(int val)