public enum VCFHeaderVersion extends Enum<VCFHeaderVersion>
| Enum Constant and Description |
|---|
VCF3_2 |
VCF3_3 |
VCF4_0 |
VCF4_1 |
VCF4_2 |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormatString() |
static VCFHeaderVersion |
getHeaderVersion(String versionLine) |
String |
getVersionString() |
boolean |
isAtLeastAsRecentAs(VCFHeaderVersion target)
Determines whether this version is at least as recent as a given version
|
static boolean |
isFormatString(String format)
are we a valid format string for some type
|
static boolean |
isVersionString(String version)
are we a valid version string of some type
|
static VCFHeaderVersion |
toHeaderVersion(String version)
get the header version
|
static VCFHeaderVersion |
valueOf(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(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 VCFHeaderVersion toHeaderVersion(String version)
version - the version stringpublic static boolean isVersionString(String version)
version - the version stringpublic static boolean isFormatString(String format)
format - the format stringpublic static VCFHeaderVersion getHeaderVersion(String versionLine)
public boolean isAtLeastAsRecentAs(VCFHeaderVersion target)
target - the target version to compare againstpublic String getVersionString()
public String getFormatString()