public class CsvWriter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CsvWriter.Header |
| Modifier and Type | Field and Description |
|---|---|
private int |
column |
private Writer |
writer |
| Modifier | Constructor and Description |
|---|---|
private |
CsvWriter(Writer writer,
List<String> headers) |
| Modifier and Type | Method and Description |
|---|---|
static CsvWriter.Header |
makeHeader() |
private static String |
print(Object o) |
void |
printRow(Object[] columns) |
private void |
printRow(Stream<?> columns) |
private final Writer writer
private final int column
public static CsvWriter.Header makeHeader()
public void printRow(Object[] columns) throws IOException
IOExceptionprivate void printRow(Stream<?> columns)