Class ParseStateMachine

java.lang.Object
org.csveed.token.ParseStateMachine

public class ParseStateMachine extends Object
Yep, a state machine. Managing all kinds of booleans to form a pseudo-state doesn't work really well whereas a state machine does. The state machine takes one character at a time, checks routes to the new state if necessary and holds tokens, which it returns whenever a field-end ('popToken') has been found.