Class MultiturnParserImpl
- java.lang.Object
-
- cern.accsoft.steering.aloha.plugin.multiturn.read.parse.MultiturnParserImpl
-
- All Implemented Interfaces:
MultiturnParser
public class MultiturnParserImpl extends java.lang.Object implements MultiturnParser
This is the implementation of the parser for multiturn-files
-
-
Constructor Summary
Constructors Constructor Description MultiturnParserImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiturnDataparse(java.io.File file)the parser used to parse the text-filevoidparse(java.io.File file, MultiturnData data)parses the file and adds the containig data to the given data object
-
-
-
Method Detail
-
parse
public MultiturnData parse(java.io.File file) throws MultiturnParserException
the parser used to parse the text-file- Specified by:
parsein interfaceMultiturnParser- Parameters:
file- the file to parse- Returns:
- a newly created multiturn object
- Throws:
MultiturnParserException- if something goes wrong
-
parse
public void parse(java.io.File file, MultiturnData data) throws MultiturnParserExceptionDescription copied from interface:MultiturnParserparses the file and adds the containig data to the given data object- Specified by:
parsein interfaceMultiturnParser- Parameters:
file- the file to parsedata- the data to which to append the parsed data- Throws:
MultiturnParserException
-
-