|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object htsjdk.samtools.metrics.VersionHeader
public class VersionHeader
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.
Constructor Summary | |
---|---|
VersionHeader()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Equals method that checks that both the item and version string are equal. |
java.lang.String |
getVersionedItem()
|
java.lang.String |
getVersionString()
|
int |
hashCode()
|
void |
parse(java.lang.String in)
Parses the data contained in the String version of the header. |
void |
setVersionedItem(java.lang.String versionedItem)
|
void |
setVersionString(java.lang.String versionString)
|
java.lang.String |
toString()
Converts the header to a String for persisting to a file. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionHeader()
Method Detail |
---|
public void parse(java.lang.String in)
Header
parse
in interface Header
public java.lang.String toString()
Header
toString
in interface Header
toString
in class java.lang.Object
public java.lang.String getVersionedItem()
public void setVersionedItem(java.lang.String versionedItem)
public java.lang.String getVersionString()
public void setVersionString(java.lang.String versionString)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |