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