Interface MultiturnParser
-
- All Known Implementing Classes:
MultiturnParserImpl
public interface MultiturnParserthis is the interface for a parser for Multiturn data. Since the data is split over two files it has two methods, one to create a new data - object and one to add data to an already existing object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MultiturnDataparse(java.io.File file)creates a new Multiturn data object from the data parsed from the file.voidparse(java.io.File file, MultiturnData data)parses the file and adds the containig data to the given data object
-
-
-
Method Detail
-
parse
MultiturnData parse(java.io.File file) throws MultiturnParserException
creates a new Multiturn data object from the data parsed from the file.- Parameters:
file- the file to parse- Returns:
- a newly created multiturn object
- Throws:
MultiturnParserException- if something goes wrong
-
parse
void parse(java.io.File file, MultiturnData data) throws MultiturnParserExceptionparses the file and adds the containig data to the given data object- Parameters:
file- the file to parsedata- the data to which to append the parsed data- Throws:
MultiturnParserException
-
-