public class StringHeader extends java.lang.Object implements Header
| Constructor and Description |
|---|
StringHeader()
Default constructor.
|
StringHeader(java.lang.String value)
Constructor that uses the supplied value as the value of the header.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public StringHeader()
public StringHeader(java.lang.String value)
public void parse(java.lang.String in)
Headerpublic java.lang.String toString()
Headerpublic java.lang.String getValue()
public void setValue(java.lang.String value)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object