@Immutable public final class CsvWriter extends Object
TODO(lwhite): Do something with the missing indicator param in write() method TODO(lwhite): Add a missing indicator to the column write method, plus a method defining a default missing indicator
Modifier and Type | Method and Description |
---|---|
static void |
write(String fileName,
Column column)
Writes the given column to a file with the given fileName as a single column CSV file
|
static void |
write(Table table,
File file)
Writes the given table to athe given file
|
static void |
write(Table table,
OutputStream stream)
Writes the given table to a file with the given filename
|
static void |
write(Table table,
String fileName)
Writes the given table to a file with the given filename
|
static void |
write(Table table,
Writer writer)
Writes the given table to the given file
|
public static void write(Table table, Writer writer) throws IOException
IOException
- if the write failspublic static void write(Table table, OutputStream stream) throws IOException
IOException
- if the write failspublic static void write(Table table, File file) throws IOException
IOException
- if the write failspublic static void write(Table table, String fileName) throws IOException
IOException
- if the write failspublic static void write(String fileName, Column column) throws IOException
IOException
- if the write failsCopyright © 2017. All rights reserved.