2727import java .io .IOException ;
2828
2929/**
30- * Print values as a comma separated list.
30+ * Prints values as a comma separated list.
3131 */
3232public class CSVPrinter {
3333
@@ -39,7 +39,7 @@ public class CSVPrinter {
3939 private boolean newLine = true ;
4040
4141 /**
42- * Create a printer that will print values to the given stream following the CSVFormat.
42+ * Creates a printer that will print values to the given stream following the CSVFormat.
4343 * <p/>
4444 * Currently, only a pure encapsulation format or a pure escaping format is supported. Hybrid formats
4545 * (encapsulation and escaping with a different character) are not supported.
@@ -62,15 +62,15 @@ public CSVPrinter(final Appendable out, final CSVFormat format) {
6262 // ======================================================
6363
6464 /**
65- * Output a blank line
65+ * Outputs a blank line
6666 */
6767 public void println () throws IOException {
6868 out .append (format .getLineSeparator ());
6969 newLine = true ;
7070 }
7171
7272 /**
73- * Flush the underlying stream.
73+ * Flushes the underlying stream.
7474 *
7575 * @throws IOException
7676 */
@@ -81,7 +81,7 @@ public void flush() throws IOException {
8181 }
8282
8383 /**
84- * Print a single line of comma separated values. The values will be quoted if needed. Quotes and newLine
84+ * Prints a single line of comma separated values. The values will be quoted if needed. Quotes and newLine
8585 * characters will be escaped.
8686 *
8787 * @param values
@@ -95,7 +95,7 @@ public void println(final String... values) throws IOException {
9595 }
9696
9797 /**
98- * Put a comment on a new line among the comma separated values. Comments will always begin on a new line and
98+ * Prints a comment on a new line among the comma separated values. Comments will always begin on a new line and
9999 * occupy a least one full line. The character specified to start comments and a space will be inserted at the
100100 * beginning of each new line in the comment.
101101 * <p/>
@@ -277,7 +277,7 @@ void printAndEncapsulate(final CharSequence value, final int offset, final int l
277277 }
278278
279279 /**
280- * Print the string as the next value on the line. The value will be escaped or encapsulated as needed if
280+ * Prints the string as the next value on the line. The value will be escaped or encapsulated as needed if
281281 * checkForEscape==true
282282 *
283283 * @param value
@@ -299,7 +299,7 @@ public void print(String value, final boolean checkForEscape) throws IOException
299299 }
300300
301301 /**
302- * Print the string as the next value on the line. The value will be escaped or encapsulated as needed.
302+ * Prints the string as the next value on the line. The value will be escaped or encapsulated as needed.
303303 *
304304 * @param value
305305 * value to be outputted.
0 commit comments