public static enum ImageServiceParameters.Formats extends java.lang.Enum<ImageServiceParameters.Formats>
Enum Constant and Description |
---|
FORMAT_BMP |
FORMAT_GIF |
FORMAT_JPG |
FORMAT_PNG24 |
FORMAT_PNG8 |
NOT_SET |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ImageServiceParameters.Formats |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageServiceParameters.Formats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageServiceParameters.Formats NOT_SET
public static final ImageServiceParameters.Formats FORMAT_PNG8
public static final ImageServiceParameters.Formats FORMAT_PNG24
public static final ImageServiceParameters.Formats FORMAT_JPG
public static final ImageServiceParameters.Formats FORMAT_BMP
public static final ImageServiceParameters.Formats FORMAT_GIF
public static ImageServiceParameters.Formats[] values()
for (ImageServiceParameters.Formats c : ImageServiceParameters.Formats.values()) System.out.println(c);
public static ImageServiceParameters.Formats 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 getValue()