public enum SimpleType extends Enum<SimpleType>
| Enum Constant and Description |
|---|
AUDIO |
DOCUMENT |
DRAWING |
IMAGE |
TEXT |
UNKNOWN |
UNSPECIFIED |
VIDEO |
| Modifier and Type | Method and Description |
|---|---|
static SimpleType |
fromValue(String v) |
String |
value() |
static SimpleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleType UNKNOWN
public static final SimpleType UNSPECIFIED
public static final SimpleType AUDIO
public static final SimpleType VIDEO
public static final SimpleType IMAGE
public static final SimpleType DOCUMENT
public static final SimpleType DRAWING
public static final SimpleType TEXT
public static SimpleType[] values()
for (SimpleType c : SimpleType.values()) System.out.println(c);
public static SimpleType 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 static SimpleType fromValue(String v)
Copyright © 2014. All rights reserved.