commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1327754 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Date Thu, 19 Apr 2012 00:23:51 GMT
Author: sebb
Date: Thu Apr 19 00:23:51 2012
New Revision: 1327754

URL: http://svn.apache.org/viewvc?rev=1327754&view=rev
Log:
CSV-90 CSVFormat isEscaping/isEncapsulating are not public

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1327754&r1=1327753&r2=1327754&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Thu Apr 19
00:23:51 2012
@@ -248,7 +248,12 @@ public class CSVFormat implements Serial
         return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
emptyLinesIgnored, lineSeparator, header);
     }
 
-    boolean isEncapsulating() {
+    /**
+     * Returns whether an encapsulator has been defined.
+     * 
+     * @return {@code true} if an encapsulator is defined
+     */
+    public boolean isEncapsulating() {
         return isEncapsulating;
     }
 
@@ -315,7 +320,12 @@ public class CSVFormat implements Serial
         return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
emptyLinesIgnored, lineSeparator, header);
     }
 
-    boolean isEscaping() {
+    /**
+     * Returns whether escape are being processed.
+     * 
+     * @return {@code true} if escapes are processed
+     */
+    public boolean isEscaping() {
         return isEscaping;
     }
 



Mime
View raw message