[root]/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumns
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 9 (100.0%) | 37 (100.0%) | 4.1 |
Paul Zepernick | 6 (66.7%) | 36 (97.3%) | 6.0 |
Benoit Xhenseval | 3 (33.3%) | 1 (2.7%) | 0.3 |
added code to show errors in the file
9 lines of code changed in:
renamed IDataSet to DataSet
2 lines of code changed in:
converted to factory classes
6 lines of code changed in:
removed freeMemory() call and updated constructor
I have not tested the changes yet. I go back through and make sure they are still okay
1 lines of code changed in:
added header and trailer checks
1 lines of code changed in:
added checks for header and trailer records
17 lines of code changed in:
Some serious kicking...
1/ use a map for finding the column index; this makes the fetch of the first or last column consistent
2/ removed SOME of the substring which are causing dramatic performance degradation when once has a fair amount of columns.
3/ optimised some string manipulation code (getDelimiterOffset, lTrim, lTrimKeepTabs, removeChar
4/ I would suggest the creation of a suite of unit tests for all those methods.... Paul, do you want to take this on?
1 lines of code changed in:
Moved to net.sf.pzfilereader
0 lines of code changed in: