public enum PrintFormat extends Enum<PrintFormat>
Modifier and Type | Method and Description |
---|---|
static PrintFormat |
fromString(String format) |
String |
getFormat() |
static PrintFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrintFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintFormat PDF
public static final PrintFormat JPG
public static final PrintFormat INDD
public static final PrintFormat XML
public static PrintFormat[] values()
for (PrintFormat c : PrintFormat.values()) System.out.println(c);
public static PrintFormat 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 getFormat()
public static PrintFormat fromString(String format)
Copyright © 2010 - 2020 Adobe. All Rights Reserved