public class PdfVersion extends Object implements Comparable<PdfVersion>, Serializable
Modifier and Type | Field and Description |
---|---|
static PdfVersion |
PDF_1_0 |
static PdfVersion |
PDF_1_1 |
static PdfVersion |
PDF_1_2 |
static PdfVersion |
PDF_1_3 |
static PdfVersion |
PDF_1_4 |
static PdfVersion |
PDF_1_5 |
static PdfVersion |
PDF_1_6 |
static PdfVersion |
PDF_1_7 |
static PdfVersion |
PDF_2_0 |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PdfVersion o) |
boolean |
equals(Object obj) |
static PdfVersion |
fromPdfName(PdfName name)
Creates a PdfVersion class from a PdfName object if the specified version can be found.
|
static PdfVersion |
fromString(String value)
Creates a PdfVersion class from a String object if the specified version can be found.
|
PdfName |
toPdfName() |
String |
toString() |
public static final PdfVersion PDF_1_0
public static final PdfVersion PDF_1_1
public static final PdfVersion PDF_1_2
public static final PdfVersion PDF_1_3
public static final PdfVersion PDF_1_4
public static final PdfVersion PDF_1_5
public static final PdfVersion PDF_1_6
public static final PdfVersion PDF_1_7
public static final PdfVersion PDF_2_0
public PdfName toPdfName()
public static PdfVersion fromString(String value)
value
- version number
public static PdfVersion fromPdfName(PdfName name)
PdfName
object if the specified version can be found.
name
- version number
public int compareTo(PdfVersion o)
compareTo
in interface Comparable<PdfVersion>
Copyright © 1998–2023 iText Group NV. All rights reserved.