Enum PDFOutputDevice.Version
- java.lang.Object
-
- java.lang.Enum<PDFOutputDevice.Version>
-
- com.levigo.jadice.server.ghostscript.PDFOutputDevice.Version
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFOutputDevice.Version>
- Enclosing class:
- PDFOutputDevice
public static enum PDFOutputDevice.Version extends Enum<PDFOutputDevice.Version>
The version of PDF to generate.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static PDFOutputDevice.Version
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFOutputDevice.Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PDF12
public static final PDFOutputDevice.Version PDF12
PDF Version 1.2.
-
PDF13
public static final PDFOutputDevice.Version PDF13
PDF Version 1.3.
-
PDF14
public static final PDFOutputDevice.Version PDF14
PDF Version 1.4.
-
PDFX
public static final PDFOutputDevice.Version PDFX
PDF/X3
-
PDFA
public static final PDFOutputDevice.Version PDFA
Deprecated.UsePDFA_1
instead if using ghostscript 9.06 or abovePDF/A
-
PDFA_1
public static final PDFOutputDevice.Version PDFA_1
PDF/A-1. Requires ghostscript 9.06 or above- Since:
- jadice server 4.3.1.19
-
PDFA_2
public static final PDFOutputDevice.Version PDFA_2
PDF/A-2. Requires ghostscript 9.06 or above- Since:
- jadice server 4.3.1.19
-
-
Field Detail
-
option
public final String option
-
-
Method Detail
-
values
public static PDFOutputDevice.Version[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDFOutputDevice.Version c : PDFOutputDevice.Version.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFOutputDevice.Version valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<PDFOutputDevice.Version>
-
-