Package htsjdk.samtools.util.htsget
Enum HtsgetFormat
- java.lang.Object
-
- java.lang.Enum<HtsgetFormat>
-
- htsjdk.samtools.util.htsget.HtsgetFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<HtsgetFormat>
public enum HtsgetFormat extends Enum<HtsgetFormat>
Formats currently supported by htsget as defined by spec
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtsgetFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static HtsgetFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BAM
public static final HtsgetFormat BAM
-
CRAM
public static final HtsgetFormat CRAM
-
VCF
public static final HtsgetFormat VCF
-
BCF
public static final HtsgetFormat BCF
-
-
Method Detail
-
values
public static HtsgetFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HtsgetFormat c : HtsgetFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtsgetFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-