// CSV output files should never contain empty lines, so probably
// not
// If so, then need to check whether the reader is at EOF
while ((parts = csvReadFile(dataReader, delim)).length != 0) {
lineNumber++;
SampleEvent event = CSVSaveService.makeResultFromDelimitedString(parts, saveConfig, lineNumber);
if (event != null) {
final SampleResult result = event.getResult();
if (ResultCollector.isSampleWanted(result.isSuccessful(),
errorsOnly, successOnly)) {
visualizer.add(result);
}
}