Package htsjdk.samtools.metrics
Class VersionHeader
java.lang.Object
htsjdk.samtools.metrics.VersionHeader
- All Implemented Interfaces:
Header
,Serializable
Header that stores information about the version of some piece of software or
data used to create the metrics file. Payload consists of a name or description
of the versioned item and a version string.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that checks that both the item and version string are equal.int
hashCode()
void
Parses the data contained in the String version of the header.void
setVersionedItem
(String versionedItem) void
setVersionString
(String versionString) toString()
Converts the header to a String for persisting to a file.
-
Constructor Details
-
VersionHeader
public VersionHeader()
-
-
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. -
getVersionedItem
-
setVersionedItem
-
getVersionString
-
setVersionString
-
equals
Equals method that checks that both the item and version string are equal. -
hashCode
public int hashCode()
-