public enum Format extends Enum<Format>
| Enum Constant and Description |
|---|
GIF
GIF
|
JPG
JPG
|
JPG_BASELINE
non-progressive JPEG compression
|
PNG
8 bit PNG.
|
PNG32
32 bit PNG
|
PNG8
8 bit PNG
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format PNG
public static final Format PNG8
public static final Format PNG32
public static final Format GIF
public static final Format JPG
public static final Format JPG_BASELINE
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format 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 getValue()
Copyright © 2018. All rights reserved.