commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Tsakumagos (JIRA)" <>
Subject [jira] [Created] (CSV-93) Allow the handling of NULL values
Date Mon, 30 Jul 2012 10:01:35 GMT
Georg Tsakumagos created CSV-93:

             Summary: Allow the handling of NULL values
                 Key: CSV-93
             Project: Commons CSV
          Issue Type: Improvement
          Components: Documentation, Parser, Printer
    Affects Versions: 1.0
            Reporter: Georg Tsakumagos

h5. Requirement
To use the CSV parser and printer for SQL Dumps it would be nice if they could handle *null*

h5. Specification
To distinguish between an *empty* or *null* value empty values always gets quoted to denote
an empty string. The absence of an quote denotes a *null* value

h5. Modifications
See derived patch.

h5. Example
This example using as base the _DEFAULT_ _CSVFormat_ modified by the NullObjectPattern behavior.

|| Array-Data || CSV-Data ||
| \{null,"","A"," "\}; |,"A",""," " |
| \{"",null,"A"," "\} |"",,"A"," " |
| \{"","A",null\} |"","A", |

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message