Java org.apache.commons.csv CSVPrinter fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.csv CSVPrinter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.csv CSVPrinter.

The text is from its open source code.

Constructor

CSVPrinter(final Appendable out, final CSVFormat format)
Creates a printer that will print values to the given stream following the CSVFormat.

Method

voidclose()
voidflush()
Flushes the underlying stream.
AppendablegetOut()
Gets the target Appendable.
voidprint(final Object value)
Prints the string as the next value on the line.
voidprintComment(final String comment)
Prints a comment on a new line among the delimiter separated values.
voidprintln()
Outputs the record separator.
voidprintRecord(final Iterable values)
Prints the given values a single record of delimiter separated values followed by the record separator.
voidprintRecord(final Object... values)
Prints the given values a single record of delimiter separated values followed by the record separator.
voidprintRecords(final Iterable values)
Prints all the objects in the given collection handling nested collections/arrays as records.
voidprintRecords(final Object... values)
Prints all the objects in the given array handling nested collections/arrays as records.
voidprintRecords(final ResultSet resultSet)
Prints all the objects in the given JDBC result set.