public enum ImageExtension extends Enum<ImageExtension>
| Enum Constant and Description |
|---|
GIF
The .gif image file extension.
|
JPG
The .jpg or .jpeg image file extension.
|
NONE
The empty file extension.
|
PNG
The .png image file extension.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ImageExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageExtension NONE
public static final ImageExtension PNG
public static final ImageExtension JPG
public static final ImageExtension GIF
public static ImageExtension[] values()
for (ImageExtension c : ImageExtension.values()) System.out.println(c);
public static ImageExtension 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 toString()
toString in class Enum<ImageExtension>Copyright © 2011–2015 JRebirth OSS. All rights reserved.