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