public enum VCFFormat extends Enum<VCFFormat>
| Modifier and Type | Method and Description |
|---|---|
static VCFFormat |
inferFromData(InputStream in) |
static VCFFormat |
inferFromFilePath(org.apache.hadoop.fs.Path path)
Infers the VCF format by looking at the filename of the given path.
|
static VCFFormat |
inferFromFilePath(String name)
Infers the VCF format by looking at the extension of the given file
name.
|
static VCFFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VCFFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static VCFFormat[] values()
for (VCFFormat c : VCFFormat.values()) System.out.println(c);
public static VCFFormat 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 VCFFormat inferFromFilePath(org.apache.hadoop.fs.Path path)
inferFromFilePath(String)public static VCFFormat inferFromData(InputStream in) throws IOException
IOExceptionCopyright © 2016. All rights reserved.