public static enum Util.ImageFormat extends java.lang.Enum<Util.ImageFormat>
Modifier and Type | Method and Description |
---|---|
static Util.ImageFormat |
getDefault()
Default is
PNG . |
java.lang.String |
getExtensionName() |
java.lang.String |
getExtensionWithDot() |
static Util.ImageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Util.ImageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Util.ImageFormat BMP
public static final Util.ImageFormat JPG
public static final Util.ImageFormat PNG
public static Util.ImageFormat[] values()
for (Util.ImageFormat c : Util.ImageFormat.values()) System.out.println(c);
public static Util.ImageFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getExtensionWithDot()
public java.lang.String getExtensionName()
public static Util.ImageFormat getDefault()
PNG
.Copyright 2009-2016 Tatjana (Tanja) Kostic