Package htsjdk.samtools.util
Enum QualityEncodingDetector.FileContext
- java.lang.Object
-
- java.lang.Enum<QualityEncodingDetector.FileContext>
-
- htsjdk.samtools.util.QualityEncodingDetector.FileContext
-
- All Implemented Interfaces:
Serializable
,Comparable<QualityEncodingDetector.FileContext>
- Enclosing class:
- QualityEncodingDetector
public static enum QualityEncodingDetector.FileContext extends Enum<QualityEncodingDetector.FileContext>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QualityEncodingDetector.FileContext
valueOf(String name)
Returns the enum constant of this type with the specified name.static QualityEncodingDetector.FileContext[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FASTQ
public static final QualityEncodingDetector.FileContext FASTQ
-
SAM
public static final QualityEncodingDetector.FileContext SAM
-
-
Method Detail
-
values
public static QualityEncodingDetector.FileContext[] 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 (QualityEncodingDetector.FileContext c : QualityEncodingDetector.FileContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QualityEncodingDetector.FileContext 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
-
-