Class VCFHeaderLine
java.lang.Object
htsjdk.variant.vcf.VCFHeaderLine
- All Implemented Interfaces:
Serializable, Comparable
- Direct Known Subclasses:
VCFCompoundHeaderLine, VCFSimpleHeaderLine
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final booleanstatic final longprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetKey()Get the keygetValue()Get the valueinthashCode()static booleanisHeaderLine(String line) booleanBy default the header lines won't be added to the dictionary, unless this method will be override (for example in FORMAT, INFO or FILTER header lines)toString()protected StringShould be overloaded in sub classes to do subclass specificstatic StringtoStringEncoding(Map<String, ? extends Object> keyValues) create a string of a mapping pair for the target VCF version
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
ALLOW_UNBOUND_DESCRIPTIONS
protected static final boolean ALLOW_UNBOUND_DESCRIPTIONS- See Also:
-
UNBOUND_DESCRIPTION
- See Also:
-
-
Constructor Details
-
VCFHeaderLine
-
-
Method Details
-
getKey
-
getValue
-
shouldBeAddedToDictionary
public boolean shouldBeAddedToDictionary()By default the header lines won't be added to the dictionary, unless this method will be override (for example in FORMAT, INFO or FILTER header lines)- Returns:
- false
-
toString
-
toStringEncoding
Should be overloaded in sub classes to do subclass specific- Returns:
- the string encoding
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable
-
isHeaderLine
- Parameters:
line- the line- Returns:
- true if the line is a VCF meta data line, or false if it is not
-
toStringEncoding
-