Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1461219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce1c01c403
commit
0e2ec48f8e
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue