public enum PdfVersion extends java.lang.Enum<PdfVersion>
Enum Constant and Description |
---|
VERSION_1_3
Version 1.3 of the PDF spec.
|
VERSION_1_4
Version 1.4 of the PDF spec.
|
VERSION_1_5
Version 1.5 of the PDF spec.
|
VERSION_1_6
Version 1.6 of the PDF spec.
|
Modifier and Type | Method and Description |
---|---|
static PdfVersion |
fromString(java.lang.String stringVersion)
For a given version String, finds the
PdfVersion that represents
that version. |
java.lang.String |
getVersionString()
Returns the String description of this version.
|
static PdfVersion |
valueOf(java.lang.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_3
public static final PdfVersion VERSION_1_4
public static final PdfVersion VERSION_1_5
public static final PdfVersion VERSION_1_6
public static PdfVersion[] values()
for (PdfVersion c : PdfVersion.values()) System.out.println(c);
public static PdfVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getVersionString()
public static PdfVersion fromString(java.lang.String stringVersion)
PdfVersion
that represents
that version.stringVersion
- The String representing the version. Valid values
include "1.3", "1.4", "1.5", and "1.6".PdfVersion
used to represent
stringVersion
, or null if none exists.This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.