public enum ProfileVersion extends java.lang.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(java.lang.String fullName)
Extract version from full name.
|
static ProfileVersion |
latestVersion()
Latest version of the ZUGFeRD Specification.
|
static ProfileVersion |
parse(java.lang.String version)
Parses the given version string
|
java.lang.String |
toString() |
static ProfileVersion |
valueOf(java.lang.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.
|
java.lang.String |
version()
Version.
|
java.lang.String |
versionAlt()
alternative representation of the version with the .(dot).
|
public static final ProfileVersion RC
The release candidate.
public static final ProfileVersion RCE
The release candidate extended.
public static final ProfileVersion V1P0
The version 1.0
public static ProfileVersion extractVersion(java.lang.String fullName)
Extract version from full name.
fullName
- the full namepublic static ProfileVersion latestVersion()
Latest version of the ZUGFeRD Specification.
public static ProfileVersion parse(java.lang.String version)
Parses the given version string
version
- the versionpublic java.lang.String toString()
toString
in class java.lang.Enum<ProfileVersion>
public static ProfileVersion 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 ProfileVersion[] values()
for (ProfileVersion c : ProfileVersion.values()) System.out.println(c);
public java.lang.String version()
Version.
public java.lang.String versionAlt()
alternative representation of the version with the .(dot).
Copyright © 2014-2018 Konik.io. All Rights Reserved.