git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1745011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2016-05-22 05:22:22 +00:00
parent d6f7e20257
commit ebd0f5e5c7
1 changed files with 9 additions and 8 deletions

View File

@ -864,15 +864,15 @@ public final class CSVFormat implements Serializable {
} }
/** /**
* Prints the string as the next value on the line. The value will be escaped or encapsulated as needed. Useful when * Prints the {@code value} as the next value on the line to {@code out}. The value will be escaped or encapsulated
* one wants to avoid creating CSVPrinters. * as needed. Useful when one wants to avoid creating CSVPrinters.
* *
* @param value * @param value
* value to be output. * value to output.
* @param out * @param out
* where to print the value * where to print the value
* @param newRecord * @param newRecord
* is this a new record * if this a new record
* @throws IOException * @throws IOException
* If an I/O error occurs * If an I/O error occurs
* @since 1.4 * @since 1.4
@ -1063,7 +1063,6 @@ public final class CSVFormat implements Serializable {
* *
* @param out * @param out
* where to write * where to write
*
* @throws IOException * @throws IOException
* If an I/O error occurs * If an I/O error occurs
* @since 1.4 * @since 1.4
@ -1078,14 +1077,16 @@ public final class CSVFormat implements Serializable {
} }
/** /**
* Prints the given values a single record of delimiter separated values followed by the record separator. * Prints the given {@code values} to {@code out} as a single record of delimiter separated values followed by the
* record separator.
* *
* <p> * <p>
* The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record * The values will be quoted if needed. Quotes and new-line characters will be escaped. This method adds the record
* separator to the output after printing the record, so there is no need to call {@link #println(Appendable)}. * separator to the output after printing the record, so there is no need to call {@link #println(Appendable)}.
* </p> * </p>
* *
* @param out where to write * @param out
* where to write
* @param values * @param values
* values to output. * values to output.
* @throws IOException * @throws IOException