public class CSVService extends Object
SlideSet
data as a CSV file.
Does not save enough data to permit reading.Modifier and Type | Field and Description |
---|---|
private FileOutputStream |
fos |
private PrintWriter |
pw |
Constructor and Description |
---|
CSVService() |
Modifier and Type | Method and Description |
---|---|
private String |
colNames(SlideSet data) |
private String |
row(SlideSet data,
int row) |
void |
write(SlideSet data,
File file)
Write a
SlideSet to a CSV file |
void |
write(SlideSet data,
File file,
boolean includeParent) |
private FileOutputStream fos
private PrintWriter pw
public void write(SlideSet data, File file) throws IOException
SlideSet
to a CSV fileIOException
public void write(SlideSet data, File file, boolean includeParent) throws IOException
IOException
Copyright © 2023. All rights reserved.