Enum Constant and Description |
---|
V1_0
PDF v1
|
V1_1
PDF v1.1
|
V1_2
PDF v1.2
|
V1_3
PDF v1.3
|
V1_4
PDF v1.4
|
V1_5
PDF v1.5
|
V1_6
PDF v1.6
|
V1_7
PDF v1.7
|
Modifier and Type | Method and Description |
---|---|
static Version |
getValueOf(java.lang.String version)
Given the PDF version as a String, returns the corresponding enumerated type.
|
java.lang.String |
toString() |
static Version |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version V1_0
public static final Version V1_1
public static final Version V1_2
public static final Version V1_3
public static final Version V1_4
public static final Version V1_5
public static final Version V1_6
public static final Version V1_7
public static Version[] values()
for (Version c : Version.values()) System.out.println(c);
public static Version 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 static Version getValueOf(java.lang.String version)
version
- a version numberjava.lang.IllegalArgumentException
- if the argument does not correspond to any
existing PDF versionpublic java.lang.String toString()
toString
in class java.lang.Enum<Version>
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.