Skip to content

Commit 467a504

Browse files
committed
Add method to check if null handling has been defined
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522878 13f79535-47bb-0310-9956-ffa450edef68
1 parent eda3c70 commit 467a504

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,15 @@ public boolean isEscaping() {
534534
return escape != null;
535535
}
536536

537+
/**
538+
* Returns whether a nullString has been defined.
539+
*
540+
* @return {@code true} if a nullString is defined
541+
*/
542+
public boolean isNullHandling() {
543+
return nullString != null;
544+
}
545+
537546
/**
538547
* Returns whether a quoteChar has been defined.
539548
*

0 commit comments

Comments
 (0)