public interface DataWriterFactory<T>
Modifier and Type | Method and Description |
---|---|
DataWriter |
createDataWriter(T owner,
String suggestedFilename)
Create a data writer for writing data that belongs to the
given owner.
|
DataWriter createDataWriter(T owner, String suggestedFilename) throws IOException
DataWriter.getFilename()
) and
number of columns (DataWriter.getColumnCount()
) set, since this
is needed for the metadata generation.owner
- The object that "owns" the data that is written
to the filesuggestedFilename
- An optional suggested filename, the
factory may use this string or generate a different filenameIOException