de.dfg.oc.logfileanalyzer
Interface DataImporterInterface
- All Known Implementing Classes:
- DefaultDataImporter
public interface DataImporterInterface
Classes that read LCS log-files need to implement this interface by providing
the getNextDataElement()
-method specified here. The method
should read a log-file and return the classifier sets for one iteration.
- Author:
- Clemens Gersbacher, Holger Prothmann
getNextDataElement
DataElement getNextDataElement(BufferedReader _logFileReader)
- Returns a
DataElement
-object containing the classifier
sets of the next unprocessed iteration. Use the
BufferedReader
given as parameter to read the classifier
sets are read from the log-file. If the last iteration was reached, the
method returns null
.
IMPORTANT: Create exactly one DataElement
per iteration.
DataElements should be created in an ascending order with respect to
their iteration number.
- Parameters:
_logFileReader
- BufferedReader
for reading the log-file
- Returns:
- the next unprocessed
DataElement
containing the
iteration number and all classifier sets of the respective
iteration or null
if all iterations have been
processed