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
This commit is contained in:
Benedikt Ritter 2013-09-13 11:38:32 +00:00
parent eda3c7070a
commit 467a504a2d
1 changed files with 9 additions and 0 deletions

View File

@ -534,6 +534,15 @@ public class CSVFormat implements Serializable {
return escape != null; 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. * Returns whether a quoteChar has been defined.
* *