|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.picard.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(String value)
Constructor that uses the supplied value as the value of the header. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Checks equality on the value of the header. |
String |
getValue()
|
int |
hashCode()
|
void |
parse(String in)
Parses the data contained in the String version of the header. |
void |
setValue(String value)
|
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(String value)
| Method Detail |
|---|
public void parse(String in)
Header
parse in interface Headerpublic String toString()
Header
toString in interface HeadertoString in class Objectpublic String getValue()
public void setValue(String value)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||