|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthtsjdk.samtools.metrics.StringHeader
public class StringHeader
A simple header who's data type is a single String. Should not be used for anything other than comments or descriptive text.
Constructor Summary | |
---|---|
StringHeader()
Default constructor. |
|
StringHeader(java.lang.String value)
Constructor that uses the supplied value as the value of the header. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Checks equality on the value of the header. |
java.lang.String |
getValue()
|
int |
hashCode()
|
void |
parse(java.lang.String in)
Parses the data contained in the String version of the header. |
void |
setValue(java.lang.String value)
|
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 StringHeader()
public StringHeader(java.lang.String value)
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 getValue()
public void setValue(java.lang.String value)
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 |