public static enum ImageUtils.ImageType extends Enum<ImageUtils.ImageType>
Enum Constant and Description |
---|
BMP
Bitmap file.
|
JPG
JPG file.
|
PNG
PNG file.
|
Modifier and Type | Method and Description |
---|---|
static ImageUtils.ImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageUtils.ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageUtils.ImageType BMP
public static final ImageUtils.ImageType JPG
public static final ImageUtils.ImageType PNG
public static ImageUtils.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 ImageUtils.ImageType[] values()
for (ImageUtils.ImageType c : ImageUtils.ImageType.values()) System.out.println(c);
Copyright © 2018. All rights reserved.