Author: britter
Date: Fri Sep 13 11:38:32 2013
New Revision: 1522878
URL: http://svn.apache.org/r1522878
Log:
Add method to check if null handling has been defined
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=1522878&r1=1522877&r2=1522878&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
Fri Sep 13 11:38:32 2013
@@ -535,6 +535,15 @@ public class CSVFormat implements Serial
}
/**
+ * Returns whether a nullString has been defined.
+ *
+ * @return {@code true} if a nullString is defined
+ */
+ public boolean isNullHandling() {
+ return nullString != null;
+ }
+
+ /**
* Returns whether a quoteChar has been defined.
*
* @return {@code true} if a quoteChar is defined