public class CsvWriter<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
PropertyConverter<T> |
DATE_CONVERTER |
static String |
DELIMITER |
PropertyConverter<T> |
SIMPLE_CONVERTER |
| Constructor and Description |
|---|
CsvWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
setColumns(String... columns) |
void |
setPropertyConverter(String propertyName,
PropertyConverter<T> propertyConverter) |
void |
write(T object,
OutputStream outputStream) |
public static final String DELIMITER
public final PropertyConverter<T> SIMPLE_CONVERTER
public final PropertyConverter<T> DATE_CONVERTER
public void setColumns(String... columns)
public void setPropertyConverter(String propertyName, PropertyConverter<T> propertyConverter)
public void write(T object, OutputStream outputStream) throws IOException
IOExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.