1 package de.dlr.shepard.data.timeseries.utilities;
2
3 import java.io.IOException;
4
5 /**
6 * Interface for a provider that generates a CSV file row by row
7 */
8 public interface CsvLineProvider {
9 /**
10 * Query the line provider for the next row of CSV data, if available
11 * @return The next row of CSV data, terminated with \n, or an empty string, if no more data is available
12 * @throws IOException If any exception during the creation of a row occurs
13 */
14 String readCsvLine() throws IOException;
15 }