File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ public CSVPrinter(final Appendable out, final CSVFormat format) {
6767
6868 /**
6969 * Outputs the line separator.
70+ *
71+ * @throws IOException
72+ * If an I/O error occurs
7073 */
7174 public void println () throws IOException {
7275 out .append (format .getRecordSeparator ());
@@ -90,6 +93,8 @@ public void flush() throws IOException {
9093 *
9194 * @param values
9295 * values to output.
96+ * @throws IOException
97+ * If an I/O error occurs
9398 */
9499 public void printRecord (final Object ... values ) throws IOException {
95100 for (final Object value : values ) {
@@ -104,6 +109,8 @@ public void printRecord(final Object... values) throws IOException {
104109 *
105110 * @param values
106111 * values to output.
112+ * @throws IOException
113+ * If an I/O error occurs
107114 */
108115 public void printRecord (final Iterable <?> values ) throws IOException {
109116 for (final Object value : values ) {
@@ -121,6 +128,8 @@ public void printRecord(final Iterable<?> values) throws IOException {
121128 *
122129 * @param comment
123130 * the comment to output
131+ * @throws IOException
132+ * If an I/O error occurs
124133 */
125134 public void printComment (final String comment ) throws IOException {
126135 if (!format .isCommentingEnabled ()) {
You can’t perform that action at this time.
0 commit comments