public enum PdfVersion extends Enum<PdfVersion> implements FriendlyNamed
Enum Constant and Description |
---|
VERSION_1_0 |
VERSION_1_1 |
VERSION_1_2 |
VERSION_1_3 |
VERSION_1_4 |
VERSION_1_5 |
VERSION_1_6 |
VERSION_1_7 |
Modifier and Type | Method and Description |
---|---|
String |
getFriendlyName() |
static PdfVersion |
getMax(MinRequiredVersion... items) |
static PdfVersion |
getMax(PdfVersion... pdfVersions) |
double |
getVersion() |
String |
getVersionHeader() |
String |
getVersionString() |
static PdfVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdfVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PdfVersion VERSION_1_0
public static final PdfVersion VERSION_1_1
public static final PdfVersion VERSION_1_2
public static final PdfVersion VERSION_1_3
public static final PdfVersion VERSION_1_4
public static final PdfVersion VERSION_1_5
public static final PdfVersion VERSION_1_6
public static final PdfVersion VERSION_1_7
public static PdfVersion[] values()
for (PdfVersion c : PdfVersion.values()) System.out.println(c);
public static PdfVersion 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 getFriendlyName()
getFriendlyName
in interface FriendlyNamed
public double getVersion()
public String getVersionString()
public String getVersionHeader()
public static PdfVersion getMax(PdfVersion... pdfVersions)
pdfVersions
- public static PdfVersion getMax(MinRequiredVersion... items)
items
- Copyright © 2019 sejda. All rights reserved.