com.docmosis.document.converter
Enum ConversionInstruction.PdfVersion
java.lang.Object
java.lang.Enum<ConversionInstruction.PdfVersion>
com.docmosis.document.converter.ConversionInstruction.PdfVersion
- All Implemented Interfaces:
- Serializable, Comparable<ConversionInstruction.PdfVersion>
- Enclosing class:
- ConversionInstruction
public static enum ConversionInstruction.PdfVersion
- extends Enum<ConversionInstruction.PdfVersion>
PDF_DEFAULT
public static final ConversionInstruction.PdfVersion PDF_DEFAULT
PDF_1_5
public static final ConversionInstruction.PdfVersion PDF_1_5
PDF_1_6
public static final ConversionInstruction.PdfVersion PDF_1_6
PDF_1_7
public static final ConversionInstruction.PdfVersion PDF_1_7
PDF_A_1B
public static final ConversionInstruction.PdfVersion PDF_A_1B
PDF_A_2B
public static final ConversionInstruction.PdfVersion PDF_A_2B
PDF_A_3B
public static final ConversionInstruction.PdfVersion PDF_A_3B
values
public static ConversionInstruction.PdfVersion[] 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 (ConversionInstruction.PdfVersion c : ConversionInstruction.PdfVersion.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConversionInstruction.PdfVersion 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 name
NullPointerException
- if the argument is null
getMode
public int getMode()
fromParamString
public static ConversionInstruction.PdfVersion fromParamString(String key)
- Obtain from a parameter string. Valid case insensitive values are:
- 1.5 (or pdf1.5)
- 1.6 (or pdf1.6)
- 1.7 (or pdf1.7)
- A-1b (or pdf/A-1b)
- A-2b (or pdf/A-2b)
- A-3b (or pdf/A-3b)
- Parameters:
key
- the lookup value from the above list
- Returns:
- null if not known
Copyright © 2014–2024 Docmosis Pty Ltd. All rights reserved.