Rename "encapsulator" to "quoteChar" so we have quoteChar and quotePolicy. Encapsulator makes me want to ask "encapsulate what"? fieldEncapsulator would be better but so verbose, quoteChar feels more to the point to me and provides symmetry with quotePolicy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1398012 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f6c9a36ad6
commit
f80c5bd0ad
|
@ -146,11 +146,11 @@ public class CSVFormat implements Serializable {
|
||||||
* @param header
|
* @param header
|
||||||
* the header
|
* the header
|
||||||
*/
|
*/
|
||||||
public CSVFormat(final char delimiter, final Character encapsulator, final Quote quotePolicy, final Character commentStart, final Character escape, final
|
public CSVFormat(final char delimiter, final Character quoteChar, final Quote quotePolicy, final Character commentStart, final Character escape, final
|
||||||
boolean ignoreSurroundingSpaces, final boolean ignoreEmptyLines, final String lineSeparator,
|
boolean ignoreSurroundingSpaces, final boolean ignoreEmptyLines, final String lineSeparator,
|
||||||
final String[] header) {
|
final String[] header) {
|
||||||
this.delimiter = delimiter;
|
this.delimiter = delimiter;
|
||||||
this.quoteChar = encapsulator;
|
this.quoteChar = quoteChar;
|
||||||
this.quotePolicy = quotePolicy;
|
this.quotePolicy = quotePolicy;
|
||||||
this.commentStart = commentStart;
|
this.commentStart = commentStart;
|
||||||
this.escape = escape;
|
this.escape = escape;
|
||||||
|
|
Loading…
Reference in New Issue