git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1461219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-03-26 16:45:01 +00:00
parent ce1c01c403
commit 0e2ec48f8e
1 changed files with 9 additions and 0 deletions

View File

@ -67,6 +67,9 @@ public class CSVPrinter implements Flushable, Closeable {
/**
* Outputs the line separator.
*
* @throws IOException
* If an I/O error occurs
*/
public void println() throws IOException {
out.append(format.getRecordSeparator());
@ -90,6 +93,8 @@ public class CSVPrinter implements Flushable, Closeable {
*
* @param values
* values to output.
* @throws IOException
* If an I/O error occurs
*/
public void printRecord(final Object... values) throws IOException {
for (final Object value : values) {
@ -104,6 +109,8 @@ public class CSVPrinter implements Flushable, Closeable {
*
* @param values
* values to output.
* @throws IOException
* If an I/O error occurs
*/
public void printRecord(final Iterable<?> values) throws IOException {
for (final Object value : values) {
@ -121,6 +128,8 @@ public class CSVPrinter implements Flushable, Closeable {
*
* @param comment
* the comment to output
* @throws IOException
* If an I/O error occurs
*/
public void printComment(final String comment) throws IOException {
if (!format.isCommentingEnabled()) {