public interface StateParser
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
stateToString(State s)
Converts state s into a parsable string representation.
|
State |
stringToState(java.lang.String str)
Converts a string into a State object assuming the string representation was produced using this state parser.
|
java.lang.String stateToString(State s)
s - the state to convertState stringToState(java.lang.String str)
str - a string representation of a state