diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 5ad59a08..cd38a897 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -534,6 +534,15 @@ public class CSVFormat implements Serializable { return escape != null; } + /** + * 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. *