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