public enum VCFHeaderVersion extends java.lang.Enum<VCFHeaderVersion>
| Enum Constant and Description |
|---|
VCF3_2 |
VCF3_3 |
VCF4_0 |
VCF4_1 |
VCF4_2 |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormatString() |
static VCFHeaderVersion |
getHeaderVersion(java.lang.String versionLine) |
java.lang.String |
getVersionString() |
boolean |
isAtLeastAsRecentAs(VCFHeaderVersion target)
Determines whether this version is at least as recent as a given version
|
static boolean |
isFormatString(java.lang.String format)
are we a valid format string for some type
|
static boolean |
isVersionString(java.lang.String version)
are we a valid version string of some type
|
static VCFHeaderVersion |
toHeaderVersion(java.lang.String version)
get the header version
|
static VCFHeaderVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VCFHeaderVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VCFHeaderVersion VCF3_2
public static final VCFHeaderVersion VCF3_3
public static final VCFHeaderVersion VCF4_0
public static final VCFHeaderVersion VCF4_1
public static final VCFHeaderVersion VCF4_2
public static VCFHeaderVersion[] values()
for (VCFHeaderVersion c : VCFHeaderVersion.values()) System.out.println(c);
public static VCFHeaderVersion 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 VCFHeaderVersion toHeaderVersion(java.lang.String version)
version - the version stringpublic static boolean isVersionString(java.lang.String version)
version - the version stringpublic static boolean isFormatString(java.lang.String format)
format - the format stringpublic static VCFHeaderVersion getHeaderVersion(java.lang.String versionLine)
public boolean isAtLeastAsRecentAs(VCFHeaderVersion target)
target - the target version to compare againstpublic java.lang.String getVersionString()
public java.lang.String getFormatString()