public static enum PrintTemplate.Format extends java.lang.Enum<PrintTemplate.Format>
Enum Constant and Description |
---|
EPS |
GIF |
JPG |
PDF |
PNG_32 |
PNG_8 |
SVG |
SVGZ |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static PrintTemplate.Format |
get(java.lang.String f) |
java.lang.String |
getValue() |
static PrintTemplate.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintTemplate.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintTemplate.Format PDF
public static final PrintTemplate.Format PNG_32
public static final PrintTemplate.Format PNG_8
public static final PrintTemplate.Format JPG
public static final PrintTemplate.Format GIF
public static final PrintTemplate.Format EPS
public static final PrintTemplate.Format SVG
public static final PrintTemplate.Format SVGZ
public static final PrintTemplate.Format UNKNOWN
public static PrintTemplate.Format[] values()
for (PrintTemplate.Format c : PrintTemplate.Format.values()) System.out.println(c);
public static PrintTemplate.Format 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()
public static PrintTemplate.Format get(java.lang.String f)