/[Apache-SVN]
ViewVC logotype

Revision 1819151


Jump to revision: Previous Next
Author: nmalin
Date: Sat Dec 23 14:14:45 2017 UTC (6 years, 4 months ago)
Changed paths: 4
Log Message:
Improved: In CSV export file from data-file add a new attribute to select the EOL type (OFBIZ-9536)

During the file CSV generation by data-file engine, it is not possible to choose the end of line char. It is always "CR". 
With this improvement it's now possible to define a eol-type attribute on data-file element with value CR or CRLF to use in the csv file result.
Example:
    <data-file name="MyCsvTest" separator-style="delimited" type-code="text" delimiter=";" eol-type="CRLF">
        <record name="Test">...
     </data-file>
Thanks Pierre Gaudin for this proposal.

Changed paths

Path Details
Directoryofbiz/ofbiz-framework/trunk/framework/datafile/dtd/datafiles.xsd modified , text changed
Directoryofbiz/ofbiz-framework/trunk/framework/datafile/src/main/java/org/apache/ofbiz/datafile/ModelDataFile.java modified , text changed
Directoryofbiz/ofbiz-framework/trunk/framework/datafile/src/main/java/org/apache/ofbiz/datafile/ModelDataFileReader.java modified , text changed
Directoryofbiz/ofbiz-framework/trunk/framework/datafile/src/main/java/org/apache/ofbiz/datafile/Record.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26