Author: ebourg
Date: Wed Mar 7 11:02:52 2012
New Revision: 1297930
URL: http://svn.apache.org/viewvc?rev=1297930&view=rev
Log:
Removed the constructors of CSVFormat from the public API, as well as the
DISABLED constant which becomes useless because the special characters are
disabled by default in the predefined formats
Modified:
commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Modified:
commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1297930&r1=1297929&r2=1297930&view=diff
==============================================================================
---
commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
(original)
+++
commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Wed Mar 7 11:02:52 2012
@@ -46,7 +46,7 @@ public class CSVFormat implements Clonea
* and because the unicode value FFFE would be encoded as two chars (using
surrogates)
* and thus there should never be a collision with a real text char.
*/
- public static final char DISABLED = '\ufffe';
+ static final char DISABLED = '\ufffe';
/** Standard comma separated format as defined by <a
href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>. */
public static final CSVFormat DEFAULT = new CSVFormat(',', '"', DISABLED,
DISABLED, true, true, false, true);
@@ -71,7 +71,7 @@ public class CSVFormat implements Clonea
/**
* Creates a CSV format with the default parameters.
*/
- public CSVFormat() {
+ CSVFormat() {
}
/**
@@ -81,7 +81,7 @@ public class CSVFormat implements Clonea
* @param encapsulator the char used as value encapsulation
marker
* @param commentStart the char used for comment
identification
*/
- public CSVFormat(char delimiter, char encapsulator, char commentStart) {
+ CSVFormat(char delimiter, char encapsulator, char commentStart) {
this(delimiter, encapsulator, commentStart, DISABLED, true, true,
false, true);
}
@@ -97,7 +97,7 @@ public class CSVFormat implements Clonea
* @param unicodeEscapesInterpreted <tt>true</tt> when unicode escapes
should be interpreted
* @param emptyLinesIgnored <tt>true</tt> when the parser should
skip emtpy lines
*/
- public CSVFormat(
+ CSVFormat(
char delimiter,
char encapsulator,
char commentStart,