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 TypeMethodDescriptionbooleanEquals method that checks that both the item and version string are equal.inthashCode()voidParses the data contained in the String version of the header.voidsetVersionedItem(String versionedItem) voidsetVersionString(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:HeaderParses the data contained in the String version of the header. -
toString
Description copied from interface:HeaderConverts 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()
-