Package htsjdk.samtools.metrics
Class StringHeader
java.lang.Object
htsjdk.samtools.metrics.StringHeader
- All Implemented Interfaces:
Header
,Serializable
A simple header who's data type is a single String. Should not be used for anything other
than comments or descriptive text.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor.StringHeader
(String value) Constructor that uses the supplied value as the value of the header. -
Method Summary
-
Constructor Details
-
StringHeader
public StringHeader()Default constructor. -
StringHeader
Constructor that uses the supplied value as the value of the header.
-
-
Method Details
-
parse
Description copied from interface:Header
Parses the data contained in the String version of the header. -
toString
Description copied from interface:Header
Converts the header to a String for persisting to a file. -
getValue
-
setValue
-
equals
Checks equality on the value of the header. -
hashCode
public int hashCode()
-