public enum ProfileVersion extends Enum<ProfileVersion>
| Enum Constant and Description |
|---|
RC
The release candidate.
|
RCE
The release candidate extended.
|
V1P0
The version 1.0
|
| Modifier and Type | Method and Description |
|---|---|
static ProfileVersion |
extractVersion(String fullName)
|
static ProfileVersion |
latestVersion()
|
static ProfileVersion |
parse(String version)
|
String |
toString() |
static ProfileVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
version()
|
public static final ProfileVersion RC
public static final ProfileVersion RCE
public static final ProfileVersion V1P0
public static ProfileVersion extractVersion(String fullName)
Extract version from full name.
fullName - the full namepublic static ProfileVersion latestVersion()
Latest version of the ZUGFeRD Specification.
public static ProfileVersion parse(String version)
Parses the given version string
version - the versionpublic String toString()
toString in class Enum<ProfileVersion>public static ProfileVersion 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 static ProfileVersion[] values()
for (ProfileVersion c : ProfileVersion.values()) System.out.println(c);
Copyright © 2014 Konik.io. All Rights Reserved.