Example usage for Java org.apache.commons.csv CSVPrinter fields, constructors, methods, implement or subclass
The text is from its open source code.
CSVPrinter(final Appendable out, final CSVFormat format) Creates a printer that will print values to the given stream following the CSVFormat. |
void | close() |
void | flush() Flushes the underlying stream. |
Appendable | getOut() Gets the target Appendable. |
void | print(final Object value) Prints the string as the next value on the line. |
void | printComment(final String comment) Prints a comment on a new line among the delimiter separated values. |
void | println() Outputs the record separator. |
void | printRecord(final Iterable> values) Prints the given values a single record of delimiter separated values followed by the record separator. |
void | printRecord(final Object... values) Prints the given values a single record of delimiter separated values followed by the record separator. |
void | printRecords(final Iterable> values) Prints all the objects in the given collection handling nested collections/arrays as records. |
void | printRecords(final Object... values) Prints all the objects in the given array handling nested collections/arrays as records. |
void | printRecords(final ResultSet resultSet) Prints all the objects in the given JDBC result set. |