public static enum Types.ImageType extends Enum<Types.ImageType>
Enum Constant and Description |
---|
IMAGES |
MYIMAGE |
PERSONAL |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Types.ImageType |
fromValue(String v) |
String |
toString() |
static Types.ImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.ImageType IMAGES
public static final Types.ImageType MYIMAGE
public static final Types.ImageType PERSONAL
public static final Types.ImageType UNRECOGNIZED
public static Types.ImageType[] values()
for (Types.ImageType c : Types.ImageType.values()) System.out.println(c);
public static Types.ImageType 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 static Types.ImageType fromValue(String v)
public String toString()
toString
in class Enum<Types.ImageType>
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.