public class DefinitionFileSelectionState extends AbstractState
| Constructor and Description |
|---|
DefinitionFileSelectionState(Scanner myScanner,
java.lang.Integer beginningColumn,
java.lang.Integer beginningRow)
This constructor initialize the new DefinitionFileSelectionState.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractState |
action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath)
This method represents the action which will be executed, if it reached.
|
protected void |
finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath)
Method, which will be call at the end of each row.
|
getBeginningColumn, getBeginningRow, getMyScannerpublic DefinitionFileSelectionState(Scanner myScanner, java.lang.Integer beginningColumn, java.lang.Integer beginningRow)
myScanner - is the used scanner.beginningColumn - is the Begin Column of the SymbolbeginningRow - is the beginning row of the symbolpublic AbstractState action(java.lang.Character character, Buffer<AbstractSymbol> currentResult, java.lang.String dataPath)
AbstractStateaction in class AbstractStatecharacter - is the used Character.currentResult - is the Buffer of symbols.dataPath - is the path to the dataStreamprotected void finish(Buffer<AbstractSymbol> currentResult, java.lang.String dataPath)
AbstractStatefinish in class AbstractStatecurrentResult - is the buffer of symbols.dataPath - is the path.