From: <be...@us...> - 2006-10-16 13:01:52
|
Revision: 56 http://svn.sourceforge.net/pzfilereader/?rev=56&view=rev Author: benoitx Date: 2006-10-16 05:59:13 -0700 (Mon, 16 Oct 2006) Log Message: ----------- May look a bit scary but there was no code change. I still need to think further about the examples but now the project is split in 2 modules, the main library pzfilereader and the examples pzfilereader-examples. Both follow the same version numbering. Each can be built at their level (e.e the PZFileReader directory or PZFileReaderSamples directory. But preferably at the top level using: maven pz:build maven pz:rebuild maven pz:site maven pz:releasebuild The Site is the generated in target/pzfilereader-site-2.2.0/bin/pzfilereader-2.2.0/docs More to follow... Modified Paths: -------------- trunk/PZFileReader/build.xml Added Paths: ----------- trunk/LICENSE.txt trunk/PZFileReader/maven.xml trunk/PZFileReader/project.xml trunk/PZFileReader/qalab.xml trunk/PZFileReader/src/ trunk/PZFileReader/src/main/ trunk/PZFileReader/src/main/java/ trunk/PZFileReader/src/main/java/com/ trunk/PZFileReader/src/main/java/com/pz/ trunk/PZFileReader/src/main/java/com/pz/reader/ trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java trunk/PZFileReader/src/main/java/com/pz/reader/LargeDataSet.java trunk/PZFileReader/src/main/java/com/pz/reader/Version.java trunk/PZFileReader/src/main/java/com/pz/reader/ordering/ trunk/PZFileReader/src/main/java/com/pz/reader/ordering/OrderBy.java trunk/PZFileReader/src/main/java/com/pz/reader/ordering/OrderColumn.java trunk/PZFileReader/src/main/java/com/pz/reader/structure/ trunk/PZFileReader/src/main/java/com/pz/reader/structure/ColumnMetaData.java trunk/PZFileReader/src/main/java/com/pz/reader/structure/Row.java trunk/PZFileReader/src/main/java/com/pz/reader/util/ trunk/PZFileReader/src/main/java/com/pz/reader/util/ExcelTransformer.java trunk/PZFileReader/src/main/java/com/pz/reader/util/ParserUtils.java trunk/PZFileReader/src/main/java/com/pz/reader/xml/ trunk/PZFileReader/src/main/java/com/pz/reader/xml/PZMapParser.java trunk/PZFileReader/src/main/java/com/pz/reader/xml/ResolveLocalDTD.java trunk/PZFileReader/src/main/java/com/pz/reader/xml/XMLRecordElement.java trunk/PZFileReader/src/main/java/com/pz/reader/xml/pzfilereader.dtd trunk/PZFileReader/src/site/ trunk/PZFileReader/src/site/index.xml trunk/PZFileReader/src/site/navigation.xml trunk/PZFileReader/src/test/ trunk/PZFileReader/src/test/java/ trunk/PZFileReader/src/test/java/com/ trunk/PZFileReader/src/test/java/com/test/ trunk/PZFileReader/src/test/java/com/test/AllJunitTests.java trunk/PZFileReader/src/test/java/com/test/delim/ trunk/PZFileReader/src/test/java/com/test/delim/columnInFile/ trunk/PZFileReader/src/test/java/com/test/delim/columnInFile/DelimitedColumnNamesInFile.java trunk/PZFileReader/src/test/java/com/test/delim/columnInFile/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReader/src/test/java/com/test/delim/columnInFile/TestDelimitedColumnNamesInFile.java trunk/PZFileReader/src/test/java/com/test/delim/multiLine/ trunk/PZFileReader/src/test/java/com/test/delim/multiLine/CSVPerformanceTest.java trunk/PZFileReader/src/test/java/com/test/delim/multiLine/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReader/src/test/java/com/test/delim/tab/ trunk/PZFileReader/src/test/java/com/test/delim/tab/PEOPLE-TabDelimitedWithQualifier.txt trunk/PZFileReader/src/test/java/com/test/delim/tab/TabDelimited.java trunk/PZFileReader/src/test/java/com/test/delim/tab/TestTabDelimited.java trunk/PZFileReaderSamples/src/ trunk/PZFileReaderSamples/src/main/ trunk/PZFileReaderSamples/src/main/java/ trunk/PZFileReaderSamples/src/main/java/com/ trunk/PZFileReaderSamples/src/main/java/com/pz/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/CSVPerformanceTest.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/SampleCSV.csv trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/settings.properties trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/DelimitedFileExportToExcel.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/PEOPLE-FixedLength.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/PEOPLE-FixedLength.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/PEOPLE-FixedLength.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/PEOPLE-FixedLength.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/PEOPLE.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/PEOPLE.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/WEB-INF/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/WEB-INF/classes/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/WEB-INF/lib/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/WEB-INF/web.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/pzfilereaderwebsamples/index.jsp trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/jsptableexample/readme.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/PEOPLE-FixedLength.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/PEOPLE-FixedLength.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/CSVLarge.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/SampleCSV.csv trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/settings.properties trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/LowLevelParse.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/DelimitedMultiLine.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/INVENTORY-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/INVENTORY-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/NumericsAndDates.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/README.txt trunk/PZFileReaderSamples/src/site/ trunk/PZFileReaderSamples/src/site/index.xml trunk/PZFileReaderSamples/src/site/navigation.xml trunk/common-build/ trunk/common-build/checkstyle_checks.xml trunk/common-build/findbugs-exclude-filter.xml trunk/common-build/objectlab_checks.xml trunk/common-build/project.properties trunk/common-build/project.xml trunk/maven.xml trunk/project.properties trunk/project.xml trunk/src/ trunk/src/site/ trunk/src/site/index.xml trunk/src/site/navigation.xml Removed Paths: ------------- trunk/PZFileReader/com/ trunk/PZFileReaderSamples/CSVHeaderAndTrailer/ trunk/PZFileReaderSamples/CSVPerformanceTest/ trunk/PZFileReaderSamples/CreateSampleCSV/ trunk/PZFileReaderSamples/DelimitedColumnNamesInFile/ trunk/PZFileReaderSamples/DelimitedDynamicColumns/ trunk/PZFileReaderSamples/DelimitedDynamicColumnsWithErrors/ trunk/PZFileReaderSamples/ExportToExcel/ trunk/PZFileReaderSamples/FixedLengthDynamicColumns/ trunk/PZFileReaderSamples/FixedLengthHeaderAndTrailer/ trunk/PZFileReaderSamples/JSPTableExample/ trunk/PZFileReaderSamples/LargeDataSet/ trunk/PZFileReaderSamples/LowLevelParse/ trunk/PZFileReaderSamples/MultilineDelimitedRecord/ trunk/PZFileReaderSamples/NumericsAndDates/ Property Changed: ---------------- trunk/ trunk/PZFileReader/ Property changes on: trunk ___________________________________________________________________ Name: svn:ignore + target Added: trunk/LICENSE.txt =================================================================== --- trunk/LICENSE.txt (rev 0) +++ trunk/LICENSE.txt 2006-10-16 12:59:13 UTC (rev 56) @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. Property changes on: trunk/PZFileReader ___________________________________________________________________ Name: svn:ignore + target Modified: trunk/PZFileReader/build.xml =================================================================== --- trunk/PZFileReader/build.xml 2006-10-16 10:55:08 UTC (rev 55) +++ trunk/PZFileReader/build.xml 2006-10-16 12:59:13 UTC (rev 56) @@ -3,7 +3,7 @@ Disto Build Script For pzFileReader </description> <!-- set global properties for this build --> - <property name="src" location="."/> + <property name="src" location="./src/main/java"/> <property name="build" location="build"/> <!--set this to the target of the build--> <property name="dist" location="c:/pzFileReader/distro"/> Added: trunk/PZFileReader/maven.xml =================================================================== --- trunk/PZFileReader/maven.xml (rev 0) +++ trunk/PZFileReader/maven.xml 2006-10-16 12:59:13 UTC (rev 56) @@ -0,0 +1,18 @@ +<?xml version="1.0"?> + +<!-- + /* + * ======================================================================== + * ObjectLab Financial Ltd, proud sponsor of PZFileReader. + * ======================================================================== + */ +--> + +<project xmlns:j="jelly:core" xmlns:core="jelly:core" + xmlns:maven="jelly:maven" xmlns:ant="jelly:ant" + xmlns:define="jelly:define" xmlns:doc="doc" xmlns:util="jelly:util" + xmlns:log="jelly:log"> + + <goal name="pz:build" prereqs="jar:install" /> + <goal name="pz:rebuild" prereqs="clean,kit:build" /> +</project> Added: trunk/PZFileReader/project.xml =================================================================== --- trunk/PZFileReader/project.xml (rev 0) +++ trunk/PZFileReader/project.xml 2006-10-16 12:59:13 UTC (rev 56) @@ -0,0 +1,58 @@ +<?xml version="1.0"?> + +<!-- + /* + * ======================================================================== + * $Id: project.xml 167 2006-09-12 15:11:43Z benoitx $ + * + * Copyright 2006 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + * ======================================================================== + */ +--> + +<project> + <extend>../common-build/project.xml</extend> + <name>PZFileReader</name> + <artifactId>pzfilereader</artifactId> + <package>com.pz.reader</package> + <shortDescription>PZFileReader </shortDescription> + <description> + Simple Java delimited and fixed width file parser. Handles CSV, Excel CSV, Tab, Pipe delimiters, just to name a few. + Maps column positions in the file to user friendly names via XML. See PZFileReader Feature List under News for complete feature list. + </description> + <repository> + <connection> + scm:svn:https://svn.sourceforge.net/svnroot/pzfilereader/trunk/PZFileReader + </connection> + <developerConnection> + scm:svn:https://svn.sourceforge.net/svnroot/pzfilereader/trunk/PZFileReader + </developerConnection> + </repository> + <dependencies /> + + <build> + <sourceDirectory>src/main/java</sourceDirectory> + <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory> + <unitTest> + <includes> + <include>**/*NOTest.java</include> + </includes> + <excludes> + <exclude>**/Abstract*.java</exclude> + </excludes> + </unitTest> + </build> + +</project> Added: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml (rev 0) +++ trunk/PZFileReader/qalab.xml 2006-10-16 12:59:13 UTC (rev 56) @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE qalab [<!ELEMENT qalab (summary,file*)> +<!ATTLIST qalab version CDATA #REQUIRED> +<!ELEMENT summary (summaryresult*)> +<!ELEMENT file (result+)> +<!ATTLIST file id ID #REQUIRED> +<!ATTLIST file path CDATA #REQUIRED> +<!ELEMENT result EMPTY> +<!ATTLIST result date CDATA #REQUIRED> +<!ATTLIST result statvalue CDATA #REQUIRED> +<!ATTLIST result type CDATA #REQUIRED> +<!ELEMENT summaryresult EMPTY> +<!ATTLIST summaryresult date CDATA #REQUIRED> +<!ATTLIST summaryresult statvalue CDATA #REQUIRED> +<!ATTLIST summaryresult filecount CDATA #REQUIRED> +<!ATTLIST summaryresult type CDATA #REQUIRED> +]> +<qalab version="1.1"> + <summary> + <summaryresult date="2006-10-16" filecount="18" statvalue="469" type="checkstyle"/> + <summaryresult date="2006-10-16" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-16" filecount="7" statvalue="18" type="findbugs"/> + <summaryresult date="2006-10-16" filecount="3" statvalue="170" type="simian"/> + </summary> + <file id="com_pz_reader_util_ParserUtils.java" path="com/pz/reader/util/ParserUtils.java"> + <result date="2006-10-16" statvalue="25" type="checkstyle"/> + <result date="2006-10-16" statvalue="3" type="pmd"/> + <result date="2006-10-16" statvalue="3" type="findbugs"/> + </file> + <file id="com_pz_reader_xml_PZMapParser.java" path="com/pz/reader/xml/PZMapParser.java"> + <result date="2006-10-16" statvalue="158" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="pmd"/> + <result date="2006-10-16" statvalue="1" type="findbugs"/> + </file> + <file + id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_CSVPerformanceTest.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/CSVPerformanceTest.java"/> + <file + id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_tab_TabDelimited.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/tab/TabDelimited.java"/> + <file id="com_pz_reader_DataSet.java" path="com/pz/reader/DataSet.java"> + <result date="2006-10-16" statvalue="103" type="checkstyle"/> + <result date="2006-10-16" statvalue="3" type="findbugs"/> + </file> + <file id="com_pz_reader_LargeDataSet.java" path="com/pz/reader/LargeDataSet.java"> + <result date="2006-10-16" statvalue="63" type="checkstyle"/> + <result date="2006-10-16" statvalue="3" type="findbugs"/> + </file> + <file id="com_pz_reader_ordering_OrderBy.java" path="com/pz/reader/ordering/OrderBy.java"> + <result date="2006-10-16" statvalue="12" type="checkstyle"/> + <result date="2006-10-16" statvalue="5" type="findbugs"/> + </file> + <file id="com_pz_reader_xml_ResolveLocalDTD.java" path="com/pz/reader/xml/ResolveLocalDTD.java"> + <result date="2006-10-16" statvalue="16" type="checkstyle"/> + <result date="2006-10-16" statvalue="2" type="findbugs"/> + </file> + <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"> + <result date="2006-10-16" statvalue="2" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="findbugs"/> + </file> + <file id="com_pz_reader_DataError.java" path="com/pz/reader/DataError.java"> + <result date="2006-10-16" statvalue="5" type="checkstyle"/> + <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + </file> + <file id="com_pz_reader_Version.java" path="com/pz/reader/Version.java"> + <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + </file> + <file id="com_pz_reader_structure_ColumnMetaData.java" path="com/pz/reader/structure/ColumnMetaData.java"> + <result date="2006-10-16" statvalue="66" type="checkstyle"/> + <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + </file> + <file id="com_pz_reader_xml_XMLRecordElement.java" path="com/pz/reader/xml/XMLRecordElement.java"> + <result date="2006-10-16" statvalue="2" type="checkstyle"/> + <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + </file> + <file id="com_pz_reader_structure_package.html" path="com/pz/reader/structure/package.html"> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> + </file> + <file id="com_pz_reader_util_package.html" path="com/pz/reader/util/package.html"> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> + </file> + <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> + </file> + <file id="com_pz_reader_package.html" path="com/pz/reader/package.html"> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> + </file> + <file id="com_pz_reader_xml_package.html" path="com/pz/reader/xml/package.html"> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> + </file> + <file id="com_pz_reader_ordering_OrderColumn.java" path="com/pz/reader/ordering/OrderColumn.java"> + <result date="2006-10-16" statvalue="4" type="checkstyle"/> + </file> + <file id="com_pz_reader_util_ExcelTransformer.java" path="com/pz/reader/util/ExcelTransformer.java"> + <result date="2006-10-16" statvalue="8" type="checkstyle"/> + </file> +</qalab> Added: trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java =================================================================== --- trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java (rev 0) +++ trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java 2006-10-16 12:59:13 UTC (rev 56) @@ -0,0 +1,82 @@ +/* + Copyright 2006 Paul Zepernick + + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + */ +package com.pz.reader; + + +/** + * This class holds errors that occured while parsing or processing a data file. + * @author Paul Zepernick + * @version 2.0 + */ +public class DataError { + + /** Description of error */ + private String errorDesc = null; + /** line number in file error occured on */ + private int lineNo = 0; + /** + * Severity of the error 1 = Warning 2 = Moderate 3 = Severe + */ + private int errorLevel = 0; + + /** default constructor */ + public DataError() { + super(); + } + + /** + * Returns the errorDesc. + * @return String + */ + public String getErrorDesc() { + return errorDesc; + } + + /** + * Returns the errorLevel. + * @return int + */ + public int getErrorLevel() { + return errorLevel; + } + + /** + * Returns the lineNo. + * @return int + */ + public int getLineNo() { + return lineNo; + } + + /** + * Sets the errorDesc. + * @param errorDesc The errorDesc to set + */ + public void setErrorDesc(String errorDesc) { + this.errorDesc = errorDesc; + } + + /** + * Sets the errorLevel. + * @param errorLevel The errorLevel to set + */ + public void setErrorLevel(int errorLevel) { + this.errorLevel = errorLevel; + } + + /** + * Sets the lineNo. + * @param lineNo The lineNo to set + */ + public void setLineNo(int lineNo) { + this.lineNo = lineNo; + } + +} Added: trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java =================================================================== --- trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java (rev 0) +++ trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java 2006-10-16 12:59:13 UTC (rev 56) @@ -0,0 +1,1090 @@ +/* + Copyright 2006 Paul Zepernick + + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + */ +package com.pz.reader; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.Statement; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Date; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.NoSuchElementException; + +import com.pz.reader.ordering.OrderBy; +import com.pz.reader.structure.ColumnMetaData; +import com.pz.reader.structure.Row; +import com.pz.reader.util.ExcelTransformer; +import com.pz.reader.util.ParserUtils; +import com.pz.reader.xml.PZMapParser; + + + +/** + * This class parses a datafile and holds methods to scroll back and forth through the datafile + * along with methods to retreive values from columns. + * @author Paul Zepernick + * @version 2.0.1 + */ +public class DataSet { + + /** Array to hold the rows and their values in the text file */ + public List rows = null; + + + /** Array of errors that have occured during processing */ + public List errors = null; + + /** Map of column metadata's */ + public Map columnMD = null; + + /** Pointer for the current row in the array we are on */ + private int pointer = -1; + + /** flag to indicate if data should be pulled as lower case */ + private boolean lowerCase = false; + + /** flag to inidicate if data should be pulled as upper case */ + private boolean upperCase = false; + + /** + * flag to indicate if a strict parse should be used when getting doubles and ints + */ + private boolean strictNumericParse = false; + + /** + * Flag to indicate that we can cope with lines shorter than the required lengh + */ + private boolean handleShortLines = false; + + /** + * empty constructor. THIS SHOULD ONLY BE USED FOR CUSTOM DataSet implementations. It provides + * NO parsing abilities + */ + public DataSet() { + } + + + /** + * Constructs a new DataSet using the database table file layout method. This is used for a + * FIXED LENGTH text file. + * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSource - Fixed length file to read from + * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column + * @param handleShortLines - Pad lines out to fit the fixed length + * @exception Exception + */ + public DataSet(Connection con, File dataSource, String dataDefinition, boolean handleShortLines) throws Exception { + this(con, ParserUtils.createInputStream(dataSource), dataDefinition, handleShortLines); + } + + /** + * Constructs a new DataSet using the database table file layout method. This is used for a + * FIXED LENGTH text file. + * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSourceStream - text file datasource InputStream to read from + * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column + * @param handleShortLines - Pad lines out to fit the fixed length + * @exception Exception + */ + public DataSet(Connection con, InputStream dataSourceStream, String dataDefinition, boolean handleShortLines) throws Exception { + super(); + this.handleShortLines = handleShortLines; + + String sql = null; + ResultSet rs = null; + Statement stmt = null; + ColumnMetaData column = null; + boolean hasResults = false; + int recPosition = 1; + List cmds = new ArrayList(); + + try { + columnMD = new LinkedHashMap(); + stmt = con.createStatement(); + + sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + "WHERE DATAFILE.DATAFILE_DESC = '" + + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; + + rs = stmt.executeQuery(sql); + + // put array of columns together. These will be used to put together + // the dataset when reading in the file + while (rs.next()) { + + column = new ColumnMetaData(); + column.setColName(rs.getString("DATASTRUCTURE_COLUMN")); + column.setColLength(rs.getInt("DATASTRUCTURE_LENGTH")); + column.setStartPosition(recPosition); + column.setEndPosition(recPosition + (rs.getInt("DATASTRUCTURE_LENGTH") - 1)); + recPosition += rs.getInt("DATASTRUCTURE_LENGTH"); + + cmds.add(column); + + hasResults = true; + } + + columnMD.put("detail",cmds); + + if (!hasResults) { + throw new FileNotFoundException("DATA DEFINITION CAN NOT BE FOUND IN THE DATABASE " + dataDefinition); + } + + // read in the fixed length file and construct the DataSet object + doFixedLengthFile(dataSourceStream); + + } finally { + if (rs != null) + rs.close(); + if (stmt != null) + stmt.close(); + } + + } + + + /** + * Constructs a new DataSet using the database table file layout method. This is used for a + * DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f + * form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSource - text file datasource to read from + * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column + * @param delimiter - Char the file is delimited By + * @param qualifier - Char text is qualified by + * @param ignoreFirstRecord - skips the first line that contains data in the file + * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging + * them as an error + * @exception Exception + */ + public DataSet(Connection con, File dataSource, String dataDefinition, String delimiter, String qualifier, + boolean ignoreFirstRecord, boolean handleShortLines) throws Exception { + this(con, ParserUtils.createInputStream(dataSource), dataDefinition, delimiter, qualifier, ignoreFirstRecord, handleShortLines); + } + + /** + * New constructor based on InputStream. + * Constructs a new DataSet using the database table file layout method. This is used for a + * DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f + * form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSourceStream - text file datasource InputStream to read from + * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column + * @param delimiter - Char the file is delimited By + * @param qualifier - Char text is qualified by + * @param ignoreFirstRecord - skips the first line that contains data in the file + * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging + * them as an error + * @exception Exception + */ + public DataSet(Connection con, InputStream dataSourceStream, String dataDefinition, String delimiter, String qualifier, + boolean ignoreFirstRecord, boolean handleShortLines) throws Exception { + super(); + + this.handleShortLines = handleShortLines; + + String sql = null; + ResultSet rs = null; + Statement stmt = null; + ColumnMetaData column = null; + boolean hasResults = false; + List cmds = new ArrayList(); + + try { + columnMD = new LinkedHashMap(); + stmt = con.createStatement(); + + sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + "WHERE DATAFILE.DATAFILE_DESC = '" + + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; + + rs = stmt.executeQuery(sql); + + // put array of columns together. These will be used to put together + // the dataset when reading in the file + while (rs.next()) { + + column = new ColumnMetaData(); + column.setColName(rs.getString("DATASTRUCTURE_COLUMN")); + column.setColLength(rs.getInt("DATASTRUCTURE_LENGTH")); + cmds.add(column); + + hasResults = true; + } + + columnMD.put("detail",cmds); + + if (!hasResults) { + throw new FileNotFoundException("DATA DEFINITION CAN NOT BE FOUND IN THE DATABASE " + dataDefinition); + } + + // read in the fixed length file and construct the DataSet object + doDelimitedFile(dataSourceStream, delimiter, qualifier, ignoreFirstRecord, false); + + } finally { + if (rs != null) + rs.close(); + if (stmt != null) + stmt.close(); + } + + } + + + /** + * Constructs a new DataSet using the PZMAP XML file layout method. This is used for a DELIMITED + * text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f + * form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * @param pzmapXML - Reference to the xml file holding the pzmap + * @param dataSource - text file datasource to read from + * @param delimiter - Char the file is delimited By + * @param qualifier - Char text is qualified by + * @param ignoreFirstRecord - skips the first line that contains data in the file + * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging + * them as an error + * @exception Exception + */ + public DataSet(File pzmapXML, File dataSource, String delimiter, String qualifier, boolean ignoreFirstRecord, + boolean handleShortLines) throws Exception { + this(ParserUtils.createInputStream(pzmapXML), ParserUtils.createInputStream(dataSource), delimiter, qualifier, ignoreFirstRecord, handleShortLines); + } + + /** + * New constructor based on InputStream. + * Constructs a new DataSet using the PZMAP XML file layout method. This is used for a DELIMITED + * text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f + * form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * @param pzmapXMLStream - Reference to the xml file holding the pzmap + * @param dataSourceStream - text file datasource InputStream to read from + * @param delimiter - Char the file is delimited By + * @param qualifier - Char text is qualified by + * @param ignoreFirstRecord - skips the first line that contains data in the file + * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging + * them as an error + * @exception Exception + */ + public DataSet(InputStream pzmapXMLStream, InputStream dataSourceStream, String delimiter, String qualifier, boolean ignoreFirstRecord, + boolean handleShortLines) throws Exception { + + this.handleShortLines = handleShortLines; + columnMD = PZMapParser.parse(pzmapXMLStream); + + doDelimitedFile(dataSourceStream, delimiter, qualifier, ignoreFirstRecord, false); + + } + + /** + * Constructs a new DataSet using the first line of data found in the text file as the column + * names. This is used for a DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f + * form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * @param dataSource - text file datasource to read from + * @param delimiter - Char the file is delimited By + * @param qualifier - Char text is qualified by + * @param handleShortLines - when flaged as true, lines with less columns then the amount of + * column headers will be added as empty's instead of producing an error + * @exception Exception + */ + public DataSet(File dataSource, String delimiter, String qualifier, boolean handleShortLines) throws Exception { + + this.handleShortLines = handleShortLines; + InputStream dataSourceStream = null; + + try{ + dataSourceStream = ParserUtils.createInputStream(dataSource); + doDelimitedFile(dataSourceStream, delimiter, qualifier, false, true); + }finally{ + if (dataSourceStream != null) dataSourceStream.close(); + } + } + + /** + * Constructs a new DataSet using the first line of data found in the text file as the column + * names. This is used for a DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f + * form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * @param dataSource - text file InputStream to read from + * @param delimiter - Char the file is delimited By + * @param qualifier - Char text is qualified by + * @param handleShortLines - when flaged as true, lines with less columns then the amount of + * column headers will be added as empty's instead of producing an error + * @exception Exception + */ + public DataSet(InputStream dataSource, String delimiter, String qualifier, boolean handleShortLines) throws Exception { + + this.handleShortLines = handleShortLines; + + try{ + doDelimitedFile(dataSource, delimiter, qualifier, false, true); + }finally{ + if (dataSource != null) dataSource.close(); + } + } + + + /** + * Constructs a new DataSet using the PZMAP XML file layout method. This is used for a FIXED + * LENGTH text file. + * @param pzmapXML - Reference to the xml file holding the pzmap + * @param dataSource - Delimited file to read from + * @param handleShortLines - Pad lines out to fit the fixed length + * @exception Exception + */ + public DataSet(File pzmapXML, File dataSource, boolean handleShortLines) throws Exception { + this(ParserUtils.createInputStream(pzmapXML), ParserUtils.createInputStream(dataSource), handleShortLines); + } + + /** + * New constructor based on InputStream. + * Constructs a new DataSet using the PZMAP XML file layout method. This is used for a FIXED + * LENGTH text file. + * @param pzmapXMLStream - Reference to the xml file InputStream holding the pzmap + * @param dataSourceStream - Delimited file InputStream to read from + * @param handleShortLines - Pad lines out to fit the fixed length + * @exception Exception + */ + public DataSet(InputStream pzmapXMLStream, InputStream dataSourceStream, boolean handleShortLines) throws Exception { + + this.handleShortLines = handleShortLines; + + columnMD = PZMapParser.parse(pzmapXMLStream); + + // read in the fixed length file and construct the DataSet object + doFixedLengthFile(dataSourceStream); + + } + + /* + * This is the new version of doDelimitedFile using InputStrem instead of File. This is more flexible + * especially it is working with WebStart. + * + * puts together the dataset for fixed length file. This is used for PZ XML mappings, and SQL + * table mappings + */ + private void doFixedLengthFile(InputStream dataSource) throws Exception { + String line = null; + InputStreamReader isr = null; + BufferedReader br = null; + Row row = null; + int recordLength = 0; + int lineCount = 0; + int recPosition = 0; + //map of record lengths corrisponding to the ID's in the columnMD array + Map recordLengths = null; + String mdkey = null; + List cmds = null; + + try { + rows = new ArrayList(); + errors = new ArrayList(); + + recordLengths = ParserUtils.calculateRecordLengths(columnMD); + + // Read in the flat file + isr = new InputStreamReader(dataSource); + br = new BufferedReader(isr); + //loop through each line in the file + while ((line = br.readLine()) != null) { + lineCount++; + // empty line skip past it + if (line.trim().length() == 0) { + continue; + } + + + mdkey = ParserUtils.getCMDKeyForFixedLengthFile(columnMD, line); + recordLength = ((Integer)recordLengths.get(mdkey)).intValue(); + cmds = ParserUtils.getColumnMetaData(mdkey, columnMD); + + //Incorrect record length on line log the error. Line will not be included in the + //dataset + if (line.length() > recordLength) { + addError("LINE TOO LONG. LINE IS " + line.length() + " LONG. SHOULD BE " + recordLength, lineCount, + 2); + continue; + } else if (line.length() < recordLength) { + if (handleShortLines) { + // We can pad this line out + while (line.length() < recordLength) { + line = line + " "; + } + + // log a warning + addError("PADDED LINE TO CORRECT RECORD LENGTH", lineCount, 1); + + } else { + addError("LINE TOO SHORT. LINE IS " + line.length() + " LONG. SHOULD BE " + recordLength, + lineCount, 2); + continue; + } + } + + recPosition = 1; + row = new Row(); + row.setMdkey(mdkey.equals("detail") ? null : mdkey); //try to limit the memory use + //Build the columns for the row + for (int i = 0; i < cmds.size(); i++) { + String tempValue = null; + tempValue = line.substring(recPosition - 1, recPosition + + (((ColumnMetaData) cmds.get(i)).getColLength() - 1)); + recPosition += ((ColumnMetaData) cmds.get(i)).getColLength(); + row.addColumn(tempValue.trim()); + } + row.setRowNumber(lineCount); + // add the row to the array + rows.add(row); + } + } finally { + if (isr != null) { + isr.close(); + } + if (b... [truncated message content] |
From: <be...@us...> - 2006-10-16 15:36:39
|
Revision: 59 http://svn.sourceforge.net/pzfilereader/?rev=59&view=rev Author: benoitx Date: 2006-10-16 08:35:27 -0700 (Mon, 16 Oct 2006) Log Message: ----------- Applied the Eclipse cleanUp, organise imports and format to help reduce the Checkstyle issues, from 1696 to 32. slightly modified a few lines as well (ensured encapsulation). Modified Paths: -------------- trunk/PZFileReader/maven.xml trunk/PZFileReader/project.xml trunk/PZFileReader/qalab.xml trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java trunk/PZFileReader/src/main/java/com/pz/reader/LargeDataSet.java trunk/PZFileReader/src/main/java/com/pz/reader/Version.java trunk/PZFileReader/src/main/java/com/pz/reader/ordering/OrderBy.java trunk/PZFileReader/src/main/java/com/pz/reader/ordering/OrderColumn.java trunk/PZFileReader/src/main/java/com/pz/reader/structure/ColumnMetaData.java trunk/PZFileReader/src/main/java/com/pz/reader/structure/Row.java trunk/PZFileReader/src/main/java/com/pz/reader/util/ExcelTransformer.java trunk/PZFileReader/src/main/java/com/pz/reader/util/ParserUtils.java trunk/PZFileReader/src/main/java/com/pz/reader/xml/PZMapParser.java trunk/PZFileReader/src/main/java/com/pz/reader/xml/ResolveLocalDTD.java trunk/PZFileReader/src/main/java/com/pz/reader/xml/XMLRecordElement.java trunk/PZFileReader/src/site/navigation.xml trunk/PZFileReader/src/test/java/com/test/AllJunitTests.java trunk/PZFileReader/src/test/java/com/test/delim/columnInFile/DelimitedColumnNamesInFile.java trunk/PZFileReader/src/test/java/com/test/delim/columnInFile/DelimitedColumnNamesInFileTest.java trunk/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java trunk/PZFileReader/src/test/java/com/test/delim/tab/TabDelimited.java trunk/PZFileReader/src/test/java/com/test/delim/tab/TabDelimitedTest.java trunk/PZFileReaderSamples/maven.xml trunk/PZFileReaderSamples/project.xml trunk/PZFileReaderSamples/qalab.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/CSVPerformanceTest.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/DelimitedFileExportToExcel.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/CSVLarge.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/LowLevelParse.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/DelimitedMultiLine.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/NumericsAndDates.java trunk/PZFileReaderSamples/src/site/navigation.xml trunk/project.xml trunk/src/site/navigation.xml Added Paths: ----------- trunk/PZFileReader/.settings/ trunk/PZFileReader/.settings/org.eclipse.jdt.core.prefs trunk/PZFileReader/.settings/org.eclipse.jdt.ui.prefs trunk/PZFileReader/.settings/org.eclipse.wst.validation.prefs trunk/PZFileReaderSamples/.settings/ trunk/PZFileReaderSamples/.settings/org.eclipse.jdt.core.prefs trunk/PZFileReaderSamples/.settings/org.eclipse.jdt.ui.prefs Added: trunk/PZFileReader/.settings/org.eclipse.jdt.core.prefs =================================================================== --- trunk/PZFileReader/.settings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/PZFileReader/.settings/org.eclipse.jdt.core.prefs 2006-10-16 15:35:27 UTC (rev 59) @@ -0,0 +1,12 @@ +#Mon Oct 16 14:33:58 BST 2006 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.4 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning +org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning +org.eclipse.jdt.core.compiler.source=1.3 Added: trunk/PZFileReader/.settings/org.eclipse.jdt.ui.prefs =================================================================== --- trunk/PZFileReader/.settings/org.eclipse.jdt.ui.prefs (rev 0) +++ trunk/PZFileReader/.settings/org.eclipse.jdt.ui.prefs 2006-10-16 15:35:27 UTC (rev 59) @@ -0,0 +1,4 @@ +#Mon Oct 16 14:33:59 BST 2006 +eclipse.preferences.version=1 +internal.default.compliance=default +org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/> Added: trunk/PZFileReader/.settings/org.eclipse.wst.validation.prefs =================================================================== --- trunk/PZFileReader/.settings/org.eclipse.wst.validation.prefs (rev 0) +++ trunk/PZFileReader/.settings/org.eclipse.wst.validation.prefs 2006-10-16 15:35:27 UTC (rev 59) @@ -0,0 +1,6 @@ +#Mon Oct 16 14:34:00 BST 2006 +DELEGATES_PREFERENCE=delegateValidatorListorg.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator\=org.eclipse.wst.wsdl.validation.internal.eclipse.Validator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator\=org.eclipse.wst.xsd.core.internal.validation.eclipse.Validator; +USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.jsp.core.internal.validation.JSPELValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsp.core.internal.validation.JSPJavaValidator;org.eclipse.jst.jsp.core.internal.validation.JSPDirectiveValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator; +USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.jsp.core.internal.validation.JSPELValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsp.core.internal.validation.JSPJavaValidator;org.eclipse.jst.jsp.core.internal.validation.JSPDirectiveValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator; +USER_PREFERENCE=overrideGlobalPreferencesfalse +eclipse.preferences.version=1 Modified: trunk/PZFileReader/maven.xml =================================================================== --- trunk/PZFileReader/maven.xml 2006-10-16 15:32:39 UTC (rev 58) +++ trunk/PZFileReader/maven.xml 2006-10-16 15:35:27 UTC (rev 59) @@ -14,5 +14,5 @@ xmlns:log="jelly:log"> <goal name="pz:build" prereqs="jar:install" /> - <goal name="pz:rebuild" prereqs="clean,kit:build" /> + <goal name="pz:rebuild" prereqs="clean,pz:build" /> </project> Modified: trunk/PZFileReader/project.xml =================================================================== --- trunk/PZFileReader/project.xml 2006-10-16 15:32:39 UTC (rev 58) +++ trunk/PZFileReader/project.xml 2006-10-16 15:35:27 UTC (rev 59) @@ -27,7 +27,7 @@ <name>PZFileReader</name> <artifactId>pzfilereader</artifactId> <package>com.pz.reader</package> - <shortDescription>PZFileReader </shortDescription> + <shortDescription>Flat File Parser via XML Mappings (fixed length,csv).</shortDescription> <description> Simple Java delimited and fixed width file parser. Handles CSV, Excel CSV, Tab, Pipe delimiters, just to name a few. Maps column positions in the file to user friendly names via XML. See PZFileReader Feature List under News for complete feature list. Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-16 15:32:39 UTC (rev 58) +++ trunk/PZFileReader/qalab.xml 2006-10-16 15:35:27 UTC (rev 59) @@ -17,87 +17,290 @@ ]> <qalab version="1.1"> <summary> - <summaryresult date="2006-10-16" filecount="18" statvalue="469" type="checkstyle"/> + <summaryresult date="2006-10-05" filecount="31" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-05" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-05" filecount="7" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-05" filecount="3" statvalue="170" type="simian"/> + <summaryresult date="2006-10-06" filecount="18" statvalue="469" type="checkstyle"/> + <summaryresult date="2006-10-06" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-06" filecount="7" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-06" filecount="3" statvalue="170" type="simian"/> + <summaryresult date="2006-10-12" filecount="31" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-12" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-12" filecount="7" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-12" filecount="3" statvalue="170" type="simian"/> + <summaryresult date="2006-10-13" filecount="31" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-13" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-13" filecount="7" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-13" filecount="3" statvalue="170" type="simian"/> + <summaryresult date="2006-10-14" filecount="31" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-14" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-14" filecount="7" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-14" filecount="3" statvalue="170" type="simian"/> + <summaryresult date="2006-10-15" filecount="31" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-15" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-15" filecount="7" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-15" filecount="3" statvalue="170" type="simian"/> + <summaryresult date="2006-10-16" filecount="18" statvalue="32" type="checkstyle"/> <summaryresult date="2006-10-16" filecount="2" statvalue="4" type="pmd"/> <summaryresult date="2006-10-16" filecount="7" statvalue="16" type="findbugs"/> - <summaryresult date="2006-10-16" filecount="3" statvalue="170" type="simian"/> + <summaryresult date="2006-10-16" filecount="3" statvalue="116" type="simian"/> <summaryresult date="2006-10-16" filecount="13" statvalue="17" type="cobertura-line"/> - <summaryresult date="2006-10-16" filecount="13" statvalue="26" type="cobertura-branch"/> + <summaryresult date="2006-10-16" filecount="13" statvalue="23" type="cobertura-branch"/> </summary> - <file id="com_pz_reader_util_ParserUtils.java" path="com/pz/reader/util/ParserUtils.java"> - <result date="2006-10-16" statvalue="25" type="checkstyle"/> - <result date="2006-10-16" statvalue="3" type="pmd"/> - <result date="2006-10-16" statvalue="3" type="findbugs"/> - <result date="2006-10-16" statvalue="37" type="cobertura-line"/> - <result date="2006-10-16" statvalue="48" type="cobertura-branch"/> + <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> + <result date="2006-10-05" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_xml_PZMapParser.java" path="com/pz/reader/xml/PZMapParser.java"> - <result date="2006-10-16" statvalue="158" type="checkstyle"/> - <result date="2006-10-16" statvalue="1" type="pmd"/> - <result date="2006-10-16" statvalue="1" type="findbugs"/> + <file id="com_pz_reader_package.html" path="com/pz/reader/package.html"> + <result date="2006-10-05" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file - id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_CSVPerformanceTest.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/CSVPerformanceTest.java"/> - <file - id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_tab_TabDelimited.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/tab/TabDelimited.java"/> - <file id="com_pz_reader_DataSet.java" path="com/pz/reader/DataSet.java"> - <result date="2006-10-16" statvalue="103" type="checkstyle"/> - <result date="2006-10-16" statvalue="2" type="findbugs"/> - <result date="2006-10-16" statvalue="20" type="cobertura-line"/> - <result date="2006-10-16" statvalue="25" type="cobertura-branch"/> + <file id="com_pz_reader_util_package.html" path="com/pz/reader/util/package.html"> + <result date="2006-10-05" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_LargeDataSet.java" path="com/pz/reader/LargeDataSet.java"> - <result date="2006-10-16" statvalue="63" type="checkstyle"/> - <result date="2006-10-16" statvalue="2" type="findbugs"/> + <file id="com_pz_reader_xml_package.html" path="com/pz/reader/xml/package.html"> + <result date="2006-10-05" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_ordering_OrderBy.java" path="com/pz/reader/ordering/OrderBy.java"> - <result date="2006-10-16" statvalue="12" type="checkstyle"/> - <result date="2006-10-16" statvalue="5" type="findbugs"/> + <file id="com_pz_reader_structure_package.html" path="com/pz/reader/structure/package.html"> + <result date="2006-10-05" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_xml_ResolveLocalDTD.java" path="com/pz/reader/xml/ResolveLocalDTD.java"> - <result date="2006-10-16" statvalue="16" type="checkstyle"/> - <result date="2006-10-16" statvalue="2" type="findbugs"/> - </file> <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"> - <result date="2006-10-16" statvalue="2" type="checkstyle"/> + <result date="2006-10-05" statvalue="1" type="checkstyle"/> + <result date="2006-10-05" statvalue="33" type="checkstyle"/> + <result date="2006-10-05" statvalue="1" type="findbugs"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="33" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="33" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="33" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="33" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="checkstyle"/> + <result date="2006-10-06" statvalue="33" type="checkstyle"/> + <result date="2006-10-06" statvalue="2" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="findbugs"/> + <result date="2006-10-12" statvalue="33" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="checkstyle"/> + <result date="2006-10-12" statvalue="33" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="checkstyle"/> + <result date="2006-10-12" statvalue="33" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="findbugs"/> + <result date="2006-10-13" statvalue="1" type="checkstyle"/> + <result date="2006-10-13" statvalue="33" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="checkstyle"/> + <result date="2006-10-13" statvalue="33" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="findbugs"/> + <result date="2006-10-14" statvalue="33" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="checkstyle"/> + <result date="2006-10-14" statvalue="33" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="checkstyle"/> + <result date="2006-10-14" statvalue="33" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="findbugs"/> + <result date="2006-10-15" statvalue="33" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="33" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="33" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="checkstyle"/> + <result date="2006-10-15" statvalue="33" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="findbugs"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> <result date="2006-10-16" statvalue="44" type="cobertura-line"/> </file> <file id="com_pz_reader_DataError.java" path="com/pz/reader/DataError.java"> - <result date="2006-10-16" statvalue="5" type="checkstyle"/> + <result date="2006-10-05" statvalue="22" type="checkstyle"/> + <result date="2006-10-06" statvalue="5" type="checkstyle"/> + <result date="2006-10-12" statvalue="22" type="checkstyle"/> + <result date="2006-10-13" statvalue="22" type="checkstyle"/> + <result date="2006-10-14" statvalue="22" type="checkstyle"/> + <result date="2006-10-15" statvalue="22" type="checkstyle"/> + <result date="2006-10-16" statvalue="3" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> + <file id="com_pz_reader_DataSet.java" path="com/pz/reader/DataSet.java"> + <result date="2006-10-05" statvalue="485" type="checkstyle"/> + <result date="2006-10-05" statvalue="5" type="findbugs"/> + <result date="2006-10-06" statvalue="103" type="checkstyle"/> + <result date="2006-10-06" statvalue="5" type="findbugs"/> + <result date="2006-10-12" statvalue="485" type="checkstyle"/> + <result date="2006-10-12" statvalue="5" type="findbugs"/> + <result date="2006-10-13" statvalue="485" type="checkstyle"/> + <result date="2006-10-13" statvalue="5" type="findbugs"/> + <result date="2006-10-14" statvalue="485" type="checkstyle"/> + <result date="2006-10-14" statvalue="5" type="findbugs"/> + <result date="2006-10-15" statvalue="485" type="checkstyle"/> + <result date="2006-10-15" statvalue="5" type="findbugs"/> + <result date="2006-10-16" statvalue="9" type="checkstyle"/> + <result date="2006-10-16" statvalue="3" type="findbugs"/> + <result date="2006-10-16" statvalue="21" type="cobertura-line"/> + <result date="2006-10-16" statvalue="25" type="cobertura-branch"/> + </file> + <file id="com_pz_reader_LargeDataSet.java" path="com/pz/reader/LargeDataSet.java"> + <result date="2006-10-05" statvalue="278" type="checkstyle"/> + <result date="2006-10-05" statvalue="3" type="findbugs"/> + <result date="2006-10-06" statvalue="63" type="checkstyle"/> + <result date="2006-10-06" statvalue="3" type="findbugs"/> + <result date="2006-10-12" statvalue="278" type="checkstyle"/> + <result date="2006-10-12" statvalue="3" type="findbugs"/> + <result date="2006-10-13" statvalue="278" type="checkstyle"/> + <result date="2006-10-13" statvalue="3" type="findbugs"/> + <result date="2006-10-14" statvalue="278" type="checkstyle"/> + <result date="2006-10-14" statvalue="3" type="findbugs"/> + <result date="2006-10-15" statvalue="278" type="checkstyle"/> + <result date="2006-10-15" statvalue="3" type="findbugs"/> + <result date="2006-10-16" statvalue="5" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="findbugs"/> + </file> <file id="com_pz_reader_Version.java" path="com/pz/reader/Version.java"> + <result date="2006-10-05" statvalue="2" type="checkstyle"/> + <result date="2006-10-12" statvalue="2" type="checkstyle"/> + <result date="2006-10-13" statvalue="2" type="checkstyle"/> + <result date="2006-10-14" statvalue="2" type="checkstyle"/> + <result date="2006-10-15" statvalue="2" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> + <file id="com_pz_reader_ordering_OrderBy.java" path="com/pz/reader/ordering/OrderBy.java"> + <result date="2006-10-05" statvalue="65" type="checkstyle"/> + <result date="2006-10-05" statvalue="5" type="findbugs"/> + <result date="2006-10-06" statvalue="12" type="checkstyle"/> + <result date="2006-10-06" statvalue="5" type="findbugs"/> + <result date="2006-10-12" statvalue="65" type="checkstyle"/> + <result date="2006-10-12" statvalue="5" type="findbugs"/> + <result date="2006-10-13" statvalue="65" type="checkstyle"/> + <result date="2006-10-13" statvalue="5" type="findbugs"/> + <result date="2006-10-14" statvalue="65" type="checkstyle"/> + <result date="2006-10-14" statvalue="5" type="findbugs"/> + <result date="2006-10-15" statvalue="65" type="checkstyle"/> + <result date="2006-10-15" statvalue="5" type="findbugs"/> + <result date="2006-10-16" statvalue="5" type="findbugs"/> + </file> + <file id="com_pz_reader_ordering_OrderColumn.java" path="com/pz/reader/ordering/OrderColumn.java"> + <result date="2006-10-05" statvalue="25" type="checkstyle"/> + <result date="2006-10-06" statvalue="4" type="checkstyle"/> + <result date="2006-10-12" statvalue="25" type="checkstyle"/> + <result date="2006-10-13" statvalue="25" type="checkstyle"/> + <result date="2006-10-14" statvalue="25" type="checkstyle"/> + <result date="2006-10-15" statvalue="25" type="checkstyle"/> + </file> <file id="com_pz_reader_structure_ColumnMetaData.java" path="com/pz/reader/structure/ColumnMetaData.java"> - <result date="2006-10-16" statvalue="66" type="checkstyle"/> + <result date="2006-10-05" statvalue="99" type="checkstyle"/> + <result date="2006-10-06" statvalue="66" type="checkstyle"/> + <result date="2006-10-12" statvalue="99" type="checkstyle"/> + <result date="2006-10-13" statvalue="99" type="checkstyle"/> + <result date="2006-10-14" statvalue="99" type="checkstyle"/> + <result date="2006-10-15" statvalue="99" type="checkstyle"/> <result date="2006-10-16" statvalue="50" type="cobertura-line"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> - <file id="com_pz_reader_xml_XMLRecordElement.java" path="com/pz/reader/xml/XMLRecordElement.java"> - <result date="2006-10-16" statvalue="2" type="checkstyle"/> - <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"/> + <file id="com_pz_reader_util_ExcelTransformer.java" path="com/pz/reader/util/ExcelTransformer.java"> + <result date="2006-10-05" statvalue="60" type="checkstyle"/> + <result date="2006-10-06" statvalue="8" type="checkstyle"/> + <result date="2006-10-12" statvalue="60" type="checkstyle"/> + <result date="2006-10-13" statvalue="60" type="checkstyle"/> + <result date="2006-10-14" statvalue="60" type="checkstyle"/> + <result date="2006-10-15" statvalue="60" type="checkstyle"/> </file> - <file id="com_pz_reader_structure_package.html" path="com/pz/reader/structure/package.html"> - <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <file id="com_pz_reader_util_ParserUtils.java" path="com/pz/reader/util/ParserUtils.java"> + <result date="2006-10-05" statvalue="290" type="checkstyle"/> + <result date="2006-10-05" statvalue="3" type="pmd"/> + <result date="2006-10-05" statvalue="3" type="findbugs"/> + <result date="2006-10-06" statvalue="25" type="checkstyle"/> + <result date="2006-10-06" statvalue="3" type="pmd"/> + <result date="2006-10-06" statvalue="3" type="findbugs"/> + <result date="2006-10-12" statvalue="290" type="checkstyle"/> + <result date="2006-10-12" statvalue="3" type="pmd"/> + <result date="2006-10-12" statvalue="3" type="findbugs"/> + <result date="2006-10-13" statvalue="290" type="checkstyle"/> + <result date="2006-10-13" statvalue="3" type="pmd"/> + <result date="2006-10-13" statvalue="3" type="findbugs"/> + <result date="2006-10-14" statvalue="290" type="checkstyle"/> + <result date="2006-10-14" statvalue="3" type="pmd"/> + <result date="2006-10-14" statvalue="3" type="findbugs"/> + <result date="2006-10-15" statvalue="290" type="checkstyle"/> + <result date="2006-10-15" statvalue="3" type="pmd"/> + <result date="2006-10-15" statvalue="3" type="findbugs"/> + <result date="2006-10-16" statvalue="5" type="checkstyle"/> + <result date="2006-10-16" statvalue="3" type="pmd"/> + <result date="2006-10-16" statvalue="3" type="findbugs"/> + <result date="2006-10-16" statvalue="35" type="cobertura-line"/> + <result date="2006-10-16" statvalue="42" type="cobertura-branch"/> </file> - <file id="com_pz_reader_util_package.html" path="com/pz/reader/util/package.html"> - <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <file id="com_pz_reader_xml_PZMapParser.java" path="com/pz/reader/xml/PZMapParser.java"> + <result date="2006-10-05" statvalue="257" type="checkstyle"/> + <result date="2006-10-05" statvalue="1" type="pmd"/> + <result date="2006-10-05" statvalue="1" type="findbugs"/> + <result date="2006-10-06" statvalue="158" type="checkstyle"/> + <result date="2006-10-06" statvalue="1" type="pmd"/> + <result date="2006-10-06" statvalue="1" type="findbugs"/> + <result date="2006-10-12" statvalue="257" type="checkstyle"/> + <result date="2006-10-12" statvalue="1" type="pmd"/> + <result date="2006-10-12" statvalue="1" type="findbugs"/> + <result date="2006-10-13" statvalue="257" type="checkstyle"/> + <result date="2006-10-13" statvalue="1" type="pmd"/> + <result date="2006-10-13" statvalue="1" type="findbugs"/> + <result date="2006-10-14" statvalue="257" type="checkstyle"/> + <result date="2006-10-14" statvalue="1" type="pmd"/> + <result date="2006-10-14" statvalue="1" type="findbugs"/> + <result date="2006-10-15" statvalue="257" type="checkstyle"/> + <result date="2006-10-15" statvalue="1" type="pmd"/> + <result date="2006-10-15" statvalue="1" type="findbugs"/> + <result date="2006-10-16" statvalue="5" type="checkstyle"/> + <result date="2006-10-16" statvalue="1" type="pmd"/> + <result date="2006-10-16" statvalue="1" type="findbugs"/> </file> - <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> - <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <file id="com_pz_reader_xml_ResolveLocalDTD.java" path="com/pz/reader/xml/ResolveLocalDTD.java"> + <result date="2006-10-05" statvalue="40" type="checkstyle"/> + <result date="2006-10-05" statvalue="2" type="findbugs"/> + <result date="2006-10-06" statvalue="16" type="checkstyle"/> + <result date="2006-10-06" statvalue="2" type="findbugs"/> + <result date="2006-10-12" statvalue="40" type="checkstyle"/> + <result date="2006-10-12" statvalue="2" type="findbugs"/> + <result date="2006-10-13" statvalue="40" type="checkstyle"/> + <result date="2006-10-13" statvalue="2" type="findbugs"/> + <result date="2006-10-14" statvalue="40" type="checkstyle"/> + <result date="2006-10-14" statvalue="2" type="findbugs"/> + <result date="2006-10-15" statvalue="40" type="checkstyle"/> + <result date="2006-10-15" statvalue="2" type="findbugs"/> + <result date="2006-10-16" statvalue="2" type="findbugs"/> </file> - <file id="com_pz_reader_package.html" path="com/pz/reader/package.html"> - <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <file id="com_pz_reader_xml_XMLRecordElement.java" path="com/pz/reader/xml/XMLRecordElement.java"> + <result date="2006-10-05" statvalue="34" type="checkstyle"/> + <result date="2006-10-06" statvalue="2" type="checkstyle"/> + <result date="2006-10-12" statvalue="34" type="checkstyle"/> + <result date="2006-10-13" statvalue="34" type="checkstyle"/> + <result date="2006-10-14" statvalue="34" type="checkstyle"/> + <result date="2006-10-15" statvalue="34" type="checkstyle"/> + <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> - <file id="com_pz_reader_xml_package.html" path="com/pz/reader/xml/package.html"> - <result date="2006-10-16" statvalue="1" type="checkstyle"/> - </file> - <file id="com_pz_reader_ordering_OrderColumn.java" path="com/pz/reader/ordering/OrderColumn.java"> - <result date="2006-10-16" statvalue="4" type="checkstyle"/> - </file> - <file id="com_pz_reader_util_ExcelTransformer.java" path="com/pz/reader/util/ExcelTransformer.java"> - <result date="2006-10-16" statvalue="8" type="checkstyle"/> - </file> </qalab> Modified: trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java =================================================================== --- trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java 2006-10-16 15:32:39 UTC (rev 58) +++ trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java 2006-10-16 15:35:27 UTC (rev 59) @@ -1,30 +1,37 @@ /* Copyright 2006 Paul Zepernick - Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + Unless required by applicable law or agreed to in writing, software distributed + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. See the License for + the specific language governing permissions and limitations under the License. */ package com.pz.reader; - /** * This class holds errors that occured while parsing or processing a data file. + * * @author Paul Zepernick * @version 2.0 */ public class DataError { - + /** Description of error */ - private String errorDesc = null; + private String errorDesc = null; + /** line number in file error occured on */ - private int lineNo = 0; + private int lineNo = 0; + /** * Severity of the error 1 = Warning 2 = Moderate 3 = Severe */ - private int errorLevel = 0; + private int errorLevel = 0; /** default constructor */ public DataError() { @@ -33,6 +40,7 @@ /** * Returns the errorDesc. + * * @return String */ public String getErrorDesc() { @@ -41,6 +49,7 @@ /** * Returns the errorLevel. + * * @return int */ public int getErrorLevel() { @@ -49,6 +58,7 @@ /** * Returns the lineNo. + * * @return int */ public int getLineNo() { @@ -57,26 +67,31 @@ /** * Sets the errorDesc. - * @param errorDesc The errorDesc to set + * + * @param errorDesc + * The errorDesc to set */ - public void setErrorDesc(String errorDesc) { + public void setErrorDesc(final String errorDesc) { this.errorDesc = errorDesc; } /** * Sets the errorLevel. - * @param errorLevel The errorLevel to set + * + * @param errorLevel + * The errorLevel to set */ - public void setErrorLevel(int errorLevel) { + public void setErrorLevel(final int errorLevel) { this.errorLevel = errorLevel; } /** * Sets the lineNo. - * @param lineNo The lineNo to set + * + * @param lineNo + * The lineNo to set */ - public void setLineNo(int lineNo) { + public void setLineNo(final int lineNo) { this.lineNo = lineNo; } - } Modified: trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java =================================================================== --- trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java 2006-10-16 15:32:39 UTC (rev 58) +++ trunk/PZFileReader/src/main/java/com/pz/reader/DataSet.java 2006-10-16 15:35:27 UTC (rev 59) @@ -1,11 +1,16 @@ /* Copyright 2006 Paul Zepernick - Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + Unless required by applicable law or agreed to in writing, software distributed + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. See the License for + the specific language governing permissions and limitations under the License. */ package com.pz.reader; @@ -35,76 +40,89 @@ import com.pz.reader.util.ParserUtils; import com.pz.reader.xml.PZMapParser; - - /** - * This class parses a datafile and holds methods to scroll back and forth through the datafile - * along with methods to retreive values from columns. + * This class parses a datafile and holds methods to scroll back and forth + * through the datafile along with methods to retreive values from columns. + * * @author Paul Zepernick * @version 2.0.1 */ public class DataSet { /** Array to hold the rows and their values in the text file */ - public List rows = null; + private List rows = null; - /** Array of errors that have occured during processing */ - public List errors = null; + private List errors = null; /** Map of column metadata's */ - public Map columnMD = null; + private Map columnMD = null; /** Pointer for the current row in the array we are on */ - private int pointer = -1; + private int pointer = -1; /** flag to indicate if data should be pulled as lower case */ - private boolean lowerCase = false; + private boolean lowerCase = false; /** flag to inidicate if data should be pulled as upper case */ - private boolean upperCase = false; + private boolean upperCase = false; /** - * flag to indicate if a strict parse should be used when getting doubles and ints + * flag to indicate if a strict parse should be used when getting doubles + * and ints */ private boolean strictNumericParse = false; /** - * Flag to indicate that we can cope with lines shorter than the required lengh + * Flag to indicate that we can cope with lines shorter than the required + * lengh */ - private boolean handleShortLines = false; + private boolean handleShortLines = false; /** - * empty constructor. THIS SHOULD ONLY BE USED FOR CUSTOM DataSet implementations. It provides - * NO parsing abilities + * empty constructor. THIS SHOULD ONLY BE USED FOR CUSTOM DataSet + * implementations. It provides NO parsing abilities */ public DataSet() { } - /** - * Constructs a new DataSet using the database table file layout method. This is used for a - * FIXED LENGTH text file. - * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables - * @param dataSource - Fixed length file to read from - * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column - * @param handleShortLines - Pad lines out to fit the fixed length + * Constructs a new DataSet using the database table file layout method. + * This is used for a FIXED LENGTH text file. + * + * @param con - + * Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSource - + * Fixed length file to read from + * @param dataDefinition - + * Name of dataDefinition in the DATAFILE table DATAFILE_DESC + * column + * @param handleShortLines - + * Pad lines out to fit the fixed length * @exception Exception */ - public DataSet(Connection con, File dataSource, String dataDefinition, boolean handleShortLines) throws Exception { + public DataSet(final Connection con, final File dataSource, final String dataDefinition, final boolean handleShortLines) + throws Exception { this(con, ParserUtils.createInputStream(dataSource), dataDefinition, handleShortLines); } /** - * Constructs a new DataSet using the database table file layout method. This is used for a - * FIXED LENGTH text file. - * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables - * @param dataSourceStream - text file datasource InputStream to read from - * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column - * @param handleShortLines - Pad lines out to fit the fixed length + * Constructs a new DataSet using the database table file layout method. + * This is used for a FIXED LENGTH text file. + * + * @param con - + * Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSourceStream - + * text file datasource InputStream to read from + * @param dataDefinition - + * Name of dataDefinition in the DATAFILE table DATAFILE_DESC + * column + * @param handleShortLines - + * Pad lines out to fit the fixed length * @exception Exception */ - public DataSet(Connection con, InputStream dataSourceStream, String dataDefinition, boolean handleShortLines) throws Exception { + public DataSet(final Connection con, final InputStream dataSourceStream, final String dataDefinition, + final boolean handleShortLines) throws Exception { super(); this.handleShortLines = handleShortLines; @@ -114,15 +132,14 @@ ColumnMetaData column = null; boolean hasResults = false; int recPosition = 1; - List cmds = new ArrayList(); + final List cmds = new ArrayList(); try { columnMD = new LinkedHashMap(); stmt = con.createStatement(); - sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " - + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + "WHERE DATAFILE.DATAFILE_DESC = '" - + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; + sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + + "WHERE DATAFILE.DATAFILE_DESC = '" + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; rs = stmt.executeQuery(sql); @@ -141,9 +158,9 @@ hasResults = true; } - - columnMD.put("detail",cmds); + columnMD.put("detail", cmds); + if (!hasResults) { throw new FileNotFoundException("DATA DEFINITION CAN NOT BE FOUND IN THE DATABASE " + dataDefinition); } @@ -152,51 +169,78 @@ doFixedLengthFile(dataSourceStream); } finally { - if (rs != null) + if (rs != null) { rs.close(); - if (stmt != null) + } + if (stmt != null) { stmt.close(); + } } } - /** - * Constructs a new DataSet using the database table file layout method. This is used for a - * DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f - * form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables - * @param dataSource - text file datasource to read from - * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column - * @param delimiter - Char the file is delimited By - * @param qualifier - Char text is qualified by - * @param ignoreFirstRecord - skips the first line that contains data in the file - * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging - * them as an error + * Constructs a new DataSet using the database table file layout method. + * This is used for a DELIMITED text file. esacpe sequence reference: \n + * newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param con - + * Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSource - + * text file datasource to read from + * @param dataDefinition - + * Name of dataDefinition in the DATAFILE table DATAFILE_DESC + * column + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param ignoreFirstRecord - + * skips the first line that contains data in the file + * @param handleShortLines - + * Adds missing columns as empty's to the DataSet instead of + * logging them as an error * @exception Exception */ - public DataSet(Connection con, File dataSource, String dataDefinition, String delimiter, String qualifier, - boolean ignoreFirstRecord, boolean handleShortLines) throws Exception { - this(con, ParserUtils.createInputStream(dataSource), dataDefinition, delimiter, qualifier, ignoreFirstRecord, handleShortLines); + public DataSet(final Connection con, final File dataSource, final String dataDefinition, final String delimiter, + final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { + this(con, ParserUtils.createInputStream(dataSource), dataDefinition, delimiter, qualifier, ignoreFirstRecord, + handleShortLines); } /** - * New constructor based on InputStream. - * Constructs a new DataSet using the database table file layout method. This is used for a - * DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f - * form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * @param con - Connection to database with DATAFILE and DATASTRUCTURE tables - * @param dataSourceStream - text file datasource InputStream to read from - * @param dataDefinition - Name of dataDefinition in the DATAFILE table DATAFILE_DESC column - * @param delimiter - Char the file is delimited By - * @param qualifier - Char text is qualified by - * @param ignoreFirstRecord - skips the first line that contains data in the file - * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging - * them as an error + * New constructor based on InputStream. Constructs a new DataSet using the + * database table file layout method. This is used for a DELIMITED text + * file. esacpe sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param con - + * Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSourceStream - + * text file datasource InputStream to read from + * @param dataDefinition - + * Name of dataDefinition in the DATAFILE table DATAFILE_DESC + * column + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param ignoreFirstRecord - + * skips the first line that contains data in the file + * @param handleShortLines - + * Adds missing columns as empty's to the DataSet instead of + * logging them as an error * @exception Exception */ - public DataSet(Connection con, InputStream dataSourceStream, String dataDefinition, String delimiter, String qualifier, - boolean ignoreFirstRecord, boolean handleShortLines) throws Exception { + public DataSet(final Connection con, final InputStream dataSourceStream, final String dataDefinition, final String delimiter, + final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { super(); this.handleShortLines = handleShortLines; @@ -206,15 +250,14 @@ Statement stmt = null; ColumnMetaData column = null; boolean hasResults = false; - List cmds = new ArrayList(); + final List cmds = new ArrayList(); try { columnMD = new LinkedHashMap(); stmt = con.createStatement(); - sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " - + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + "WHERE DATAFILE.DATAFILE_DESC = '" - + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; + sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + + "WHERE DATAFILE.DATAFILE_DESC = '" + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; rs = stmt.executeQuery(sql); @@ -229,9 +272,9 @@ hasResults = true; } - - columnMD.put("detail",cmds); + columnMD.put("detail", cmds); + if (!hasResults) { throw new FileNotFoundException("DATA DEFINITION CAN NOT BE FOUND IN THE DATABASE " + dataDefinition); } @@ -240,49 +283,72 @@ doDelimitedFile(dataSourceStream, delimiter, qualifier, ignoreFirstRecord, false); } finally { - if (rs != null) + if (rs != null) { rs.close(); - if (stmt != null) + } + if (stmt != null) { stmt.close(); + } } } - /** - * Constructs a new DataSet using the PZMAP XML file layout method. This is used for a DELIMITED - * text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f - * form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * @param pzmapXML - Reference to the xml file holding the pzmap - * @param dataSource - text file datasource to read from - * @param delimiter - Char the file is delimited By - * @param qualifier - Char text is qualified by - * @param ignoreFirstRecord - skips the first line that contains data in the file - * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging - * them as an error + * Constructs a new DataSet using the PZMAP XML file layout method. This is + * used for a DELIMITED text file. esacpe sequence reference: \n newline + * <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param pzmapXML - + * Reference to the xml file holding the pzmap + * @param dataSource - + * text file datasource to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param ignoreFirstRecord - + * skips the first line that contains data in the file + * @param handleShortLines - + * Adds missing columns as empty's to the DataSet instead of + * logging them as an error * @exception Exception */ - public DataSet(File pzmapXML, File dataSource, String delimiter, String qualifier, boolean ignoreFirstRecord, - boolean handleShortLines) throws Exception { - this(ParserUtils.createInputStream(pzmapXML), ParserUtils.createInputStream(dataSource), delimiter, qualifier, ignoreFirstRecord, handleShortLines); + public DataSet(final File pzmapXML, final File dataSource, final String delimiter, final String qualifier, + final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { + this(ParserUtils.createInputStream(pzmapXML), ParserUtils.createInputStream(dataSource), delimiter, qualifier, + ignoreFirstRecord, handleShortLines); } /** - * New constructor based on InputStream. - * Constructs a new DataSet using the PZMAP XML file layout method. This is used for a DELIMITED - * text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f - * form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * @param pzmapXMLStream - Reference to the xml file holding the pzmap - * @param dataSourceStream - text file datasource InputStream to read from - * @param delimiter - Char the file is delimited By - * @param qualifier - Char text is qualified by - * @param ignoreFirstRecord - skips the first line that contains data in the file - * @param handleShortLines - Adds missing columns as empty's to the DataSet instead of logging - * them as an error + * New constructor based on InputStream. Constructs a new DataSet using the + * PZMAP XML file layout method. This is used for a DELIMITED text file. + * esacpe sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param pzmapXMLStream - + * Reference to the xml file holding the pzmap + * @param dataSourceStream - + * text file datasource InputStream to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param ignoreFirstRecord - + * skips the first line that contains data in the file + * @param handleShortLines - + * Adds missing columns as empty's to the DataSet instead of + * logging them as an error * @exception Exception */ - public DataSet(InputStream pzmapXMLStream, InputStream dataSourceStream, String delimiter, String qualifier, boolean ignoreFirstRecord, - boolean handleShortLines) throws Exception { + public DataSet(final InputStream pzmapXMLStream, final InputStream dataSourceStream, final String delimiter, + final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { this.handleShortLines = handleShortLines; columnMD = PZMapParser.parse(pzmapXMLStream); @@ -292,74 +358,107 @@ } /** - * Constructs a new DataSet using the first line of data found in the text file as the column - * names. This is used for a DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f - * form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * @param dataSource - text file datasource to read from - * @param delimiter - Char the file is delimited By - * @param qualifier - Char text is qualified by - * @param handleShortLines - when flaged as true, lines with less columns then the amount of - * column headers will be added as empty's instead of producing an error + * Constructs a new DataSet using the first line of data found in the text + * file as the column names. This is used for a DELIMITED text file. esacpe + * sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param dataSource - + * text file datasource to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param handleShortLines - + * when flaged as true, lines with less columns then the amount + * of column headers will be added as empty's instead of + * producing an error * @exception Exception */ - public DataSet(File dataSource, String delimiter, String qualifier, boolean handleShortLines) throws Exception { + public DataSet(final File dataSource, final String delimiter, final String qualifier, final boolean handleShortLines) + throws Exception { this.handleShortLines = handleShortLines; InputStream dataSourceStream = null; - - try{ - dataSourceStream = ParserUtils.createInputStream(dataSource); - doDelimitedFile(dataSourceStream, delimiter, qualifier, false, true); - }finally{ - if (dataSourceStream != null) dataSourceStream.close(); + + try { + dataSourceStream = ParserUtils.createInputStream(dataSource); + doDelimitedFile(dataSourceStream, delimiter, qualifier, false, true); + } finally { + if (dataSourceStream != null) { + dataSourceStream.close(); + } } } - - /** - * Constructs a new DataSet using the first line of data found in the text file as the column - * names. This is used for a DELIMITED text file. esacpe sequence reference: \n newline <br> \t tab <br> \b backspace <br> \r return <br> \f - * form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * @param dataSource - text file InputStream to read from - * @param delimiter - Char the file is delimited By - * @param qualifier - Char text is qualified by - * @param handleShortLines - when flaged as true, lines with less columns then the amount of - * column headers will be added as empty's instead of producing an error - * @exception Exception - */ - public DataSet(InputStream dataSource, String delimiter, String qualifier, boolean handleShortLines) throws Exception { - this.handleShortLines = handleShortLines; - - try{ - doDelimitedFile(dataSource, delimiter, qualifier, false, true); - }finally{ - if (dataSource != null) dataSource.close(); - } - } + /** + * Constructs a new DataSet using the first line of data found in the text + * file as the column names. This is used for a DELIMITED text file. esacpe + * sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote ... [truncated message content] |
From: <be...@us...> - 2006-10-16 16:22:01
|
Revision: 60 http://svn.sourceforge.net/pzfilereader/?rev=60&view=rev Author: benoitx Date: 2006-10-16 09:21:49 -0700 (Mon, 16 Oct 2006) Log Message: ----------- Converted changes.txt to the changes.xml that will be automatically included in the website generation. Only this file should be maintained. Modified Paths: -------------- trunk/PZFileReader/qalab.xml Added Paths: ----------- trunk/src/site/changes.xml trunk/src/site/pzfilereader.dtd Removed Paths: ------------- trunk/PZFileReader/Changes.txt Deleted: trunk/PZFileReader/Changes.txt =================================================================== --- trunk/PZFileReader/Changes.txt 2006-10-16 15:35:27 UTC (rev 59) +++ trunk/PZFileReader/Changes.txt 2006-10-16 16:21:49 UTC (rev 60) @@ -1,192 +0,0 @@ -Version 3.0 ----------------------------------- -10-13-2006 - - Chaned the pacakge structure from com.pz.reader to net.sf.pzfilereader. This was done per the requirments - of ibiblio. - -Version 2.2.2 ----------------------------------- -8-18-2006 - - Fixed bug in LargeDataSet. Multiline delimited records were not being parsed correctly. They were showing - up as errors when being parsed. - -Version 2.2.1 ----------------------------------- -8-12-2006 - - Fixed a bug in the delimited parser. Errors were caused by multiple column multi-line records. Special thanks - to Malcolm Dobson for bringing the bug to attention and providing the fix. - -Version 2.2.0 ----------------------------------- -06-11-2006 - - When using column names out of the CSV file 2 input streams were being created. One to read the file and - the other to get the column names. This has been reduced to one. - - - Added a new constructor to have the ability to provide an InputStream when reading columns from the file. - - - Added a LargeDataSet class. This should be used to read large files. It provides the ability to read large - files without reading them into memory. The following methods are not applicable for this class; - previous(), writeToExcel, orderRows(), absolute(), remove(), getIndex(), goBottom(), goTop(), - setValue(). An exception will be thrown if these are called. - -05-27-2006 - - Added the ability to specify Header, Trailer, or other records which can be uniquly identified by a piece - of data on the record. These get mapped to their own set of column names seperate from the detail records. - See the documentation included in the download for details on the new options in the mapping file. - - - Added isRecordID(String) method. This can be used to see if the record being processed belongs to a particular - <RECORD> mapping in the xml file. This will need to be used if you have differnt column names mapped to different - record types. ie header, trailer, detail, etc - - - Added setDebug(boolean) to PZMapParser class. When flagged true, the Parser will spit the results of the XML - parse to the console. - -05-29-2006 - - Added 2 new samples; CSVHeaderAndTrailer, FixedLengthHeaderAndTrailer - - - -Version 2.1.0 ----------------------------------- -A VERY Special Thanks to Roland Klein for contributing the following enchancements: - - Ability to read a file from an InputStream, File object support still exists. This enhancement makes pzfilereader - Java Web Start friendly :) - - - Added a method in ParserUtils to create an InputStream from a File object. - - - Changed all ArrayLists and Vectors to List objects. This affects the getErrors() method which was returning - a Vector. This may potentially cause compilation errors if migrating from a previous version. - -02-26-2006 - - Implemented Roland's changed in cvs HEAD - - - Removed constructors depricated in 2.0.0 - - - Added ability to parse delimited file which have records spanning multiple lines in the file. The element - which is breaking to the next line must be qualified. The data can be qualified with any char, a double quote - is used in the example. - - ie. element, element, "element with line break - more element data - more element data - more element data" - start next rec here - - - Begining to write some simple Junit tests under com.test.* These will be excluded from the production jar. - - - Added getRowCount() method. This returns the total amount of rows parsed from the file. Rows which had errors - during the parse are excluded from this count and are added to the error collection. - - - Added getReaderVersion() method. This will return a String representation for the pzFileReader version being used. - -05-10-2006 - - Added ability to transform a DataSet into excel. This utilizes JExcelApi which can be found here: - http://sourceforge.net/projects/jexcelapi - - The jxl.jar has been included in the download for your convience and must be on the classpath if using this - new method --> writeToExcel(File) in the DataSet class - - - Changed examples to work with 2.1.0. Some examples still refered to depricated constructors from 2.0.0 which have - been removed in this version. - - - Added 2 new examples to demonstrate the export to Excel and the parsing of multiline records. - - - Updated Java Docs - -Version 2.0.0 ----------------------------------- -11-27-2005 - - Re-coded the way the MetaData was being stored. It was being duplicated for every row in the file. It is now only being stored - once for the entire file. This will drastically reduce memory usage. - - - Created a ParserUtils class. This class can be used to perform low level reads if needed (no mapping file required). - For now, this change only applies to delimited files. - - - Changed the delimited file parser to use a StringBuffer. It was performing a lot of String concatinations which could have been - bogging down performance, and creating un-necessary overhead. - -12-03-2005 - -created ANT build build file, and published to CVS - - -Removed the use of the Column object. This was able to cut down on the parse time. - - -Add patch provided by Luke Driscoll [1371162]. This provides 2 new constructors for fixed length files. There is a boolean - that can now be passed which will tell the parser to allow lines which are shorter then the allowed line length for a record. - Missing columns will be filled in with empties. - -12-22-2005 - - The following objects in the DataSet are now public; rows, errors, columnMD, empty constructor. - This allows for the DataSet class to be extended if needed to provide custom functionality. - -12-26-2005 - - Took patch [1371162] a step further and also implemented for delimited files. If the row is missing any columns, the parser - will automatically add the columns in as empty's. This functionality happens only when the handleShortLines parameter is set - to true. - - - Revamped user documenation. The user documenation is now much more detailed. User documentation and Java Docs are now - included with the distribution instead of having them in seperate downloads. - - -Version 1.0.5 ----------------------------------- -9-1-2005 - -Fixed bug in delimited parse. If the last column of the last column of the file was empty, the row was being logged to the - "errors" collection. Thank you very much to Luke Driscoll who found this bug and submitted the patch. See bug - [ 1275910 ] CSV File with blank last column, for more information. - - - While fixing bug 1275910, a couple of other bugs were brought to light. Spaces before or after the delimiter with a text qualifier - was breaking the parse. Example...assuming comma as delimter and double quote as the text qualifier. "value1" , "value2" ,"value" - -10-1-2005 - -Added new method, freeMemory(), when called, the DataSet is cleared. - - -Updated examples and JavaDocs. - -Version 1.0.4 ------------------------------------ -7-20-2005 - -Fixed bug in delimited parse. If parsing a delimited file with text qualifiers, and the last column of a - line had hard spaces at the end, a string out of bounds exception was being thrown. - - -Added setStrictNumericParse(boolean) method. This is defaulted to false. When calling getDouble or getInt - on a column, all non numeric chars will be striped before performing the parse. If the column is empty after the strip, it will be returned as 0. Setting this to true will parse all numeric values as is. -Version 1.0.3 ------------------------------------ -2-5-2005 - -added methods to set data in DataSet to all lower or all upper case setLowerCase(), setUpperCase() - - -Changed the OrderBy class to make sure the elements being compared were the same case, so as not to make - case a factor when comparing. If they are not the same case elements are converted to lower before comparing. - - -Added setLowerCase() and setUpperCase() to Java Docs - - -Added JSP example to samples - - -Version 1.0.2 ------------------------------------ -1-27-2005 - - -Changed parsing logic for delimited files with text qualifiers. The parser will now parse lines that are qualified - and not qualified. For example: - "here",1234,"test",50,test - This will now parse into 5 seperate columns. However if the text contains a delimiter or seperator inside the text, it must be qualified to work correctly. - - - -Version 1.0.1 ------------------------------------ - -1-23-2005: - -Fixed bug in delimted parse. If no elements were found - in a line, a string index out of bounds exception was thrown. - - -Added getDate(String,SimpleDateFormat). By default, the current getDate(String) method - was expecting the date in yyyyMMdd format. This method allows for another date format to be - specified. This format should match the format in the text file. If you would like to change the - formating of the date after it is returned from the DataSet, you can use SimpleDateFormat.format(Date) - - -Corrected javadocs for the getDate methods. Had return type of double, changed to Date. - - -Added samples - Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-16 15:35:27 UTC (rev 59) +++ trunk/PZFileReader/qalab.xml 2006-10-16 16:21:49 UTC (rev 60) @@ -42,7 +42,7 @@ <summaryresult date="2006-10-15" filecount="7" statvalue="20" type="findbugs"/> <summaryresult date="2006-10-15" filecount="3" statvalue="170" type="simian"/> <summaryresult date="2006-10-16" filecount="18" statvalue="32" type="checkstyle"/> - <summaryresult date="2006-10-16" filecount="2" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-16" filecount="3" statvalue="5" type="pmd"/> <summaryresult date="2006-10-16" filecount="7" statvalue="16" type="findbugs"/> <summaryresult date="2006-10-16" filecount="3" statvalue="116" type="simian"/> <summaryresult date="2006-10-16" filecount="13" statvalue="17" type="cobertura-line"/> @@ -303,4 +303,8 @@ <result date="2006-10-15" statvalue="34" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> + <file + id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_TestCSVPerformance.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java"> + <result date="2006-10-16" statvalue="1" type="pmd"/> + </file> </qalab> Added: trunk/src/site/changes.xml =================================================================== --- trunk/src/site/changes.xml (rev 0) +++ trunk/src/site/changes.xml 2006-10-16 16:21:49 UTC (rev 60) @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<!-- + --> + +<document> + <properties> + <title>Changes</title> + </properties> + <body> + <release version="2.2.2" date="2006-08-18" description="Fix"> + <action dev="zepernick" type="fix">Fixed bug in LargeDataSet. Multiline delimited records were not being parsed correctly. They were showing + up as errors when being parsed.</action> + </release> + <release version="2.2.1" date="2006-08-12" description="Fix"> + <action dev="zepernick" type="fix">Fixed a bug in the delimited parser. Errors were caused by multiple column multi-line records. Special thanks + to Malcolm Dobson for bringing the bug to attention and providing the fix.</action> + </release> + <release version="2.2.0" date="2006-06-11" description="Fix"> + <action dev="zepernick" type="fix">When using column names out of the CSV file 2 input streams were being created. One to read the file and + the other to get the column names. This has been reduced to one.</action> + <action dev="zepernick" type="add">Added a new constructor to have the ability to provide an InputStream when reading columns from the file.</action> + <action dev="zepernick" type="add">Added a LargeDataSet class. This should be used to read large files. It provides the ability to read large + files without reading them into memory. The following methods are not applicable for this class; + previous(), writeToExcel, orderRows(), absolute(), remove(), getIndex(), goBottom(), goTop(), + setValue(). An exception will be thrown if these are called.</action> + <action dev="zepernick" type="add">Added the ability to specify Header, Trailer, or other records which can be uniquly identified by a piece + of data on the record. These get mapped to their own set of column names seperate from the detail records. + See the documentation included in the download for details on the new options in the mapping file. + </action> + <action dev="zepernick" type="add">Added setDebug(boolean) to PZMapParser class. When flagged true, the Parser will spit the results of the XML + parse to the console + </action> + <action dev="zepernick" type="add">Added 2 new samples; CSVHeaderAndTrailer, FixedLengthHeaderAndTrailer.</action> + </release> + + <release version="2.1.0" date="2006-02-26" description="Maintenance"> + <action dev="zepernick" type="fix">A VERY Special Thanks to Roland Klein for contributing the following enchancements: + <br/>- Ability to read a file from an InputStream, File object support still exists. This enhancement makes pzfilereader + Java Web Start friendly :) + + <br/>- Added a method in ParserUtils to create an InputStream from a File object. + + <br/>- Changed all ArrayLists and Vectors to List objects. This affects the getErrors() method which was returning + a Vector. This may potentially cause compilation errors if migrating from a previous version..</action> + <action dev="zepernick" type="add">Implemented Roland's changed in cvs HEAD</action> + <action dev="zepernick" type="fix">Removed constructors deprecated in 2.0.0</action> + <action dev="zepernick" type="add">Added ability to parse delimited file which have records spanning multiple lines in the file. The element + which is breaking to the next line must be qualified. The data can be qualified with any char, a double quote + is used in the example. + + ie. element, element, "element with line break + more element data + more element data + more element data" + start next rec here + </action> + <action dev="zepernick" type="add">Begining to write some simple Junit tests under com.test.* These will be excluded from the production jar. + </action> + <action dev="zepernick" type="add">Added getRowCount() method. This returns the total amount of rows parsed from the file. Rows which had errors + during the parse are excluded from this count and are added to the error collection. + </action> + <action dev="zepernick" type="add">Added getReaderVersion() method. This will return a String representation for the pzFileReader version being used. + </action> + <action dev="zepernick" type="add">Added ability to transform a DataSet into excel. This utilizes JExcelApi which can be found here: + http://sourceforge.net/projects/jexcelapi. The jxl.jar has been included in the download for your convience and must be on the classpath if using this + new method --> writeToExcel(File) in the DataSet class + </action> + <action dev="zepernick" type="add">Changed examples to work with 2.1.0. Some examples still refered to depricated constructors from 2.0.0 which have + been removed in this version. + </action> + <action dev="zepernick" type="add">Added 2 new examples to demonstrate the export to Excel and the parsing of multiline records. + </action> + <action dev="zepernick" type="add">Updated Java Docs. + </action> + </release> + + <release version="2.0.0" date="2005-11-27" description="Maintenance"> + <action dev="zepernick" type="add">Re-coded the way the MetaData was being stored. It was being duplicated for every row in the file. It is now only being stored + once for the entire file. This will drastically reduce memory usage. + </action> + <action dev="zepernick" type="add">Created a ParserUtils class. This class can be used to perform low level reads if needed (no mapping file required). + For now, this change only applies to delimited files. + </action> + <action dev="zepernick" type="add">Changed the delimited file parser to use a StringBuffer. It was performing a lot of String concatinations which could have been + bogging down performance, and creating un-necessary overhead. + </action> + <action dev="zepernick" type="add">created ANT build build file, and published to CVS + </action> + <action dev="zepernick" type="add">Removed the use of the Column object. This was able to cut down on the parse time. + </action> + <action dev="zepernick" type="add">Add patch provided by Luke Driscoll [1371162]. This provides 2 new constructors for fixed length files. There is a boolean + that can now be passed which will tell the parser to allow lines which are shorter then the allowed line length for a record. + Missing columns will be filled in with empties. + </action> + <action dev="zepernick" type="add">The following objects in the DataSet are now public; rows, errors, columnMD, empty constructor. + This allows for the DataSet class to be extended if needed to provide custom functionality. + </action> + <action dev="zepernick" type="add">Took patch [1371162] a step further and also implemented for delimited files. If the row is missing any columns, the parser + will automatically add the columns in as empty's. This functionality happens only when the handleShortLines parameter is set + to true. + </action> + <action dev="zepernick" type="add">Revamped user documenation. The user documenation is now much more detailed. User documentation and Java Docs are now + included with the distribution instead of having them in seperate downloads. + </action> + </release> + <release version="1.0.5" date="2005-10-01" description="Maintenance"> + <action dev="zepernick" type="fix">Fixed bug in delimited parse. If the last column of the last column of the file was empty, the row was being logged to the + "errors" collection. Thank you very much to Luke Driscoll who found this bug and submitted the patch. See bug + [ 1275910 ] CSV File with blank last column, for more information. + </action> + <action dev="zepernick" type="fix">While fixing bug 1275910, a couple of other bugs were brought to light. Spaces before or after the delimiter with a text qualifier + was breaking the parse. Example...assuming comma as delimter and double quote as the text qualifier. "value1" , "value2" ,"value" + </action> + <action dev="zepernick" type="add">Added new method, freeMemory(), when called, the DataSet is cleared. + </action> + <action dev="zepernick" type="add">Updated examples and JavaDocs. + </action> + </release> + <release version="1.0.4" date="2005-07-20" description="Maintenance"> + <action dev="zepernick" type="fix">Fixed bug in delimited parse. If parsing a delimited file with text qualifiers, and the last column of a + line had hard spaces at the end, a string out of bounds exception was being thrown. + </action> + <action dev="zepernick" type="fix">Added setStrictNumericParse(boolean) method. This is defaulted to false. When calling getDouble or getInt + on a column, all non numeric chars will be striped before performing the parse. If the column is empty after the strip, it will be returned as 0. Setting this to true will parse all numeric values as is. + </action> + </release> + + <release version="1.0.3" date="2005-05-02" description="Maintenance"> + <action dev="zepernick" type="add">added methods to set data in DataSet to all lower or all upper case setLowerCase(), setUpperCase() + </action> + <action dev="zepernick" type="add">Changed the OrderBy class to make sure the elements being compared were the same case, so as not to make + case a factor when comparing. If they are not the same case elements are converted to lower before comparing. + </action> + <action dev="zepernick" type="add">Added setLowerCase() and setUpperCase() to Java Docs + </action> + <action dev="zepernick" type="add">Added JSP example to samples + </action> + </release> + + <release version="1.0.2" date="2005-01-27" description="Maintenance"> + <action dev="zepernick" type="add">Changed parsing logic for delimited files with text qualifiers. The parser will now parse lines that are qualified + and not qualified. For example: + <br/>"here",1234,"test",50,test + <br/>This will now parse into 5 seperate columns. However if the text contains a delimiter or seperator inside the text, it must be qualified to work correctly. + </action> + </release> + + <release version="1.0.1" date="2005-01-23" description="Maintenance"> + <action dev="zepernick" type="fix">Fixed bug in delimted parse. If no elements were found in a line, a string index out of bounds exception was thrown. + </action> + <action dev="zepernick" type="fix">Added getDate(String,SimpleDateFormat). By default, the current getDate(String) method + was expecting the date in yyyyMMdd format. This method allows for another date format to be + specified. This format should match the format in the text file. If you would like to change the + formating of the date after it is returned from the DataSet, you can use SimpleDateFormat.format(Date) + </action> + <action dev="zepernick" type="fix">Corrected javadocs for the getDate methods. Had return type of double, changed to Date. + </action> + <action dev="zepernick" type="fix">Added samples + </action> + </release> + + </body> +</document> Added: trunk/src/site/pzfilereader.dtd =================================================================== --- trunk/src/site/pzfilereader.dtd (rev 0) +++ trunk/src/site/pzfilereader.dtd 2006-10-16 16:21:49 UTC (rev 60) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!ELEMENT PZMAP (RECORD*,COLUMN+,RECORD*)> + <!ELEMENT RECORD (COLUMN+)> + <!ATTLIST RECORD id ID #REQUIRED + startPosition CDATA #IMPLIED + endPosition CDATA #IMPLIED + elementNumber CDATA #IMPLIED + indicator CDATA #REQUIRED> + <!ELEMENT COLUMN EMPTY> + <!ATTLIST COLUMN name CDATA #REQUIRED + length CDATA #IMPLIED > \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-16 19:53:26
|
Revision: 62 http://svn.sourceforge.net/pzfilereader/?rev=62&view=rev Author: benoitx Date: 2006-10-16 12:52:04 -0700 (Mon, 16 Oct 2006) Log Message: ----------- Add some documentation Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReader/src/site/index.xml trunk/PZFileReaderSamples/project.xml trunk/common-build/project.xml trunk/src/site/changes.xml trunk/src/site/index.xml trunk/src/site/navigation.xml Added Paths: ----------- trunk/src/site/documentation/ trunk/src/site/documentation/index.xml trunk/src/site/documentation/pzfilereader-manual.doc trunk/src/site/documentation/pzfilereader-manual.pdf trunk/src/site/history.xml Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-16 16:39:11 UTC (rev 61) +++ trunk/PZFileReader/qalab.xml 2006-10-16 19:52:04 UTC (rev 62) @@ -42,7 +42,7 @@ <summaryresult date="2006-10-15" filecount="7" statvalue="20" type="findbugs"/> <summaryresult date="2006-10-15" filecount="3" statvalue="170" type="simian"/> <summaryresult date="2006-10-16" filecount="18" statvalue="32" type="checkstyle"/> - <summaryresult date="2006-10-16" filecount="3" statvalue="5" type="pmd"/> + <summaryresult date="2006-10-16" filecount="2" statvalue="4" type="pmd"/> <summaryresult date="2006-10-16" filecount="7" statvalue="16" type="findbugs"/> <summaryresult date="2006-10-16" filecount="3" statvalue="116" type="simian"/> <summaryresult date="2006-10-16" filecount="13" statvalue="17" type="cobertura-line"/> @@ -162,7 +162,7 @@ <result date="2006-10-15" statvalue="5" type="findbugs"/> <result date="2006-10-16" statvalue="9" type="checkstyle"/> <result date="2006-10-16" statvalue="3" type="findbugs"/> - <result date="2006-10-16" statvalue="21" type="cobertura-line"/> + <result date="2006-10-16" statvalue="20" type="cobertura-line"/> <result date="2006-10-16" statvalue="25" type="cobertura-branch"/> </file> <file id="com_pz_reader_LargeDataSet.java" path="com/pz/reader/LargeDataSet.java"> @@ -304,7 +304,5 @@ <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> <file - id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_TestCSVPerformance.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java"> - <result date="2006-10-16" statvalue="1" type="pmd"/> - </file> + id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_TestCSVPerformance.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java"/> </qalab> Modified: trunk/PZFileReader/src/site/index.xml =================================================================== --- trunk/PZFileReader/src/site/index.xml 2006-10-16 16:39:11 UTC (rev 61) +++ trunk/PZFileReader/src/site/index.xml 2006-10-16 19:52:04 UTC (rev 62) @@ -5,11 +5,10 @@ </properties> <head> <meta name="description" - content="PZFIle Reader Apache 2.0 license." + content="PZFileReader offers configurable flat file CSV and fixed length parser, released under the business-friendly Apache 2.0 license." /> - <meta name="keywords" - content="CSV, Fixed length file parser" /> + <meta name="keywords" content="CSV, Fixed length file parser" /> <meta name="Subject" content="Fixed Length parser" /> <meta name="Copyright" content="ObjectLab Financial Ltd" /> <meta name="Language" content="English" /> Modified: trunk/PZFileReaderSamples/project.xml =================================================================== --- trunk/PZFileReaderSamples/project.xml 2006-10-16 16:39:11 UTC (rev 61) +++ trunk/PZFileReaderSamples/project.xml 2006-10-16 19:52:04 UTC (rev 62) @@ -60,6 +60,16 @@ <exclude>**/Abstract*.java</exclude> </excludes> </unitTest> + <resources> + <resource> + <directory>src/main/java</directory> + <includes> + <include>**/*.txt</include> + <include>**/*.xml</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> </build> </project> Modified: trunk/common-build/project.xml =================================================================== --- trunk/common-build/project.xml 2006-10-16 16:39:11 UTC (rev 61) +++ trunk/common-build/project.xml 2006-10-16 19:52:04 UTC (rev 62) @@ -136,12 +136,14 @@ <artifactId>jdom</artifactId> <version>1.0</version> <type>jar</type> + <url>http://www.jdom.org</url> </dependency> <dependency> <groupId>jexcelapi</groupId> <artifactId>jxl</artifactId> <version>2.4.2</version> <type>jar</type> + <url>http://sourceforge.net/projects/jexcelapi</url> </dependency> </dependencies> @@ -159,7 +161,7 @@ <report>maven-simian-plugin</report> <report>maven-cobertura-plugin</report> <report>maven-qalab-plugin</report> - <report>maven-javadoc-plugin</report> + <report>maven-ydoc-plugin</report> <report>maven-jdepend-plugin</report> <report>maven-faq-plugin</report> <report>maven-junit-report-plugin</report> Modified: trunk/src/site/changes.xml =================================================================== --- trunk/src/site/changes.xml 2006-10-16 16:39:11 UTC (rev 61) +++ trunk/src/site/changes.xml 2006-10-16 19:52:04 UTC (rev 62) @@ -7,9 +7,10 @@ <title>Changes</title> </properties> <body> - <release version="2.3.0" date="in svn" description="Move to Maven"> + <release version="2.3.0" date="in svn" description="Move to Maven and Subversion"> <action dev="benoitx" type="add">Move build to Maven 1.1.x and generate the entire website from the build.</action> <action dev="benoitx" type="fix">Modify code following warning by Findbugs, checkstyle and PMD.</action> + <action dev="marchy" type="add">Move to Subversion.</action> </release> <release version="2.2.2" date="2006-08-18" description="Fix"> <action dev="zepernick" type="fix">Fixed bug in LargeDataSet. Multiline delimited records were not being parsed correctly. They were showing Added: trunk/src/site/documentation/index.xml =================================================================== --- trunk/src/site/documentation/index.xml (rev 0) +++ trunk/src/site/documentation/index.xml 2006-10-16 19:52:04 UTC (rev 62) @@ -0,0 +1,152 @@ +<document> + <properties> + <title>PZFileReader XML Examples</title> + </properties> + <head> + <meta name="description" + content="PZFileReader offers configurable flat file CSV and fixed length parser, released under the business-friendly Apache 2.0 license." + /> + + <meta name="keywords" + content="Open source, flat file api, csv parser, fixed length parser" /> + <meta name="Subject" content="Date Calculators" /> + <meta name="Copyright" content="ObjectLab Financial Ltd" /> + <meta name="Language" content="English" /> + <meta name="Designer" content="ObjectLab Financial Ltd" /> + <meta name="Distribution" content="Global" /> + <meta name="robots" content="ALL"/> + <meta name="Revisit-After" content="20 Days" /> + </head> + <body> + <!-- The body of the document contains a number of sections --> + <section name="XML Examples"> + + <subsection name="Delimited.pzmap.xml"> + <div class="code"> + <pre> +<?xml version="1.0"?> +<!-- DTD can be pulled from the Jar or over the web--> +<!DOCTYPE PZMAP SYSTEM "pzfilereader.dtd" > +<!--<!DOCTYPE PZMAP SYSTEM "http://pzfilereader.sourceforge.net/pzfilereader.dtd" >--> +<PZMAP> + <COLUMN name="FIRSTNAME" /> + <COLUMN name="LASTNAME" /> + <COLUMN name="ADDRESS" /> + <COLUMN name="CITY" /> + <COLUMN name="STATE" /> + <COLUMN name="ZIP" /> + +</PZMAP> + </pre> + </div> + </subsection> + + <subsection name="DelimitedWithHeaderAndTrailer.pzmap.xml"> + <div class="code"> + <pre> +<?xml version='1.0'?> +<!-- DTD can be pulled from the Jar or over the web--> +<!DOCTYPE PZMAP SYSTEM "pzfilereader.dtd" > +<!--<!DOCTYPE PZMAP SYSTEM "http://pzfilereader.sourceforge.net/pzfilereader.dtd" >--> +<PZMAP> + <RECORD id="header" indicator="H" elementNumber="1"> + <COLUMN name="RECORDINDICATOR" /> + <COLUMN name="HEADERDATA" /> + </RECORD> + <COLUMN name="FIRSTNAME" /> + <COLUMN name="LASTNAME" /> + <COLUMN name="ADDRESS" /> + <COLUMN name="CITY" /> + <COLUMN name="STATE" /> + <COLUMN name="ZIP" /> + <RECORD id="trailer" indicator="T" elementNumber="1"> + <COLUMN name="RECORDINDICATOR" /> + <COLUMN name="TRAILERDATA" /> + </RECORD> + +</PZMAP> + </pre> + </div> + </subsection> + + <subsection name="FixedLength.pzmap.xml"> + <div class="code"> + <pre> +<?xml version="1.0"?> +<!-- DTD can be pulled from the Jar or over the web--> +<!DOCTYPE PZMAP SYSTEM "pzfilereader.dtd" > +<!--<!DOCTYPE PZMAP SYSTEM "http://pzfilereader.sourceforge.net/pzfilereader.dtd" >--> +<PZMAP> + <COLUMN name="FIRSTNAME" length="35" /> + <COLUMN name="LASTNAME" length="35" /> + <COLUMN name="ADDRESS" length="100" /> + <COLUMN name="CITY" length="100" /> + <COLUMN name="STATE" length="2" /> + <COLUMN name="ZIP" length="5" /> + +</PZMAP> + </pre> + </div> + </subsection> + + <subsection name="FixedLengthWithHeaderAndTrailer.pzmap.xml"> + <div class="code"> + <pre> +<?xml version='1.0'?> +<!-- DTD can be pulled from the Jar or over the web--> +<!DOCTYPE PZMAP SYSTEM "pzfilereader.dtd" > +<!--<!DOCTYPE PZMAP SYSTEM "http://pzfilereader.sourceforge.net/pzfilereader.dtd" >--> + +<PZMAP> + <RECORD id="header" startPosition="1" endPosition="7" indicator="HEADER "> + <COLUMN name="INDICATOR" length="7" /> + <COLUMN name="HEADERDATA" length="19" /> + </RECORD> + <COLUMN name="FIRSTNAME" length="35" /> + <COLUMN name="LASTNAME" length="35" /> + <COLUMN name="ADDRESS" length="100" /> + <COLUMN name="CITY" length="100" /> + <COLUMN name="STATE" length="2" /> + <COLUMN name="ZIP" length="5" /> + <RECORD id="trailer" startPosition="1" endPosition="7" indicator="TRAILER"> + <COLUMN name="INDICATOR" length="7" /> + <COLUMN name="TRAILERDATA" length="19" /> + </RECORD> + +</PZMAP> + </pre> + </div> + </subsection> + + + <subsection name="SQLTableLayout"> + <div class="code"> + <pre> +Below is the layout for the 2 sql tables needed to map column names in a text file. +THIS IS ONLY NEEDED IF NOT USING THE PZMAP XML to map columns. + +This should work with just about any database. The contructor for the DataSet class accepts +a java.sql.Connection object if using this mapping method. + +TABLE1: + + >Table Name: DATAFILE + *Column: DATAFILE_NO - Numeric <PK> + *Column: DATAFILE_DESC - VarChar(45) - the value of this column is what needs to be passed into the + dataDefinition parameter on the DataSet constructor. + +TABLE2: + >Table Name: DATASTRUCTURE + *Column: DATASTRUCTURE_NO - Numeric <PK> + *Column: DATAFILE_NO - Numeric <FK> - Links to DATAFILE table + *Column: DATASTRUCTURE_COLUMN - VarChar(100) - Name of the column to map + *Column: DATASTRUCTURE_LENGTH - Numeric - Length of the column, ONLY APPLIES TO FIXED LENGTH FILES + *Column: DATASTRUCTURE_COL_ORDER - Numeric - Numerical ordering columns appear in file 1,2,3...etc + </pre> + </div> + </subsection> + + </section> + + </body> +</document> \ No newline at end of file Added: trunk/src/site/documentation/pzfilereader-manual.doc =================================================================== (Binary files differ) Property changes on: trunk/src/site/documentation/pzfilereader-manual.doc ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/src/site/documentation/pzfilereader-manual.pdf =================================================================== --- trunk/src/site/documentation/pzfilereader-manual.pdf (rev 0) +++ trunk/src/site/documentation/pzfilereader-manual.pdf 2006-10-16 19:52:04 UTC (rev 62) @@ -0,0 +1,1157 @@ +%PDF-1.4 %\xE2\xE3\xCF\xD3 +761 0 obj <</Linearized 1/L 98839/O 765/E 18715/N 18/T 83571/H [ 1831 628]>> endobj +xref +761 75 +0000000016 00000 n +0000002654 00000 n +0000001831 00000 n +0000002963 00000 n +0000003104 00000 n +0000003488 00000 n +0000003690 00000 n +0000003833 00000 n +0000003977 00000 n +0000004121 00000 n +0000004266 00000 n +0000004411 00000 n +0000004555 00000 n +0000004700 00000 n +0000004845 00000 n +0000004990 00000 n +0000005135 00000 n +0000005278 00000 n +0000005423 00000 n +0000005568 00000 n +0000005713 00000 n +0000005858 00000 n +0000006002 00000 n +0000006147 00000 n +0000006290 00000 n +0000006434 00000 n +0000006578 00000 n +0000006721 00000 n +0000006864 00000 n +0000007008 00000 n +0000007470 00000 n +0000007832 00000 n +0000008381 00000 n +0000008842 00000 n +0000008878 00000 n +0000009118 00000 n +0000009195 00000 n +0000009441 00000 n +0000009704 00000 n +0000010297 00000 n +0000010779 00000 n +0000011273 00000 n +0000011782 00000 n +0000012313 00000 n +0000012811 00000 n +0000013293 00000 n +0000013549 00000 n +0000013593 00000 n +0000014050 00000 n +0000014602 00000 n +0000017272 00000 n +0000017502 00000 n +0000017554 00000 n +0000017606 00000 n +0000017658 00000 n +0000017710 00000 n +0000017762 00000 n +0000017814 00000 n +0000017867 00000 n +0000017920 00000 n +0000017973 00000 n +0000018026 00000 n +0000018079 00000 n +0000018132 00000 n +0000018185 00000 n +0000018238 00000 n +0000018291 00000 n +0000018344 00000 n +0000018397 00000 n +0000018450 00000 n +0000018503 00000 n +0000018556 00000 n +0000018609 00000 n +0000018662 00000 n +0000002459 00000 n +trailer +<</Size 836/Prev 83559/XRefStm 2459/Root 762 0 R/Info 90 0 R/ID[<7990763939504b36a91718126092912b><3b5ae8d6b530524aa6e1cc876db48a48>]>> +startxref +0 +%%EOF + +763 0 obj<</Length 534/Filter/FlateDecode/C 656/L 640/O 624/S 458>>stream +x\xDAb```b`\xE0\x94g`g``Ve\xE0c@ |
From: <be...@us...> - 2006-10-16 21:21:04
|
Revision: 63 http://svn.sourceforge.net/pzfilereader/?rev=63&view=rev Author: benoitx Date: 2006-10-16 14:19:38 -0700 (Mon, 16 Oct 2006) Log Message: ----------- One step closer to have the examples working. Tidy up website too. Modified Paths: -------------- trunk/PZFileReaderSamples/project.xml trunk/PZFileReaderSamples/src/site/index.xml trunk/src/site/navigation.xml Added Paths: ----------- trunk/common-build/lib/ trunk/common-build/lib/README trunk/common-build/lib/jdom.jar trunk/common-build/lib/jexcelapi license.txt trunk/common-build/lib/jxl.jar trunk/src/site/features.xml Removed Paths: ------------- trunk/PZFileReader/include/ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/README.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/ExecuteSample.bat trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/README.txt Modified: trunk/PZFileReaderSamples/project.xml =================================================================== --- trunk/PZFileReaderSamples/project.xml 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/project.xml 2006-10-16 21:19:38 UTC (rev 63) @@ -66,9 +66,24 @@ <includes> <include>**/*.txt</include> <include>**/*.xml</include> + <include>**/*.csv</include> </includes> <filtering>false</filtering> </resource> + <resource> + <directory>${basedir}/../common-build/lib</directory> + <includes> + <include>**/*.jar</include> + </includes> + <filtering>false</filtering> + </resource> + <resource> + <directory>${basedir}/common-build/lib</directory> + <includes> + <include>**/*.jar</include> + </includes> + <filtering>false</filtering> + </resource> </resources> </build> Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,3 +0,0 @@ -REM param1 = # cols to make | param2 = #rows to make -java -cp ./ CSVTestFileCreator 10 100000 -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,8 +0,0 @@ -This utility can be used to create a sample CSV file for testing the parser. In the -ExecuterSample.bat file, there are 2 parameters. - -param1 = # cols to make | param2 = #rows to make - -The following line would create a csv file with 10 columns and 100000 rows: - -java -cp ./ CSVTestFileCreator 10 100000 \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar CSVHeaderAndTrailer -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,4 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - - -This shows the ability to parse header and trailer records out of a file. Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -Xmx712m -Xms712m -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar;../../lib/jxl.jar CSVPerformanceTest -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,30 +0,0 @@ -File Type: Must Be A CSV file - -This is meant to be a performance test. The sample file contains 10 columns and 100,000 rows. - - -Performance Tests ------------------------------- - Machine Specs: P4 1.7 GHZ 256MB RAM | Parse Time: 45-48 secs. - Machine Specs: P4 2.9 GHZ 1 GB RAM | Parse Time: 23-25 secs. - -Feel free to post additional performance tests in the SF forums :) - - -There is a settings.properties file in this directory. This file has 2 different options: - -verbose - can be set to true/false. If set to true, the data in the file will be ran to the screen -after the parse. There is a 2 second pause before data start to get spit to the screen. This is -to allow the user to see the total time it took to parse the file. - -csvFile - set this to the path of the CSV file to be read in. Feel free to test this against your own -CSV files. - - -This particular example uses the first record in the file for the column names. - -Depending on the size of the file being parsed, the -Xmx parameter may need to be adjusted. This -is the max memory setting for the JVM to use. This parameter is set in the ExecuteSample.bat file -and is currently set to 128mb. This needs to be adjusted if OutOfMemory errors occur. - - Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar DelimitedColumnNamesInFile -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,10 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - -This sample uses the column names which are contained in the CSV file instead -of relying on a mapping to tell the parser what the column names are. - -This sample also re-orders the file by CITY ASC, LASTNAME DESC - - -There have also been " 's and , 's added to the text on one of the records -to show the parsing abilities of the API. Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar DelimitedWithPZMap -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,11 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - - -This sample dynamically reads the column names from the DataSet and evaluates -the values of each column. Making use of the getColumns() method. - -This sample also re-orders the file by CITY ASC, LASTNAME DESC - - -There have also been " 's and , 's added to the text on one of the records -to show the parsing abilities of the API. Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar DelimitedWithPZMapErrors -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,18 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - -This sample contains errors in the PEOPLE-CommaDelimitedWithQualifier.txt -2 Lines in the file contain more columns then we have declared in the -PEOPLE-Delimited.pzmap.xml -This demonstrates how to check for errors that happened while reading the file. - - -This sample dynamically reads the column names from the DataSet and evaluates -the values of each column. Making use of the getColumns() method. - -This sample also re-orders the file by CITY ASC, LASTNAME DESC - - -There have also been " 's and , 's added to the text on one of the records -to show the parsing abilities of the API. - - Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar;../../lib/jxl.jar DelimitedFileExportToExcel -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,9 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - - - -This sample re-orders the file by CITY ASC, LASTNAME DESC and exports to "MyExcelExport.xls" - - -There have also been " 's and , 's added to the text on one of the records -to show the parsing abilities of the API. Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar FixedLengthWithPZMap -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,9 +0,0 @@ -File Type: Fixed Width Text - -This sample dynamically reads the column names from the DataSet and evaluates -the values of each column. Making use of the getColumns() method. - -This sample also re-orders the file by CITY ASC, LASTNAME DESC - - - Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar FixedLengthHeaderAndTrailer -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,9 +0,0 @@ -File Type: Fixed Width Text - -This sample dynamically reads the column names from the DataSet and evaluates -the values of each column. Making use of the getColumns() method. - -This sample also re-orders the file by CITY ASC, LASTNAME DESC - - - Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../../pzFileReader2_2_2.jar;../../../lib/jdom.jar DelimitedWithPZMap -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,9 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - - -This sample dynamically reads the column names from the LargeDataSet and evaluates -the values of each column. Making use of the getColumns() method. - - -There have also been " 's and , 's added to the text on one of the records -to show the parsing abilities of the API. Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../../pzFileReader2_2_2.jar;../../../lib/jdom.jar FixedLengthWithPZMap -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,9 +0,0 @@ -File Type: Fixed Width Text - -This sample dynamically reads the column names from the DataSet and evaluates -the values of each column. Making use of the getColumns() method. - -This sample also re-orders the file by CITY ASC, LASTNAME DESC - - - Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -Xmx128m -Xms128m -cp ./;../../../pzFileReader2_2_2.jar;../../../lib/jdom.jar CSVLarge -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,20 +0,0 @@ -File Type: Must Be A CSV file - -This is meant to be a performance test for large files. This will make use of the new LargeDataSet class introduced -in 2.2. A println will be run to the screen for every 2500 records parsed & looped through in the file. - -This class differs from the DataSet class where the file is no longer read into memory. - -There is a settings.properties file in this directory. - -csvFile - set this to the path of the CSV file to be read in. Feel free to test this against your own -CSV files. - - -This particular example uses the first record in the file for the column names. - -Depending on the size of the file being parsed, the -Xmx parameter may need to be adjusted. This -is the max memory setting for the JVM to use. This parameter is set in the ExecuteSample.bat file -and is currently set to 128mb. This needs to be adjusted if OutOfMemory errors occur. - - Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar LowLevelParse -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,7 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - - -This demonstrates how to perform lower level parsing. The DataSet -class is bypassed alltogether and a buffered reader is used instead. -This sample makes use of parsing utilities which are provided through -the ParserUtils class. Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar DelimitedMultiLine -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,11 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - - -This sample dynamically reads the column names from the DataSet and evaluates -the values of each column. Making use of the getColumns() method. - -This sample also re-orders the file by CITY ASC, LASTNAME DESC - - -There have also been " 's and , 's added to the text on one of the records -to show the parsing abilities of the API. Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/ExecuteSample.bat =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/ExecuteSample.bat 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/ExecuteSample.bat 2006-10-16 21:19:38 UTC (rev 63) @@ -1,2 +0,0 @@ -java -cp ./;../../pzFileReader2_2_2.jar;../../lib/jdom.jar NumericsAndDates -pause \ No newline at end of file Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/README.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/README.txt 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/README.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -1,4 +0,0 @@ -File Type: Comma Delimted With Text Qualified By "'s - -This sample demonstrates how values can be pulled out as Strings,double's,int's, -and Date's from the file. Modified: trunk/PZFileReaderSamples/src/site/index.xml =================================================================== --- trunk/PZFileReaderSamples/src/site/index.xml 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/PZFileReaderSamples/src/site/index.xml 2006-10-16 21:19:38 UTC (rev 63) @@ -20,11 +20,288 @@ </head> <body> <!-- The body of the document contains a number of sections --> - <section name="PZFileReader Introduction"> + <section name="PZFileReader Examples"> <p>Check out the <a href="apidocs/index.html">UML diagrams here</a></p> <p>Also look at the <a href="maven-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> - </section> + + <subsection name="The Examples"> + <p>All examples are in the com.pz.reader.examples sub-directories. Here is the list:</p> + <ol> + <li>...createsamplecsv.<a href="#CSVTestFileCreator">CSVTestFileCreator</a>.java Create sample CSV</li> + <li>...csvheaderandtrailer.<a href="#CSVHeaderAndTrailer">CSVHeaderAndTrailer</a>.java This shows the ability to parse header and trailer records out of a file.</li> + <li>...csvperformancetest.<a href="#CSVPerformanceTest">CSVPerformanceTest</a>.java Create sample CSV</li> + <li>...delimitedcolumnnamesinfile.<a href="#DelimitedColumnNamesInFile">DelimitedColumnNamesInFile</a>.java Create sample CSV</li> + <li>...delimiteddynamiccolumns.<a href="#DelimitedWithPZMap">DelimitedWithPZMap</a>.java Create sample CSV</li> + <li>...delimiteddynamiccolumnswitherrors.<a href="#DelimitedWithPZMapErrors">DelimitedWithPZMapErrors</a>.java Create sample CSV</li> + <li>...exporttoexcel.<a href="#DelimitedFileExportToExcel">DelimitedFileExportToExcel</a>.java Create sample CSV</li> + <li>...fixedlengthdynamiccolumns.<a href="#FixedLengthWithPZMap">FixedLengthWithPZMap</a>.java Create sample CSV</li> + <li>...fixedlengthheaderandtrailer.<a href="#FixedLengthHeaderAndTrailer">FixedLengthHeaderAndTrailer</a>.java Create sample CSV</li> + <li>...largedataset.delimiteddynamiccolumns.<a href="#DelimitedWithPZMap2">DelimitedWithPZMap</a>.java Create sample CSV</li> + <li>...largedataset.fixedlengthdynamiccolumns.<a href="#FixedLengthWithPZMap2">FixedLengthWithPZMap</a>.java Create sample CSV</li> + <li>...largedataset.largecsvperformancetest.<a href="#CSVLarge">CSVLarge</a>.java Create sample CSV</li> + <li>...lowlevelparse.<a href="#LowLevelParse">LowLevelParse</a>.java Create sample CSV</li> + <li>...multilinedelimitedrecord.<a href="#DelimitedMultiLine">DelimitedMultiLine</a>.java Create sample CSV</li> + <li>...numericsanddates.<a href="#NumericsAndDates">NumericsAndDates</a>.java Create sample CSV</li> + </ol> + </subsection> + <subsection name="CSVTestFileCreator"><a name="CSVTestFileCreator"/> +<div clas="code"><pre> +This utility can be used to create a sample CSV file for testing the parser. In the +ExecuterSample.bat file, there are 2 parameters. + +param1 = # cols to make | param2 = #rows to make + +The following line would create a csv file with 10 columns and 100000 rows: + +java -cp ./ CSVTestFileCreator 10 100000 +</pre></div> + </subsection> + + + <subsection name="CSVHeaderAndTrailer"><a name="CSVHeaderAndTrailer"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + +This shows the ability to parse header and trailer records out of a file. + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.csvheaderandtrailer.CSVHeaderAndTrailer +</pre></div> +</subsection> + +<subsection name="CSVPerformanceTest"><a name="CSVPerformanceTest"/> +<div clas="code"><pre> +File Type: Must Be A CSV file + +This is meant to be a performance test. The sample file contains 10 columns and 100,000 rows. + + +Performance Tests +------------------------------ + Machine Specs: P4 1.7 GHZ 256MB RAM | Parse Time: 45-48 secs. + Machine Specs: P4 2.9 GHZ 1 GB RAM | Parse Time: 23-25 secs. + +Feel free to post additional performance tests in the SF forums :) + + +There is a settings.properties file in this directory. This file has 2 different options: + +verbose - can be set to true/false. If set to true, the data in the file will be ran to the screen +after the parse. There is a 2 second pause before data start to get spit to the screen. This is +to allow the user to see the total time it took to parse the file. + +csvFile - set this to the path of the CSV file to be read in. Feel free to test this against your own +CSV files. + + +This particular example uses the first record in the file for the column names. + +Depending on the size of the file being parsed, the -Xmx parameter may need to be adjusted. This +is the max memory setting for the JVM to use. This parameter is set in the ExecuteSample.bat file +and is currently set to 128mb. This needs to be adjusted if OutOfMemory errors occur. + + +java -Xmx712m -Xms712m -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar;../../lib/jxl.jar com.pz.reader.examples.csvperformancetest.CSVPerformanceTest +</pre></div> +</subsection> + +<subsection name="DelimitedColumnNamesInFile"><a name="DelimitedColumnNamesInFile"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + +This sample uses the column names which are contained in the CSV file instead +of relying on a mapping to tell the parser what the column names are. + +This sample also re-orders the file by CITY ASC, LASTNAME DESC + + +There have also been " 's and , 's added to the text on one of the records +to show the parsing abilities of the API. + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.delimitedcolumnnamesinfile.DelimitedColumnNamesInFile +</pre></div> +</subsection> + +<subsection name="DelimitedWithPZMap"><a name="DelimitedWithPZMap"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + + +This sample dynamically reads the column names from the DataSet and evaluates +the values of each column. Making use of the getColumns() method. + +This sample also re-orders the file by CITY ASC, LASTNAME DESC + + +There have also been " 's and , 's added to the text on one of the records +to show the parsing abilities of the API. +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.delimiteddynamiccolumns.DelimitedWithPZMap +</pre></div> +</subsection> + +<subsection name="DelimitedWithPZMapErrors"><a name="DelimitedWithPZMapErrors"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + +This sample contains errors in the PEOPLE-CommaDelimitedWithQualifier.txt +2 Lines in the file contain more columns then we have declared in the +PEOPLE-Delimited.pzmap.xml +This demonstrates how to check for errors that happened while reading the file. + + +This sample dynamically reads the column names from the DataSet and evaluates +the values of each column. Making use of the getColumns() method. + +This sample also re-orders the file by CITY ASC, LASTNAME DESC + + +There have also been " 's and , 's added to the text on one of the records +to show the parsing abilities of the API. + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.delimiteddynamiccolumnswitherrors.DelimitedWithPZMapErrors +</pre></div> +</subsection> + +<subsection name="DelimitedFileExportToExcel"><a name="DelimitedFileExportToExcel"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + +This sample re-orders the file by CITY ASC, LASTNAME DESC and exports to "MyExcelExport.xls" + + +There have also been " 's and , 's added to the text on one of the records +to show the parsing abilities of the API. +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.exporttoexcel.DelimitedFileExportToExcel +</pre></div> +</subsection> + +<subsection name="FixedLengthWithPZMap"><a name="FixedLengthWithPZMap"/> +<div clas="code"><pre> +File Type: Fixed Width Text + +This sample dynamically reads the column names from the DataSet and evaluates +the values of each column. Making use of the getColumns() method. + +This sample also re-orders the file by CITY ASC, LASTNAME DESC +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.fixedlengthdynamiccolumns.FixedLengthWithPZMap +</pre></div> +</subsection> + +<subsection name="FixedLengthHeaderAndTrailer"><a name="FixedLengthHeaderAndTrailer"/> +<div clas="code"><pre> +File Type: Fixed Width Text + +This sample dynamically reads the column names from the DataSet and evaluates +the values of each column. Making use of the getColumns() method. + +This sample also re-orders the file by CITY ASC, LASTNAME DESC + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.fixedlengthheaderandtrailer.FixedLengthHeaderAndTrailer +</pre></div> +</subsection> + +<subsection name="DelimitedWithPZMap"><a name="DelimitedWithPZMap2"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + + +This sample dynamically reads the column names from the LargeDataSet and evaluates +the values of each column. Making use of the getColumns() method. + + +There have also been " 's and , 's added to the text on one of the records +to show the parsing abilities of the API. + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.largeset.delimiteddynamiccolumns.DelimitedWithPZMap +</pre></div> +</subsection> + +<subsection name="FixedLengthWithPZMap"><a name="FixedLengthWithPZMap2"/> +<div clas="code"><pre> +File Type: Fixed Width Text + +This sample dynamically reads the column names from the DataSet and evaluates +the values of each column. Making use of the getColumns() method. + +This sample also re-orders the file by CITY ASC, LASTNAME DESC + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.largeset.fixedlengthdynamiccolumns.FixedLengthWithPZMap +</pre></div> +</subsection> + +<subsection name="CSVLarge"><a name="CSVLarge"/> +<div clas="code"><pre> +File Type: Must Be A CSV file + +This is meant to be a performance test for large files. This will make use of the new LargeDataSet class introduced +in 2.2. A println will be run to the screen for every 2500 records parsed and looped through in the file. + +This class differs from the DataSet class where the file is no longer read into memory. + +There is a settings.properties file in this directory. + +csvFile - set this to the path of the CSV file to be read in. Feel free to test this against your own +CSV files. + + +This particular example uses the first record in the file for the column names. + +Depending on the size of the file being parsed, the -Xmx parameter may need to be adjusted. This +is the max memory setting for the JVM to use. This parameter is set in the ExecuteSample.bat file +and is currently set to 128mb. This needs to be adjusted if OutOfMemory errors occur. + + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.largeset.largecsvperformancetest.CSVLarge +</pre></div> +</subsection> + +<subsection name="LowLevelParse"><a name="LowLevelParse"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + + +This demonstrates how to perform lower level parsing. The DataSet +class is bypassed alltogether and a buffered reader is used instead. +This sample makes use of parsing utilities which are provided through +the ParserUtils class. + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.lowlevel.LowLevelParse +</pre></div> +</subsection> + +<subsection name="DelimitedMultiLine"><a name="DelimitedMultiLine"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + + +This sample dynamically reads the column names from the DataSet and evaluates +the values of each column. Making use of the getColumns() method. + +This sample also re-orders the file by CITY ASC, LASTNAME DESC + + +There have also been " 's and , 's added to the text on one of the records +to show the parsing abilities of the API. + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.multilinedelimitedrecord.DelimitedMultiLine +</pre></div> +</subsection> + +<subsection name="NumericsAndDates"><a name="NumericsAndDates"/> +<div clas="code"><pre> +File Type: Comma Delimted With Text Qualified By "'s + +This sample demonstrates how values can be pulled out as Strings,double's,int's, +and Date's from the file. + +java -cp ./;../../pzfilereader-2.2.0.jar;../../lib/jdom.jar com.pz.reader.examples.numericsanddates.NumericsAndDates +</pre></div> +</subsection> + + +</section> + + </body> </document> \ No newline at end of file Added: trunk/common-build/lib/README =================================================================== --- trunk/common-build/lib/README (rev 0) +++ trunk/common-build/lib/README 2006-10-16 21:19:38 UTC (rev 63) @@ -0,0 +1,5 @@ +This dir contains build & runtime dependent files + +jdom.jar - required +junit.jar - optional used for unit testing +jxl.jar - optional used for excel integration \ No newline at end of file Added: trunk/common-build/lib/jdom.jar =================================================================== (Binary files differ) Property changes on: trunk/common-build/lib/jdom.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/common-build/lib/jexcelapi license.txt =================================================================== --- trunk/common-build/lib/jexcelapi license.txt (rev 0) +++ trunk/common-build/lib/jexcelapi license.txt 2006-10-16 21:19:38 UTC (rev 63) @@ -0,0 +1,23 @@ +/********************************************************************* +* +* Copyright (C) 2002 Andrew Khan +* +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2.1 of the License, or (at your option) any later version. +* +* This library is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public +* License along with this library; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***************************************************************************/ + + +The LPGL license can be found here: + +http://www.gnu.org/licenses/lgpl.html \ No newline at end of file Added: trunk/common-build/lib/jxl.jar =================================================================== (Binary files differ) Property changes on: trunk/common-build/lib/jxl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/src/site/features.xml =================================================================== --- trunk/src/site/features.xml (rev 0) +++ trunk/src/site/features.xml 2006-10-16 21:19:38 UTC (rev 63) @@ -0,0 +1,69 @@ +<document> + <properties> + <title>Features</title> + </properties> + <head> + <meta name="description" + content="PZFileReader offers configurable flat file CSV and fixed length parser, released under the business-friendly Apache 2.0 license." + /> + + <meta name="keywords" content="CSV, Fixed length file parser" /> + <meta name="Subject" content="Date Calculators" /> + <meta name="Copyright" content="ObjectLab Financial Ltd" /> + <meta name="Language" content="English" /> + <meta name="Designer" content="ObjectLab Financial Ltd" /> + <meta name="Distribution" content="Global" /> + <meta name="robots" content="ALL"/> + <meta name="Revisit-After" content="20 Days" /> + </head> + <body> + <!-- The body of the document contains a number of sections --> + <section name="Features"> + + <ul> + +<li>Ability to parse any delimited or fixed length file. Columns in the files are mapped through an XML document or a database table. The data can then be pulled out of the columns by referencing the column names provided in the mappings. </li> + +<li>Allows the mapping and parsing of header and trailer records. There is no limit to how many different header / trailers you can have in a file, each header / trailer type is given a unique id which can be checked for while looping through the parse results. </li> + +<li>Parser can handle records in delimited files which span multiple lines: + +<br/>ie. element, element, "element with line break +<br/>more element data +<br/>more element data +<br/>more element data" +<br/>start next rec here </li> + +<li>Implements a special class, LargeDataSet, which handles large text files. This will read large files with very low memory usage. This class should be used for file sizes > 100mb. </li> + +<li>Delimited files which have the first record containing the columns names, can be parsed using the column names in the file. </li> + +<li>The delimited parser has been tested thoroughly with Excel CSV. Qualifiers and delimiters are allowed in the text elements, with the exception that a qualifier can not be followed by a delimiter inside the text element. </li> + +<li>Ability to resort the file before looping through it. Just like an ORDER BY on an SQL statement. </li> + +<li>Handles truncated lines of data if needed (optional feature). ie. Not enough elements, or fixed length line is shorter then the what is in the mapping file. Missing columns are filled in with empties. </li> + +<li>Ability to automatically convert all data in the file to upper or lower case. </li> + +<li>Retrieve columns as Strings, Dates, Doubles, or Ints. By default, when calling getDouble() or getInt(), the parser will remove any non numeric characters to prevent exceptions. This is helps when dealing with files that contain; dollar signs, commas, etc. Strict parsing can be turned on if this is not desired. </li> + +<li>Ability to jump to the top or bottom of the file, go to an absolute position, next or previous row. </li> + +<li>Rows can be removed from the file while processing. This only removes them out of memory and does not remove them from the actual file. </li> + +<li>Column values can be changed. This is only done in memory and does not change the actual file. </li> + +<li>Error messages of errors which occurred during parsing are collected in a list. Rows which contained parsing errors are excluded when returning the data which is in the file. This list of errors can also be added to while processing the data in the file. It can be used to report all errors that happened during file processing. </li> + +<li>Delimiter parser is provided in a utility class. This can be used to parse a String of text, for users who wish to do their own low level parsing. </li> + +<li>Using mapping files to associate column names to positions in the text file provides an easy way to update a layout when there is a change without breaking the code. This is especially helpful when a new column is inserted in the middle of a file, and normally there would be a lot of substring to change :( </li> + </ul> + + + + </section> + + </body> +</document> \ No newline at end of file Modified: trunk/src/site/navigation.xml =================================================================== --- trunk/src/site/navigation.xml 2006-10-16 19:52:04 UTC (rev 62) +++ trunk/src/site/navigation.xml 2006-10-16 21:19:38 UTC (rev 63) @@ -13,6 +13,8 @@ href="multiproject/pzfilereader/index.html" /> <item name="History" href="history.html" /> + <item name="Features" + href="features.html" /> <item name="Examples" href="multiproject/pzfilereader-examples/index.html" /> <item name="JavaDoc" class="newWindow" target="_new" href="apidocs/index.html" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-17 15:06:45
|
Revision: 67 http://svn.sourceforge.net/pzfilereader/?rev=67&view=rev Author: benoitx Date: 2006-10-17 08:05:44 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Work on the examples to use a Console menu that the user can launch and then pick which test to run interactively. Modified Paths: -------------- trunk/PZFileReader/project.xml trunk/PZFileReader/qalab.xml trunk/PZFileReaderSamples/.classpath trunk/PZFileReaderSamples/maven.xml trunk/PZFileReaderSamples/project.xml trunk/PZFileReaderSamples/qalab.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/CSVPerformanceTest.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/DelimitedFileExportToExcel.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/CSVLarge.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/LowLevelParse.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/DelimitedMultiLine.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/NumericsAndDates.java trunk/PZFileReaderSamples/src/site/index.xml trunk/common-build/project.xml trunk/maven.xml trunk/project.properties Added Paths: ----------- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/ConsoleMenu.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Examples.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Repeater.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/script/ trunk/PZFileReaderSamples/src/main/script/INVENTORY-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/script/INVENTORY-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/script/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/script/PEOPLE-CommaDelimitedWithQualifierAndHeaderTrailer.txt trunk/PZFileReaderSamples/src/main/script/PEOPLE-CommaDelimitedWithQualifierMultiLine.txt trunk/PZFileReaderSamples/src/main/script/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/script/PEOPLE-DelimitedWithHeaderTrailer.pzmap.xml trunk/PZFileReaderSamples/src/main/script/PEOPLE-FixedLength.pzmap.xml trunk/PZFileReaderSamples/src/main/script/PEOPLE-FixedLength.txt trunk/PZFileReaderSamples/src/main/script/PEOPLE-FixedLengthWithHeaderTrailer.pzmap.xml trunk/PZFileReaderSamples/src/main/script/PEOPLE-FixedLengthWithHeaderTrailer.txt trunk/PZFileReaderSamples/src/main/script/SampleCSV.csv trunk/PZFileReaderSamples/src/main/script/run-examples.bat Removed Paths: ------------- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvperformancetest/SampleCSV.csv trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimitedcolumnnamesinfile/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumns/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/delimiteddynamiccolumnswitherrors/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/exporttoexcel/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/PEOPLE-FixedLength.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthdynamiccolumns/PEOPLE-FixedLength.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/PEOPLE-FixedLength.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/fixedlengthheaderandtrailer/PEOPLE-FixedLength.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/delimiteddynamiccolumns/PEOPLE-Delimited.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/PEOPLE-FixedLength.pzmap.xml trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/PEOPLE-FixedLength.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/largedataset/largecsvperformancetest/SampleCSV.csv trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/lowlevelparse/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/multilinedelimitedrecord/PEOPLE-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/INVENTORY-CommaDelimitedWithQualifier.txt trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/numericsanddates/INVENTORY-Delimited.pzmap.xml Modified: trunk/PZFileReader/project.xml =================================================================== --- trunk/PZFileReader/project.xml 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReader/project.xml 2006-10-17 15:05:44 UTC (rev 67) @@ -53,6 +53,15 @@ <exclude>**/Abstract*.java</exclude> </excludes> </unitTest> + <resources> + <resource> + <directory>src/main/java</directory> + <includes> + <include>**/*.dtd</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> </build> </project> Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReader/qalab.xml 2006-10-17 15:05:44 UTC (rev 67) @@ -47,6 +47,12 @@ <summaryresult date="2006-10-16" filecount="3" statvalue="116" type="simian"/> <summaryresult date="2006-10-16" filecount="13" statvalue="17" type="cobertura-line"/> <summaryresult date="2006-10-16" filecount="13" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2006-10-17" filecount="18" statvalue="25" type="checkstyle"/> + <summaryresult date="2006-10-17" filecount="3" statvalue="5" type="pmd"/> + <summaryresult date="2006-10-17" filecount="7" statvalue="13" type="findbugs"/> + <summaryresult date="2006-10-17" filecount="3" statvalue="116" type="simian"/> + <summaryresult date="2006-10-17" filecount="13" statvalue="17" type="cobertura-line"/> + <summaryresult date="2006-10-17" filecount="13" statvalue="23" type="cobertura-branch"/> </summary> <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -56,6 +62,7 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_package.html" path="com/pz/reader/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -65,6 +72,7 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_util_package.html" path="com/pz/reader/util/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -74,6 +82,7 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_xml_package.html" path="com/pz/reader/xml/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -83,6 +92,7 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_structure_package.html" path="com/pz/reader/structure/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -92,6 +102,7 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -136,6 +147,8 @@ <result date="2006-10-15" statvalue="1" type="findbugs"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> <result date="2006-10-16" statvalue="44" type="cobertura-line"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> + <result date="2006-10-17" statvalue="44" type="cobertura-line"/> </file> <file id="com_pz_reader_DataError.java" path="com/pz/reader/DataError.java"> <result date="2006-10-05" statvalue="22" type="checkstyle"/> @@ -146,6 +159,8 @@ <result date="2006-10-15" statvalue="22" type="checkstyle"/> <result date="2006-10-16" statvalue="3" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-17" statvalue="3" type="checkstyle"/> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="com_pz_reader_DataSet.java" path="com/pz/reader/DataSet.java"> <result date="2006-10-05" statvalue="485" type="checkstyle"/> @@ -164,6 +179,11 @@ <result date="2006-10-16" statvalue="3" type="findbugs"/> <result date="2006-10-16" statvalue="20" type="cobertura-line"/> <result date="2006-10-16" statvalue="25" type="cobertura-branch"/> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> + <result date="2006-10-17" statvalue="3" type="findbugs"/> + <result date="2006-10-17" statvalue="21" type="cobertura-line"/> + <result date="2006-10-17" statvalue="26" type="cobertura-branch"/> </file> <file id="com_pz_reader_LargeDataSet.java" path="com/pz/reader/LargeDataSet.java"> <result date="2006-10-05" statvalue="278" type="checkstyle"/> @@ -180,6 +200,8 @@ <result date="2006-10-15" statvalue="3" type="findbugs"/> <result date="2006-10-16" statvalue="5" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_Version.java" path="com/pz/reader/Version.java"> <result date="2006-10-05" statvalue="2" type="checkstyle"/> @@ -188,6 +210,7 @@ <result date="2006-10-14" statvalue="2" type="checkstyle"/> <result date="2006-10-15" statvalue="2" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="com_pz_reader_ordering_OrderBy.java" path="com/pz/reader/ordering/OrderBy.java"> <result date="2006-10-05" statvalue="65" type="checkstyle"/> @@ -203,6 +226,8 @@ <result date="2006-10-15" statvalue="65" type="checkstyle"/> <result date="2006-10-15" statvalue="5" type="findbugs"/> <result date="2006-10-16" statvalue="5" type="findbugs"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="2" type="findbugs"/> </file> <file id="com_pz_reader_ordering_OrderColumn.java" path="com/pz/reader/ordering/OrderColumn.java"> <result date="2006-10-05" statvalue="25" type="checkstyle"/> @@ -221,6 +246,8 @@ <result date="2006-10-15" statvalue="99" type="checkstyle"/> <result date="2006-10-16" statvalue="50" type="cobertura-line"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-17" statvalue="50" type="cobertura-line"/> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"/> <file id="com_pz_reader_util_ExcelTransformer.java" path="com/pz/reader/util/ExcelTransformer.java"> @@ -255,6 +282,11 @@ <result date="2006-10-16" statvalue="3" type="findbugs"/> <result date="2006-10-16" statvalue="35" type="cobertura-line"/> <result date="2006-10-16" statvalue="42" type="cobertura-branch"/> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="3" type="pmd"/> + <result date="2006-10-17" statvalue="3" type="findbugs"/> + <result date="2006-10-17" statvalue="34" type="cobertura-line"/> + <result date="2006-10-17" statvalue="41" type="cobertura-branch"/> </file> <file id="com_pz_reader_xml_PZMapParser.java" path="com/pz/reader/xml/PZMapParser.java"> <result date="2006-10-05" statvalue="257" type="checkstyle"/> @@ -278,6 +310,9 @@ <result date="2006-10-16" statvalue="5" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="pmd"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_xml_ResolveLocalDTD.java" path="com/pz/reader/xml/ResolveLocalDTD.java"> <result date="2006-10-05" statvalue="40" type="checkstyle"/> @@ -293,6 +328,7 @@ <result date="2006-10-15" statvalue="40" type="checkstyle"/> <result date="2006-10-15" statvalue="2" type="findbugs"/> <result date="2006-10-16" statvalue="2" type="findbugs"/> + <result date="2006-10-17" statvalue="2" type="findbugs"/> </file> <file id="com_pz_reader_xml_XMLRecordElement.java" path="com/pz/reader/xml/XMLRecordElement.java"> <result date="2006-10-05" statvalue="34" type="checkstyle"/> @@ -302,6 +338,7 @@ <result date="2006-10-14" statvalue="34" type="checkstyle"/> <result date="2006-10-15" statvalue="34" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_TestCSVPerformance.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java"/> Modified: trunk/PZFileReaderSamples/.classpath =================================================================== --- trunk/PZFileReaderSamples/.classpath 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReaderSamples/.classpath 2006-10-17 15:05:44 UTC (rev 67) @@ -1,10 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> - <classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"></classpathentry> - <classpathentry excluding="" kind="src" path="src/main/java"></classpathentry> - <classpathentry path="MAVEN_REPO/com.pz.reader/jars/pzfilereader-2.2.0.jar" kind="var"></classpathentry> - <classpathentry path="MAVEN_REPO/jdom/jars/jdom-1.0.jar" kind="var"></classpathentry> - <classpathentry path="MAVEN_REPO/jexcelapi/jars/jxl-2.4.2.jar" kind="var"></classpathentry> - <classpathentry kind="output" path="target/classes"></classpathentry> -</classpath> \ No newline at end of file + <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/> + <classpathentry path="src/main/java" kind="src"/> + <classpathentry sourcepath="/PZ_SRC_HOME" path="MAVEN_REPO/com.pz.reader/jars/pzfilereader-2.2.0.jar" kind="var"/> + <classpathentry path="MAVEN_REPO/jdom/jars/jdom-1.0.jar" kind="var"/> + <classpathentry path="MAVEN_REPO/jexcelapi/jars/jxl-2.4.2.jar" kind="var"/> + <classpathentry path="target/classes" kind="output"/> +</classpath> Modified: trunk/PZFileReaderSamples/maven.xml =================================================================== --- trunk/PZFileReaderSamples/maven.xml 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReaderSamples/maven.xml 2006-10-17 15:05:44 UTC (rev 67) @@ -13,6 +13,28 @@ xmlns:define="jelly:define" xmlns:doc="doc" xmlns:util="jelly:util" xmlns:log="jelly:log"> - <goal name="pz:build" prereqs="jar:install" /> + <goal name="pz:copyscript"> + <ant:copy todir="${maven.build.dir}"> + <ant:fileset dir="${maven.src.dir}/main/script" includes="*.bat"> + </ant:fileset> + <ant:filterset> + <ant:filter token="JARFILEEXAMPLES" value="${maven.jar.final.name}"/> + <ant:filter token="JARFILE" value="${pom.currentVersion}"/> + </ant:filterset> + </ant:copy> + <ant:copy todir="${maven.build.dir}"> + <ant:fileset dir="${basedir}/../pzfilereader/target" includes="*.jar"/> + </ant:copy> + <ant:copy todir="${maven.build.dir}"> + <ant:fileset dir="${basedir}/../common-build/lib" includes="*.jar"/> + </ant:copy> + <ant:copy todir="${maven.build.dir}"> + <ant:fileset dir="${maven.src.dir}/main/script" includes="*.xml"/> + <ant:fileset dir="${maven.src.dir}/main/script" includes="*.txt"/> + <ant:fileset dir="${maven.src.dir}/main/script" includes="*.csv"/> + </ant:copy> + </goal> + + <goal name="pz:build" prereqs="jar:install,pz:copyscript" /> <goal name="pz:rebuild" prereqs="clean,pz:build" /> </project> Modified: trunk/PZFileReaderSamples/project.xml =================================================================== --- trunk/PZFileReaderSamples/project.xml 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReaderSamples/project.xml 2006-10-17 15:05:44 UTC (rev 67) @@ -70,6 +70,14 @@ </includes> <filtering>false</filtering> </resource> +<!-- <resource> + <directory>${basedir}/../pzfilereader/target</directory> + <includes> + <include>**/*.jar</include> + </includes> + <filtering>false</filtering> + </resource> + --> <resource> <directory>${basedir}/../common-build/lib</directory> <includes> Modified: trunk/PZFileReaderSamples/qalab.xml =================================================================== --- trunk/PZFileReaderSamples/qalab.xml 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReaderSamples/qalab.xml 2006-10-17 15:05:44 UTC (rev 67) @@ -21,99 +21,130 @@ <summaryresult date="2006-10-16" filecount="2" statvalue="2" type="pmd"/> <summaryresult date="2006-10-16" filecount="4" statvalue="5" type="findbugs"/> <summaryresult date="2006-10-16" filecount="4" statvalue="74" type="simian"/> + <summaryresult date="2006-10-17" filecount="34" statvalue="142" type="checkstyle"/> + <summaryresult date="2006-10-17" filecount="2" statvalue="2" type="pmd"/> + <summaryresult date="2006-10-17" filecount="5" statvalue="7" type="findbugs"/> + <summaryresult date="2006-10-17" filecount="6" statvalue="82" type="simian"/> </summary> <file id="com_pz_reader_examples_numericsanddates_package.html" path="com/pz/reader/examples/numericsanddates/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_exporttoexcel_package.html" path="com/pz/reader/examples/exporttoexcel/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_csvperformancetest_package.html" path="com/pz/reader/examples/csvperformancetest/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_fixedlengthdynamiccolumns_package.html" path="com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_lowlevelparse_package.html" path="com/pz/reader/examples/lowlevelparse/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_largecsvperformancetest_package.html" path="com/pz/reader/examples/largedataset/largecsvperformancetest/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_multilinedelimitedrecord_package.html" path="com/pz/reader/examples/multilinedelimitedrecord/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimitedcolumnnamesinfile_package.html" path="com/pz/reader/examples/delimitedcolumnnamesinfile/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_csvheaderandtrailer_package.html" path="com/pz/reader/examples/csvheaderandtrailer/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_delimiteddynamiccolumns_package.html" path="com/pz/reader/examples/largedataset/delimiteddynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthdynamiccolumns_package.html" path="com/pz/reader/examples/fixedlengthdynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_createsamplecsv_package.html" path="com/pz/reader/examples/createsamplecsv/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumnswitherrors_package.html" path="com/pz/reader/examples/delimiteddynamiccolumnswitherrors/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumns_package.html" path="com/pz/reader/examples/delimiteddynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthheaderandtrailer_package.html" path="com/pz/reader/examples/fixedlengthheaderandtrailer/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_createsamplecsv_CSVTestFileCreator.java" path="com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java"> <result date="2006-10-16" statvalue="7" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="pmd"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> + <result date="2006-10-17" statvalue="7" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" path="com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java"> <result date="2006-10-16" statvalue="17" type="checkstyle"/> + <result date="2006-10-17" statvalue="17" type="checkstyle"/> </file> <file id="com_pz_reader_examples_csvperformancetest_CSVPerformanceTest.java" path="com/pz/reader/examples/csvperformancetest/CSVPerformanceTest.java"> <result date="2006-10-16" statvalue="14" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> + <result date="2006-10-17" statvalue="15" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" path="com/pz/reader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java"> <result date="2006-10-16" statvalue="5" type="checkstyle"/> + <result date="2006-10-17" statvalue="5" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" path="com/pz/reader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java"> <result date="2006-10-16" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" path="com/pz/reader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java"> <result date="2006-10-16" statvalue="5" type="checkstyle"/> + <result date="2006-10-17" statvalue="5" type="checkstyle"/> </file> <file id="com_pz_reader_examples_exporttoexcel_DelimitedFileExportToExcel.java" path="com/pz/reader/examples/exporttoexcel/DelimitedFileExportToExcel.java"> <result date="2006-10-16" statvalue="2" type="checkstyle"/> + <result date="2006-10-17" statvalue="2" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" path="com/pz/reader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java"> <result date="2006-10-16" statvalue="3" type="checkstyle"/> + <result date="2006-10-17" statvalue="3" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" path="com/pz/reader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java"> <result date="2006-10-16" statvalue="17" type="checkstyle"/> + <result date="2006-10-17" statvalue="17" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_delimiteddynamiccolumns_DelimitedWithPZMap.java" path="com/pz/reader/examples/largedataset/delimiteddynamiccolumns/DelimitedWithPZMap.java"> @@ -127,18 +158,42 @@ id="com_pz_reader_examples_largedataset_largecsvperformancetest_CSVLarge.java" path="com/pz/reader/examples/largedataset/largecsvperformancetest/CSVLarge.java"> <result date="2006-10-16" statvalue="9" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> + <result date="2006-10-17" statvalue="9" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_examples_lowlevelparse_LowLevelParse.java" path="com/pz/reader/examples/lowlevelparse/LowLevelParse.java"> <result date="2006-10-16" statvalue="4" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="pmd"/> <result date="2006-10-16" statvalue="2" type="findbugs"/> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> + <result date="2006-10-17" statvalue="2" type="findbugs"/> </file> <file id="com_pz_reader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" path="com/pz/reader/examples/multilinedelimitedrecord/DelimitedMultiLine.java"> <result date="2006-10-16" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> </file> <file id="com_pz_reader_examples_numericsanddates_NumericsAndDates.java" path="com/pz/reader/examples/numericsanddates/NumericsAndDates.java"> <result date="2006-10-16" statvalue="6" type="checkstyle"/> + <result date="2006-10-17" statvalue="6" type="checkstyle"/> </file> + <file id="com_pz_reader_examples_package.html" path="com/pz/reader/examples/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="com_pz_reader_examples_Examples.java" path="com/pz/reader/examples/Examples.java"> + <result date="2006-10-17" statvalue="21" type="checkstyle"/> + </file> + <file + id="com_pz_reader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" path="com/pz/reader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + </file> + <file + id="com_pz_reader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" path="com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java"> + <result date="2006-10-17" statvalue="3" type="checkstyle"/> + </file> + <file id="com_pz_reader_examples_ConsoleMenu.java" path="com/pz/reader/examples/ConsoleMenu.java"> + <result date="2006-10-17" statvalue="2" type="findbugs"/> + </file> </qalab> Added: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/ConsoleMenu.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/ConsoleMenu.java (rev 0) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/ConsoleMenu.java 2006-10-17 15:05:44 UTC (rev 67) @@ -0,0 +1,409 @@ +/** + * + */ +package com.pz.reader.examples; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.PrintStream; +import java.lang.reflect.Method; +import java.math.BigDecimal; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +/** + * @author Benoit Xhenseval + * + */ +public class ConsoleMenu { + private static final int EXIT_CODE = 0; + + private static final int SCREEN_COLUMNS = 110; + + private static final int COL = 10; + + private static final PrintStream OUT = System.out; + + private final List menu = new ArrayList(); + + private final Repeater target; + + private int screenColumns = SCREEN_COLUMNS; + + private final List methods = new ArrayList(); + + private final List askForRepeat = new ArrayList(); + + /** + * @param containingObject + * the object that will be called back once an option is chosen + * in the menu + */ + public ConsoleMenu(final Repeater containingObject) { + target = containingObject; + } + + // ~ Methods + // -------------------------------------------------------------------------------------------------------- + + /** + * add an entry in the menu, sequentially + * + * @param menuDisplay + * how the entry will be displayed in the menu + * @param methodName + * name of the public method + * @parem askForRepeat call back for repeat + */ + public void addMenuItem(final String menuDisplay, final String methodName, final boolean repeat) { + menu.add(menuDisplay); + methods.add(methodName); + askForRepeat.add(Boolean.valueOf(repeat)); + } + + public void setScreenColumns(final int width) { + screenColumns = width; + } + + /** + * display the menu, the application goes into a loop which provides the + * menu and fires the entries selected. It automatically adds an entry to + * exit. + */ + public void displayMenu() { + while (true) { + ConsoleMenu.println(""); + ConsoleMenu.println("Menu Options"); + + final int size = menu.size(); + + displayMenu(size); + + int opt = -1; + + do { + opt = ConsoleMenu.getInt("Enter your choice:", -1); + } while (((opt <= 0) || (opt > methods.size())) && (opt != EXIT_CODE)); + + if (opt == EXIT_CODE) { + ConsoleMenu.println("Exiting menu"); + try { + final Method meth = target.getClass().getMethod("tearDown", new Class[0]); + if (meth != null) { + meth.invoke(target, new Object[0]); + } + } catch (final Exception e) { + e.printStackTrace(); + } + + return; + } + + // now call the method + final String method = (String) methods.get(opt - 1); + final Boolean repeat = (Boolean) askForRepeat.get(opt - 1); + + try { + final Method meth = target.getClass().getMethod(method, new Class[0]); + if (repeat.booleanValue()) { + target.repeat(meth); + } else { + meth.invoke(target, new Object[0]); + } + } catch (final Exception e) { + e.printStackTrace(); + } + } + } + + private void displayMenu(final int size) { + for (int i = 0; i < (size / 2); i++) { + final StringBuffer line = new StringBuffer(); + final String col1 = (String) menu.get(i); + + if ((i + 1) < COL) { + line.append(" "); + } + + final int pos = i + 1; + line.append(" ").append(pos).append(") ").append(col1); + + while (line.length() < (screenColumns / 2)) { + line.append(" "); + } + + if ((i + (size / 2)) < size) { + final String col2 = (String) menu.get(i + (size / 2)); + final int position = i + 1 + (size / 2); + line.append(" ").append(position).append(") ").append(col2); + } + + ConsoleMenu.println(line.toString()); + } + + if (size % 2 != 0) { + final StringBuffer line = new StringBuffer(); + final String col1 = (String) menu.get(size - 1); + + if (size < COL) { + line.append(" "); + } + + line.append(" ").append(size).append(") ").append(col1); + + while (line.length() < (screenColumns / 2)) { + line.append(" "); + } + + line.append(" ").append(EXIT_CODE).append(") ").append("Exit"); + ConsoleMenu.println(line.toString()); + } else { + ConsoleMenu.println(" " + EXIT_CODE + ") Exit"); + } + } + + /** + * Gets an int from the System.in + * + * @param title + * for the command line + * @return int as entered by the user of the console app + */ + public static int getInt(final String title, final int defaultValue) { + int opt = -1; + + do { + try { + final String val = ConsoleMenu.getString(title + " (default:" + defaultValue + ")", null); + if (val.length() == 0) { + opt = defaultValue; + } else { + opt = Integer.parseInt(val); + } + } catch (final NumberFormatException e) { + opt = -1; + } + } while (opt == -1); + + return opt; + } + + /** + * Gets a boolean from the System.in + * + * @param title + * for the command line + * @return boolean as selected by the user of the console app + */ + public static boolean getBoolean(final String title, final boolean defaultValue) { + final String val = ConsoleMenu.selectOne(title, new String[] { "Yes", "No" }, new String[] { Boolean.TRUE.toString(), + Boolean.FALSE.toString() }, defaultValue ? 1 : 2); + + return Boolean.valueOf(val).booleanValue(); + } + + /** + * Gets an BigDecimal from the System.in + * + * @param title + * for the command line + * @return int as entered by the user of the console app + */ + public static BigDecimal getBigDecimal(final String title, final BigDecimal defaultValue) { + BigDecimal opt = null; + + do { + try { + final String val = ConsoleMenu.getString(title + " (default:" + defaultValue + ")", null); + if (val.length() == 0) { + opt = defaultValue; + } else { + opt = new BigDecimal(val); + } + } catch (final NumberFormatException e) { + opt = null; + } + } while (opt == null && defaultValue != null); + + return opt; + } + + public static Date getDate(final String title, final Date defaultValue) { + final SimpleDateFormat fmt = new SimpleDateFormat("dd-MM-yy"); + final String date = ConsoleMenu.getString(title + "(dd-MM-yy" + + (defaultValue != null ? ", default:" + fmt.format(defaultValue) : "") + ")", null); + try { + if (date == null || date.length() == 0) { + return defaultValue; + } + return fmt.parse(date); + } catch (final ParseException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + return null; + } + + /** + * Gets a String from the System.in + * + * @param msg + * for the command line + * @return String as entered by the user of the console app + */ + public static String getString(final String msg, final String defaultValue) { + ConsoleMenu.print(msg + (defaultValue != null ? " (default:" + defaultValue + ") " : "")); + + BufferedReader bufReader = null; + String opt = null; + + try { + bufReader = new BufferedReader(new InputStreamReader(System.in)); + opt = bufReader.readLine(); + } catch (final IOException ex) { + ex.printStackTrace(); + System.exit(1); + } + + if ((opt == null || opt.length() == 0) && defaultValue != null && defaultValue.length() > 0) { + opt = defaultValue; + } + + return opt; + } + + /** + * Generates a menu with a list of options and return the value selected. + * + * @param title + * for the command line + * @param optionNames + * name for each option + * @param optionValues + * value for each option + * @return String as selected by the user of the console app + */ + public static String selectOne(final String title, final String[] optionNames, final String[] optionValues, + final int defaultOption) { + if (optionNames.length != optionValues.length) { + throw new IllegalArgumentException("option names and values must have same length"); + } + + ConsoleMenu.println("Please chose " + title + " (default:" + defaultOption + ")"); + + for (int i = 0; i < optionNames.length; i++) { + ConsoleMenu.println(i + 1 + ") " + optionNames[i]); + } + + int choice = 0; + + do { + choice = ConsoleMenu.getInt("Your Choice 1-" + optionNames.length + ": ", defaultOption); + } while ((choice <= 0) || (choice > optionNames.length)); + + return optionValues[choice - 1]; + } + + /** + * @param prompt + * The prompt to display to the user. + * @return The password as entered by the user. + */ + public static String getPassword(final String prompt) { + try { + // password holder + final StringBuffer password = new StringBuffer(); + final PasswordHidingThread maskingthread = new PasswordHidingThread(prompt); + final Thread thread = new Thread(maskingthread); + thread.start(); + + // block until enter is pressed + while (true) { + char c = (char) System.in.read(); + + // assume enter pressed, stop masking + maskingthread.stopMasking(); + + if (c == '\r') { + c = (char) System.in.read(); + + if (c == '\n') { + break; + } else { + continue; + } + } else if (c == '\n') { + break; + } else { + // store the password + password.append(c); + } + } + + return password.toString(); + } catch (final IOException e) { + e.printStackTrace(); + } + + return null; + } + + // ~ Inner Classes + // -------------------------------------------------------------------------------------------------- + + /** + * This class attempts to erase characters echoed to the console. + */ + static class PasswordHidingThread extends Thread { + private boolean stop = false; + + private final String prompt; + + /** + * @param prompt + * The prompt displayed to the user + */ + public PasswordHidingThread(final String prompt) { + this.prompt = prompt; + } + + /** + * Begin masking until asked to stop. + */ + public void run() { + while (!stop) { + try { + // attempt masking at this rate + Thread.sleep(1); + } catch (final InterruptedException iex) { + iex.printStackTrace(); + } + + if (!stop) { + ConsoleMenu.print("\r" + prompt + " \r" + prompt); + } + + System.out.flush(); + } + } + + /** + * Instruct the thread to stop masking. + */ + public void stopMasking() { + this.stop = true; + } + } + + private static void println(final String txt) { + OUT.println(txt); + } + + private static void print(final String txt) { + OUT.print(txt); + } +} Added: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Examples.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Examples.java (rev 0) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Examples.java 2006-10-17 15:05:44 UTC (rev 67) @@ -0,0 +1,215 @@ +/** + * + */ +package com.pz.reader.examples; + +import java.lang.reflect.Method; + +import com.pz.reader.examples.createsamplecsv.CSVTestFileCreator; +import com.pz.reader.examples.csvheaderandtrailer.CSVHeaderAndTrailer; +import com.pz.reader.examples.csvperformancetest.CSVPerformanceTest; +import com.pz.reader.examples.delimiteddynamiccolumns.DelimitedWithPZMap; +import com.pz.reader.examples.delimiteddynamiccolumnswitherrors.DelimitedWithPZMapErrors; +import com.pz.reader.examples.exporttoexcel.DelimitedFileExportToExcel; +import com.pz.reader.examples.fixedlengthdynamiccolumns.FixedLengthWithPZMap; +import com.pz.reader.examples.fixedlengthheaderandtrailer.FixedLengthHeaderAndTrailer; +import com.pz.reader.examples.largedataset.delimiteddynamiccolumns.LargeDelimitedWithPZMap; +import com.pz.reader.examples.largedataset.fixedlengthdynamiccolumns.LargeFixedLengthWithPZMap; +import com.pz.reader.examples.largedataset.largecsvperformancetest.CSVLarge; +import com.pz.reader.examples.lowlevelparse.LowLevelParse; +import com.pz.reader.examples.multilinedelimitedrecord.DelimitedMultiLine; +import com.pz.reader.examples.numericsanddates.NumericsAndDates; + +/** + * @author Benoit Xhenseval + */ +public class Examples implements Repeater { + + public void tearDown() { + } + + /** + * @param args + */ + public static void main(String[] args) { + Examples examples = new Examples(); + examples.run(); + } + + public void repeat(Method target) { + } + + public void doCall() { + System.out.println(""); + System.out.println(" ___ _ _ _ _ _"); + System.out.println(" / _ \\| |__ (_) ___ ___| |_| | __ _| |__"); + System.out.println(" | | | | '_ \\| |/ _ \\/ __| __| | / _` | '_ \\"); + System.out.println(" | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |"); + System.out.println(" \\___/|_.__// |\\___|\\___|\\__|_____\\__,_|_.__/"); + System.out.println(" |__/"); + System.out.println(""); + System.out.println(" w w w . O b j e c t L a b . c o . u k"); + } + + private void run() { + final ConsoleMenu menu = new ConsoleMenu(this); + menu.addMenuItem("CSVTestFileCreator", "doCSVTestFileCreator", false); + menu.addMenuItem("CSVHeaderAndTrailer", "doCSVHeaderAndTrailer", false); + menu.addMenuItem("CSVPerformanceTest", "doCSVPerformanceTest", false); + menu.addMenuItem("DelimitedWithPZMap", "doDelimitedWithPZMap", false); + menu.addMenuItem("DelimitedWithPZMapErrors", "doDelimitedWithPZMapErrors", false); + menu.addMenuItem("DelimitedFileExportToExcel", "doDelimitedFileExportToExcel", false); + menu.addMenuItem("FixedLengthWithPZMap", "doFixedLengthWithPZMap", false); + menu.addMenuItem("FixedLengthHeaderAndTrailer", "doFixedLengthHeaderAndTrailer", false); + menu.addMenuItem("LargeDelimitedWithPZMap", "doLargeDelimitedWithPZMap", false); + menu.addMenuItem("LargeFixedLengthWithPZMap", "doLargeFixedLengthWithPZMap", false); + menu.addMenuItem("CSVLarge", "doCSVLarge", false); + menu.addMenuItem("LowLevelParse", "doLowLevelParse", false); + menu.addMenuItem("DelimitedMultiLine", "doDelimitedMultiLine", false); + menu.addMenuItem("NumericsAndDates", "doNumericsAndDates", false); + + menu.addMenuItem("Who you gonna call?", "doCall", false); + menu.displayMenu(); + } + + public void doCSVTestFileCreator() { + final int cols = ConsoleMenu.getInt("Number of cols", 10); + final int rows = ConsoleMenu.getInt("Number of rows", 100); + CSVTestFileCreator.createFile(cols, rows); + } + + public void doCSVHeaderAndTrailer() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", CSVHeaderAndTrailer.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", CSVHeaderAndTrailer.getDefaultDataFile()); + CSVHeaderAndTrailer.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doCSVPerformanceTest() { + try { + final String mapping = ConsoleMenu.getString("CSV File ", "SampleCSV.csv"); + final boolean data = ConsoleMenu.getBoolean("Verbose", false); + CSVPerformanceTest.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doDelimitedWithPZMap() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", DelimitedWithPZMap.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", DelimitedWithPZMap.getDefaultDataFile()); + DelimitedWithPZMap.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doDelimitedWithPZMapErrors() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", DelimitedWithPZMapErrors.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", DelimitedWithPZMapErrors.getDefaultDataFile()); + DelimitedWithPZMapErrors.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doDelimitedFileExportToExcel() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", DelimitedFileExportToExcel.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", DelimitedFileExportToExcel.getDefaultDataFile()); + DelimitedFileExportToExcel.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doFixedLengthWithPZMap() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", FixedLengthWithPZMap.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", FixedLengthWithPZMap.getDefaultDataFile()); + FixedLengthWithPZMap.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doFixedLengthHeaderAndTrailer() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", FixedLengthHeaderAndTrailer.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", FixedLengthHeaderAndTrailer.getDefaultDataFile()); + FixedLengthHeaderAndTrailer.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doLargeDelimitedWithPZMap() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", LargeDelimitedWithPZMap.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", LargeDelimitedWithPZMap.getDefaultDataFile()); + LargeDelimitedWithPZMap.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + + public void doLargeFixedLengthWithPZMap() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", LargeFixedLengthWithPZMap.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", LargeFixedLengthWithPZMap.getDefaultDataFile()); + LargeFixedLengthWithPZMap.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doCSVLarge() { + try { + final int cols = ConsoleMenu.getInt("Number of cols", 10); + final int rows = ConsoleMenu.getInt("Number of rows", 2000000); + String filename = "LargeSampleCSV.csv"; + CSVTestFileCreator.createFile(cols, rows, filename); + + System.out.println("Large file created"); + + CSVLarge.call(filename); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doLowLevelParse() { + try { + final String data = ConsoleMenu.getString( "Data ", LowLevelParse.getDefaultDataFile()); + LowLevelParse.call(data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doDelimitedMultiLine() { + try { + final String data = ConsoleMenu.getString( "Data ", DelimitedMultiLine.getDefaultDataFile()); + DelimitedMultiLine.call(data); + } catch (Exception e) { + e.printStackTrace(); + } + } + + public void doNumericsAndDates() { + try { + final String mapping = ConsoleMenu.getString("Mapping ", NumericsAndDates.getDefaultMapping()); + final String data = ConsoleMenu.getString( "Data ", NumericsAndDates.getDefaultDataFile()); + NumericsAndDates.call(mapping,data); + } catch (Exception e) { + e.printStackTrace(); + } + } + +} Added: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Repeater.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Repeater.java (rev 0) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/Repeater.java 2006-10-17 15:05:44 UTC (rev 67) @@ -0,0 +1,15 @@ +/** + * + */ +package com.pz.reader.examples; + +import java.lang.reflect.Method; + +/** + * + * @author Benoit Xhenseval + * + */ +public interface Repeater { + void repeat(Method target); +} \ No newline at end of file Modified: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java 2006-10-17 15:05:44 UTC (rev 67) @@ -18,8 +18,6 @@ public static void main(final String[] args) { int cols = 0; int rows = 0; - FileWriter fw = null; - PrintWriter out = null; if (args.length != 2) { printUsage(); @@ -34,9 +32,19 @@ return; } + createFile(cols, rows); + } + + public static void createFile(int cols, int rows) { + createFile(cols,rows,"SampleCSV.csv"); + } + + public static void createFile(int cols, int rows, final String filename) { + FileWriter fw = null; + PrintWriter out = null; try { - fw = new FileWriter("SampleCSV.csv"); + fw = new FileWriter(filename); out = new PrintWriter(fw); // write the column names across the top of the file @@ -60,6 +68,9 @@ out.write("\r\n"); out.flush(); + if (i % 100000 == 0) { + System.out.print("."); + } } } catch (final Exception ex) { @@ -76,7 +87,6 @@ } } - } private static void printUsage() { Modified: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java 2006-10-17 15:05:44 UTC (rev 67) @@ -17,12 +17,24 @@ */ public class CSVHeaderAndTrailer { public static void main(final String[] args) throws Exception { - DataSet ds = null; + call(getDefaultMapping(), getDefaultDataFile()); + } + + public static String getDefaultMapping() { + return "PEOPLE-DelimitedWithHeaderTrailer.pzmap.xml"; + } + + public static String getDefaultDataFile() { + return "PEOPLE-CommaDelimitedWithQualifier.txt"; + } + + public static void call(final String mapping, final String data) throws Exception { + File mapFile = new File(mapping); + File dataFile = new File(data); // delimited by a comma // text qualified by double quotes // ignore first record - ds = new DataSet(new File("PEOPLE-Delimited.pzmap.xml"), new File("PEOPLE-CommaDelimitedWithQualifier.txt"), ",", "\"", - true, false); + DataSet ds = new DataSet(mapFile, dataFile, ",", "\"", true, false); while (ds.next()) { @@ -57,6 +69,5 @@ // clear out the DataSet object for the JVM to collect ds.freeMemory(); - } } Deleted: trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/PEOPLE-CommaDelimitedWithQualifier.txt =================================================================== --- trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/PEOPLE-CommaDelimitedWithQualifier.txt 2006-10-17 14:22:39 UTC (rev 66) +++ trunk/PZFileReaderSamples/src/main/java/com/pz/reader/examples/csvheaderandtrailer/PEOPLE-CommaDelimitedWithQualifier.txt 2006-10-17 15:05:44 UTC (rev 67) @@ -1,9 +0,0 @@ -"FIRSTNAME","LASTNAME","ADDRESS","CITY","STATE","ZIP" -"H","Some Header Data Here" -"JOHN","ANAME","1234 CIRCLE CT","ELYRIA","OH","44035" -"JIMMY","ZNAME","180 SOME ST","AVON","OH","44011" -"JANE","ANAME","111 MILKY WY","AVON","OH","44001" -"FRED","ZNAME","123 ROCKY WY","ELYRIA","OH","12345" -"FRED","ZNAME","123 ROCKY WY","ELYRIA","OH","12345" -"FRED","ZNAME","Text Qualifier " and seperator, in string","ELYRIA","OH","" -"T","Some Trailer Data Here" Deleted: tru... [truncated message content] |
From: <be...@us...> - 2006-10-17 17:21:08
|
Revision: 83 http://svn.sourceforge.net/pzfilereader/?rev=83&view=rev Author: benoitx Date: 2006-10-17 10:19:40 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Moved to net.sf.pzfilereader Modified Paths: -------------- trunk/PZFileReader/build.xml trunk/PZFileReader/project.xml trunk/PZFileReaderSamples/project.xml trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Examples.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Repeater.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/createsamplecsv/CSVTestFileCreator.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvperformancetest/CSVPerformanceTest.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/exporttoexcel/DelimitedFileExportToExcel.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/jsptableexample/pzfilereaderwebsamples/index.jsp trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/CSVLarge.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/lowlevelparse/LowLevelParse.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/multilinedelimitedrecord/DelimitedMultiLine.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/numericsanddates/NumericsAndDates.java trunk/common-build/project.properties trunk/common-build/project.xml trunk/project.properties Modified: trunk/PZFileReader/build.xml =================================================================== --- trunk/PZFileReader/build.xml 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReader/build.xml 2006-10-17 17:19:40 UTC (rev 83) @@ -63,7 +63,7 @@ <target name="docs" depends="clean"> <!-- create javadocs --> - <javadoc packagenames="com.pz.reader.*" + <javadoc packagenames="net.sf.pzfilereader.*" sourcepath="${dist}/source" defaultexcludes="yes" destdir="JavaDocs" Modified: trunk/PZFileReader/project.xml =================================================================== --- trunk/PZFileReader/project.xml 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReader/project.xml 2006-10-17 17:19:40 UTC (rev 83) @@ -26,7 +26,7 @@ <extend>../common-build/project.xml</extend> <name>PZFileReader</name> <artifactId>pzfilereader</artifactId> - <package>com.pz.reader</package> + <package>net.sf.pzfilereader</package> <shortDescription>Flat File Parser via XML Mappings (fixed length,csv).</shortDescription> <description> Simple Java delimited and fixed width file parser. Handles CSV, Excel CSV, Tab, Pipe delimiters, just to name a few. Modified: trunk/PZFileReaderSamples/project.xml =================================================================== --- trunk/PZFileReaderSamples/project.xml 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/project.xml 2006-10-17 17:19:40 UTC (rev 83) @@ -26,7 +26,7 @@ <extend>../common-build/project.xml</extend> <name>PZFileReader Examples</name> <artifactId>pzfilereader-examples</artifactId> - <package>com.pz.reader</package> + <package>net.sf.pzfilereader</package> <shortDescription>Examples for Flat File Parser via XML Mappings (fixed length,csv)</shortDescription> <description> Simple Java delimited and fixed width file parser. Handles CSV, Excel CSV, Tab, Pipe delimiters, just to name a few. @@ -42,7 +42,7 @@ </repository> <dependencies> <dependency> - <groupId>com.pz.reader</groupId> + <groupId>net.sf.pzfilereader</groupId> <artifactId>pzfilereader</artifactId> <version>${pom.currentVersion}</version> <type>jar</type> Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,7 +1,7 @@ /** * */ -package com.pz.reader.examples; +package net.sf.pzfilereader.examples; import java.io.BufferedReader; import java.io.IOException; Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Examples.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Examples.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Examples.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,24 +1,24 @@ /** * */ -package com.pz.reader.examples; +package net.sf.pzfilereader.examples; import java.lang.reflect.Method; -import com.pz.reader.examples.createsamplecsv.CSVTestFileCreator; -import com.pz.reader.examples.csvheaderandtrailer.CSVHeaderAndTrailer; -import com.pz.reader.examples.csvperformancetest.CSVPerformanceTest; -import com.pz.reader.examples.delimiteddynamiccolumns.DelimitedWithPZMap; -import com.pz.reader.examples.delimiteddynamiccolumnswitherrors.DelimitedWithPZMapErrors; -import com.pz.reader.examples.exporttoexcel.DelimitedFileExportToExcel; -import com.pz.reader.examples.fixedlengthdynamiccolumns.FixedLengthWithPZMap; -import com.pz.reader.examples.fixedlengthheaderandtrailer.FixedLengthHeaderAndTrailer; -import com.pz.reader.examples.largedataset.delimiteddynamiccolumns.LargeDelimitedWithPZMap; -import com.pz.reader.examples.largedataset.fixedlengthdynamiccolumns.LargeFixedLengthWithPZMap; -import com.pz.reader.examples.largedataset.largecsvperformancetest.CSVLarge; -import com.pz.reader.examples.lowlevelparse.LowLevelParse; -import com.pz.reader.examples.multilinedelimitedrecord.DelimitedMultiLine; -import com.pz.reader.examples.numericsanddates.NumericsAndDates; +import net.sf.pzfilereader.examples.createsamplecsv.CSVTestFileCreator; +import net.sf.pzfilereader.examples.csvheaderandtrailer.CSVHeaderAndTrailer; +import net.sf.pzfilereader.examples.csvperformancetest.CSVPerformanceTest; +import net.sf.pzfilereader.examples.delimiteddynamiccolumns.DelimitedWithPZMap; +import net.sf.pzfilereader.examples.delimiteddynamiccolumnswitherrors.DelimitedWithPZMapErrors; +import net.sf.pzfilereader.examples.exporttoexcel.DelimitedFileExportToExcel; +import net.sf.pzfilereader.examples.fixedlengthdynamiccolumns.FixedLengthWithPZMap; +import net.sf.pzfilereader.examples.fixedlengthheaderandtrailer.FixedLengthHeaderAndTrailer; +import net.sf.pzfilereader.examples.largedataset.delimiteddynamiccolumns.LargeDelimitedWithPZMap; +import net.sf.pzfilereader.examples.largedataset.fixedlengthdynamiccolumns.LargeFixedLengthWithPZMap; +import net.sf.pzfilereader.examples.largedataset.largecsvperformancetest.CSVLarge; +import net.sf.pzfilereader.examples.lowlevelparse.LowLevelParse; +import net.sf.pzfilereader.examples.multilinedelimitedrecord.DelimitedMultiLine; +import net.sf.pzfilereader.examples.numericsanddates.NumericsAndDates; /** * @author Benoit Xhenseval Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Repeater.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Repeater.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/Repeater.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,7 +1,7 @@ /** * */ -package com.pz.reader.examples; +package net.sf.pzfilereader.examples; import java.lang.reflect.Method; Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/createsamplecsv/CSVTestFileCreator.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/createsamplecsv/CSVTestFileCreator.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/createsamplecsv/CSVTestFileCreator.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.createsamplecsv; +package net.sf.pzfilereader.examples.createsamplecsv; import java.io.FileWriter; import java.io.PrintWriter; Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.csvheaderandtrailer; +package net.sf.pzfilereader.examples.csvheaderandtrailer; /* * Created on Dec 31, 2004 @@ -7,7 +7,7 @@ import java.io.File; -import com.pz.reader.DataSet; +import net.sf.pzfilereader.DataSet; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvperformancetest/CSVPerformanceTest.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvperformancetest/CSVPerformanceTest.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvperformancetest/CSVPerformanceTest.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.csvperformancetest; +package net.sf.pzfilereader.examples.csvperformancetest; import java.io.BufferedReader; import java.io.File; @@ -6,8 +6,8 @@ import java.util.HashMap; import java.util.Map; -import com.pz.reader.DataError; -import com.pz.reader.DataSet; +import net.sf.pzfilereader.DataError; +import net.sf.pzfilereader.DataSet; /* * Created on Dec 1, 2005 Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.delimitedcolumnnamesinfile; +package net.sf.pzfilereader.examples.delimitedcolumnnamesinfile; /* * Created on Nov 27, 2005 @@ -7,10 +7,10 @@ import java.io.File; -import com.pz.reader.DataError; -import com.pz.reader.DataSet; -import com.pz.reader.ordering.OrderBy; -import com.pz.reader.ordering.OrderColumn; +import net.sf.pzfilereader.DataError; +import net.sf.pzfilereader.DataSet; +import net.sf.pzfilereader.ordering.OrderBy; +import net.sf.pzfilereader.ordering.OrderColumn; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.delimiteddynamiccolumns; +package net.sf.pzfilereader.examples.delimiteddynamiccolumns; /* * Created on Dec 31, 2004 @@ -7,9 +7,9 @@ import java.io.File; -import com.pz.reader.DataSet; -import com.pz.reader.ordering.OrderBy; -import com.pz.reader.ordering.OrderColumn; +import net.sf.pzfilereader.DataSet; +import net.sf.pzfilereader.ordering.OrderBy; +import net.sf.pzfilereader.ordering.OrderColumn; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.delimiteddynamiccolumnswitherrors; +package net.sf.pzfilereader.examples.delimiteddynamiccolumnswitherrors; /* * Created on Dec 31, 2004 @@ -8,10 +8,10 @@ import java.io.File; import java.util.Iterator; -import com.pz.reader.DataError; -import com.pz.reader.DataSet; -import com.pz.reader.ordering.OrderBy; -import com.pz.reader.ordering.OrderColumn; +import net.sf.pzfilereader.DataError; +import net.sf.pzfilereader.DataSet; +import net.sf.pzfilereader.ordering.OrderBy; +import net.sf.pzfilereader.ordering.OrderColumn; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/exporttoexcel/DelimitedFileExportToExcel.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/exporttoexcel/DelimitedFileExportToExcel.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/exporttoexcel/DelimitedFileExportToExcel.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.exporttoexcel; +package net.sf.pzfilereader.examples.exporttoexcel; /* * Created on Dec 31, 2004 @@ -7,9 +7,9 @@ import java.io.File; -import com.pz.reader.DataSet; -import com.pz.reader.ordering.OrderBy; -import com.pz.reader.ordering.OrderColumn; +import net.sf.pzfilereader.DataSet; +import net.sf.pzfilereader.ordering.OrderBy; +import net.sf.pzfilereader.ordering.OrderColumn; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.fixedlengthdynamiccolumns; +package net.sf.pzfilereader.examples.fixedlengthdynamiccolumns; /* * Created on Dec 31, 2004 @@ -7,7 +7,7 @@ import java.io.File; -import com.pz.reader.DataSet; +import net.sf.pzfilereader.DataSet; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.fixedlengthheaderandtrailer; +package net.sf.pzfilereader.examples.fixedlengthheaderandtrailer; /* * Created on Dec 31, 2004 @@ -8,8 +8,8 @@ import java.io.File; import java.util.Iterator; -import com.pz.reader.DataError; -import com.pz.reader.DataSet; +import net.sf.pzfilereader.DataError; +import net.sf.pzfilereader.DataSet; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/jsptableexample/pzfilereaderwebsamples/index.jsp =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/jsptableexample/pzfilereaderwebsamples/index.jsp 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/jsptableexample/pzfilereaderwebsamples/index.jsp 2006-10-17 17:19:40 UTC (rev 83) @@ -1,5 +1,5 @@ -<%@ page language="java" import="java.util.*,com.pz.reader.*,com.pz.reader.ordering.*,java.io.File" %> +<%@ page language="java" import="java.util.*,net.sf.pzfilereader.*,net.sf.pzfilereader.ordering.*,java.io.File" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.largedataset.delimiteddynamiccolumns; +package net.sf.pzfilereader.examples.largedataset.delimiteddynamiccolumns; /* * Created on Dec 31, 2004 @@ -8,7 +8,7 @@ import java.io.File; import java.io.FileInputStream; -import com.pz.reader.LargeDataSet; +import net.sf.pzfilereader.LargeDataSet; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.largedataset.fixedlengthdynamiccolumns; +package net.sf.pzfilereader.examples.largedataset.fixedlengthdynamiccolumns; /* * Created on Dec 31, 2004 @@ -8,7 +8,7 @@ import java.io.File; import java.io.FileInputStream; -import com.pz.reader.LargeDataSet; +import net.sf.pzfilereader.LargeDataSet; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/CSVLarge.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/CSVLarge.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/CSVLarge.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.largedataset.largecsvperformancetest; +package net.sf.pzfilereader.examples.largedataset.largecsvperformancetest; import java.io.BufferedReader; import java.io.File; @@ -6,8 +6,8 @@ import java.util.HashMap; import java.util.Map; -import com.pz.reader.DataError; -import com.pz.reader.LargeDataSet; +import net.sf.pzfilereader.DataError; +import net.sf.pzfilereader.LargeDataSet; /* * Created on Dec 1, 2005 Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/lowlevelparse/LowLevelParse.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/lowlevelparse/LowLevelParse.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/lowlevelparse/LowLevelParse.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,11 +1,11 @@ -package com.pz.reader.examples.lowlevelparse; +package net.sf.pzfilereader.examples.lowlevelparse; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.List; -import com.pz.reader.util.ParserUtils; +import net.sf.pzfilereader.util.ParserUtils; /* * Created on Nov 27, 2005 Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/multilinedelimitedrecord/DelimitedMultiLine.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/multilinedelimitedrecord/DelimitedMultiLine.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/multilinedelimitedrecord/DelimitedMultiLine.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.multilinedelimitedrecord; +package net.sf.pzfilereader.examples.multilinedelimitedrecord; /* * Created on Dec 31, 2004 @@ -7,7 +7,7 @@ import java.io.File; -import com.pz.reader.DataSet; +import net.sf.pzfilereader.DataSet; /** * @author zepernick Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/numericsanddates/NumericsAndDates.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/numericsanddates/NumericsAndDates.java 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/numericsanddates/NumericsAndDates.java 2006-10-17 17:19:40 UTC (rev 83) @@ -1,4 +1,4 @@ -package com.pz.reader.examples.numericsanddates; +package net.sf.pzfilereader.examples.numericsanddates; /* * Created on Dec 31, 2004 @@ -8,7 +8,7 @@ import java.io.File; import java.text.SimpleDateFormat; -import com.pz.reader.DataSet; +import net.sf.pzfilereader.DataSet; /** * @author zepernick Modified: trunk/common-build/project.properties =================================================================== --- trunk/common-build/project.properties 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/common-build/project.properties 2006-10-17 17:19:40 UTC (rev 83) @@ -63,7 +63,7 @@ ## ## Y D O C ## -maven.ydoc.packages=com.pz.* +maven.ydoc.packages=net.sf.pzfilereader.* #maven.build.dest = ${basedir}/classes # ------------------------------------------------------------------------ Modified: trunk/common-build/project.xml =================================================================== --- trunk/common-build/project.xml 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/common-build/project.xml 2006-10-17 17:19:40 UTC (rev 83) @@ -26,7 +26,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> <pomVersion>3</pomVersion> - <groupId>com.pz.reader</groupId> + <groupId>net.sf.pzfilereader</groupId> <currentVersion>2.3.0</currentVersion> <organization> <name>ObjectLab Financial Ltd</name> Modified: trunk/project.properties =================================================================== --- trunk/project.properties 2006-10-17 17:14:30 UTC (rev 82) +++ trunk/project.properties 2006-10-17 17:19:40 UTC (rev 83) @@ -111,6 +111,6 @@ #do.obfuscation=false # -maven.ydoc.packages=com.pz.reader.* +maven.ydoc.packages=net.sf.pzfilereader.* maven.repo.remote=http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-17 19:37:10
|
Revision: 85 http://svn.sourceforge.net/pzfilereader/?rev=85&view=rev Author: benoitx Date: 2006-10-17 12:36:41 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Few site changes, also preparing a press release. Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReader/src/site/navigation.xml trunk/PZFileReaderSamples/qalab.xml trunk/PZFileReaderSamples/src/site/index.xml trunk/PZFileReaderSamples/src/site/navigation.xml trunk/common-build/project.xml trunk/src/site/history.xml trunk/src/site/index.xml trunk/src/site/navigation.xml Added Paths: ----------- trunk/src/site/press/ trunk/src/site/press/index.xml trunk/src/site/press/press-release-2.3.0.txt Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/PZFileReader/qalab.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -62,7 +62,6 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_package.html" path="com/pz/reader/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -72,7 +71,6 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_util_package.html" path="com/pz/reader/util/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -82,7 +80,6 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_xml_package.html" path="com/pz/reader/xml/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -92,7 +89,6 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_structure_package.html" path="com/pz/reader/structure/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -102,7 +98,6 @@ <result date="2006-10-14" statvalue="1" type="checkstyle"/> <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -147,8 +142,6 @@ <result date="2006-10-15" statvalue="1" type="findbugs"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> <result date="2006-10-16" statvalue="44" type="cobertura-line"/> - <result date="2006-10-17" statvalue="1" type="findbugs"/> - <result date="2006-10-17" statvalue="44" type="cobertura-line"/> </file> <file id="com_pz_reader_DataError.java" path="com/pz/reader/DataError.java"> <result date="2006-10-05" statvalue="22" type="checkstyle"/> @@ -159,8 +152,6 @@ <result date="2006-10-15" statvalue="22" type="checkstyle"/> <result date="2006-10-16" statvalue="3" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> - <result date="2006-10-17" statvalue="3" type="checkstyle"/> - <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="com_pz_reader_DataSet.java" path="com/pz/reader/DataSet.java"> <result date="2006-10-05" statvalue="485" type="checkstyle"/> @@ -179,11 +170,6 @@ <result date="2006-10-16" statvalue="3" type="findbugs"/> <result date="2006-10-16" statvalue="20" type="cobertura-line"/> <result date="2006-10-16" statvalue="25" type="cobertura-branch"/> - <result date="2006-10-17" statvalue="4" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="pmd"/> - <result date="2006-10-17" statvalue="3" type="findbugs"/> - <result date="2006-10-17" statvalue="21" type="cobertura-line"/> - <result date="2006-10-17" statvalue="26" type="cobertura-branch"/> </file> <file id="com_pz_reader_LargeDataSet.java" path="com/pz/reader/LargeDataSet.java"> <result date="2006-10-05" statvalue="278" type="checkstyle"/> @@ -200,8 +186,6 @@ <result date="2006-10-15" statvalue="3" type="findbugs"/> <result date="2006-10-16" statvalue="5" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> - <result date="2006-10-17" statvalue="4" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_Version.java" path="com/pz/reader/Version.java"> <result date="2006-10-05" statvalue="2" type="checkstyle"/> @@ -210,7 +194,6 @@ <result date="2006-10-14" statvalue="2" type="checkstyle"/> <result date="2006-10-15" statvalue="2" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> - <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="com_pz_reader_ordering_OrderBy.java" path="com/pz/reader/ordering/OrderBy.java"> <result date="2006-10-05" statvalue="65" type="checkstyle"/> @@ -226,8 +209,6 @@ <result date="2006-10-15" statvalue="65" type="checkstyle"/> <result date="2006-10-15" statvalue="5" type="findbugs"/> <result date="2006-10-16" statvalue="5" type="findbugs"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="2" type="findbugs"/> </file> <file id="com_pz_reader_ordering_OrderColumn.java" path="com/pz/reader/ordering/OrderColumn.java"> <result date="2006-10-05" statvalue="25" type="checkstyle"/> @@ -246,8 +227,6 @@ <result date="2006-10-15" statvalue="99" type="checkstyle"/> <result date="2006-10-16" statvalue="50" type="cobertura-line"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> - <result date="2006-10-17" statvalue="50" type="cobertura-line"/> - <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"/> <file id="com_pz_reader_util_ExcelTransformer.java" path="com/pz/reader/util/ExcelTransformer.java"> @@ -282,11 +261,6 @@ <result date="2006-10-16" statvalue="3" type="findbugs"/> <result date="2006-10-16" statvalue="35" type="cobertura-line"/> <result date="2006-10-16" statvalue="42" type="cobertura-branch"/> - <result date="2006-10-17" statvalue="4" type="checkstyle"/> - <result date="2006-10-17" statvalue="3" type="pmd"/> - <result date="2006-10-17" statvalue="3" type="findbugs"/> - <result date="2006-10-17" statvalue="34" type="cobertura-line"/> - <result date="2006-10-17" statvalue="41" type="cobertura-branch"/> </file> <file id="com_pz_reader_xml_PZMapParser.java" path="com/pz/reader/xml/PZMapParser.java"> <result date="2006-10-05" statvalue="257" type="checkstyle"/> @@ -310,9 +284,6 @@ <result date="2006-10-16" statvalue="5" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="pmd"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> - <result date="2006-10-17" statvalue="4" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="pmd"/> - <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_xml_ResolveLocalDTD.java" path="com/pz/reader/xml/ResolveLocalDTD.java"> <result date="2006-10-05" statvalue="40" type="checkstyle"/> @@ -328,7 +299,6 @@ <result date="2006-10-15" statvalue="40" type="checkstyle"/> <result date="2006-10-15" statvalue="2" type="findbugs"/> <result date="2006-10-16" statvalue="2" type="findbugs"/> - <result date="2006-10-17" statvalue="2" type="findbugs"/> </file> <file id="com_pz_reader_xml_XMLRecordElement.java" path="com/pz/reader/xml/XMLRecordElement.java"> <result date="2006-10-05" statvalue="34" type="checkstyle"/> @@ -338,8 +308,70 @@ <result date="2006-10-14" statvalue="34" type="checkstyle"/> <result date="2006-10-15" statvalue="34" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> - <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_TestCSVPerformance.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java"/> + <file id="net_sf_pzfilereader_util_package.html" path="net/sf/pzfilereader/util/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_package.html" path="net/sf/pzfilereader/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_ordering_package.html" path="net/sf/pzfilereader/ordering/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_xml_package.html" path="net/sf/pzfilereader/xml/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_structure_package.html" path="net/sf/pzfilereader/structure/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_DataError.java" path="net/sf/pzfilereader/DataError.java"> + <result date="2006-10-17" statvalue="3" type="checkstyle"/> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_DataSet.java" path="net/sf/pzfilereader/DataSet.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> + <result date="2006-10-17" statvalue="3" type="findbugs"/> + <result date="2006-10-17" statvalue="20" type="cobertura-line"/> + <result date="2006-10-17" statvalue="26" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_LargeDataSet.java" path="net/sf/pzfilereader/LargeDataSet.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> + </file> + <file id="net_sf_pzfilereader_ordering_OrderBy.java" path="net/sf/pzfilereader/ordering/OrderBy.java"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-17" statvalue="2" type="findbugs"/> + </file> + <file id="net_sf_pzfilereader_util_ParserUtils.java" path="net/sf/pzfilereader/util/ParserUtils.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="3" type="pmd"/> + <result date="2006-10-17" statvalue="3" type="findbugs"/> + <result date="2006-10-17" statvalue="34" type="cobertura-line"/> + <result date="2006-10-17" statvalue="41" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_xml_PZMapParser.java" path="net/sf/pzfilereader/xml/PZMapParser.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> + </file> + <file id="net_sf_pzfilereader_xml_ResolveLocalDTD.java" path="net/sf/pzfilereader/xml/ResolveLocalDTD.java"> + <result date="2006-10-17" statvalue="2" type="findbugs"/> + </file> + <file id="net_sf_pzfilereader_structure_Row.java" path="net/sf/pzfilereader/structure/Row.java"> + <result date="2006-10-17" statvalue="1" type="findbugs"/> + <result date="2006-10-17" statvalue="44" type="cobertura-line"/> + </file> + <file id="net_sf_pzfilereader_structure_ColumnMetaData.java" path="net/sf/pzfilereader/structure/ColumnMetaData.java"> + <result date="2006-10-17" statvalue="50" type="cobertura-line"/> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_Version.java" path="net/sf/pzfilereader/Version.java"> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_xml_XMLRecordElement.java" path="net/sf/pzfilereader/xml/XMLRecordElement.java"> + <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> + </file> </qalab> Modified: trunk/PZFileReader/src/site/navigation.xml =================================================================== --- trunk/PZFileReader/src/site/navigation.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/PZFileReader/src/site/navigation.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -24,9 +24,13 @@ <item name="ObjectLab" href="http://www.objectlab.co.uk" /> </menu> <footer> + <div style="vertical-align:middle"> <a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=97367&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /> </a> +<a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=Paul%20Zepernick%20and%20ObjectLab%20have%20released%20version%202%2E3%2E0%20of%20PZFileReader%2E&bodytext=PZFileReader%20on%20SourceForge%3A%20a%20Java%20(1%2E4%2B)%20flat%20file%20parser%20that%20handles%20CSV,%20fixed%20length%20and%20custom%20delimiters%2E%20The%20formats%20are%20configured%20in%20XML%20or%20in%20DB%2E%20Once%20parsed%20the%20data%20is%20easily%20accessible%20record%20by%20record%20and%20via%20a%20column%20name,%20regardless%20of%20order%2E%20%20It%20is%20fast%20and%20released%20under%20Apache%20license%202%2E0%2E&topic=programming"> + <img src="http://digg.com/img/badges/91x17-digg-button.png" width="91" height="17" alt="Digg!" style="vertical-align:middle" /></a> + </div> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> Modified: trunk/PZFileReaderSamples/qalab.xml =================================================================== --- trunk/PZFileReaderSamples/qalab.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/PZFileReaderSamples/qalab.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -28,123 +28,96 @@ </summary> <file id="com_pz_reader_examples_numericsanddates_package.html" path="com/pz/reader/examples/numericsanddates/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_exporttoexcel_package.html" path="com/pz/reader/examples/exporttoexcel/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_csvperformancetest_package.html" path="com/pz/reader/examples/csvperformancetest/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_fixedlengthdynamiccolumns_package.html" path="com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_lowlevelparse_package.html" path="com/pz/reader/examples/lowlevelparse/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_largecsvperformancetest_package.html" path="com/pz/reader/examples/largedataset/largecsvperformancetest/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_multilinedelimitedrecord_package.html" path="com/pz/reader/examples/multilinedelimitedrecord/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimitedcolumnnamesinfile_package.html" path="com/pz/reader/examples/delimitedcolumnnamesinfile/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_csvheaderandtrailer_package.html" path="com/pz/reader/examples/csvheaderandtrailer/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_delimiteddynamiccolumns_package.html" path="com/pz/reader/examples/largedataset/delimiteddynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthdynamiccolumns_package.html" path="com/pz/reader/examples/fixedlengthdynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_createsamplecsv_package.html" path="com/pz/reader/examples/createsamplecsv/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumnswitherrors_package.html" path="com/pz/reader/examples/delimiteddynamiccolumnswitherrors/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumns_package.html" path="com/pz/reader/examples/delimiteddynamiccolumns/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthheaderandtrailer_package.html" path="com/pz/reader/examples/fixedlengthheaderandtrailer/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> <file id="com_pz_reader_examples_createsamplecsv_CSVTestFileCreator.java" path="com/pz/reader/examples/createsamplecsv/CSVTestFileCreator.java"> <result date="2006-10-16" statvalue="7" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="pmd"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> - <result date="2006-10-17" statvalue="7" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="pmd"/> - <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" path="com/pz/reader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java"> <result date="2006-10-16" statvalue="17" type="checkstyle"/> - <result date="2006-10-17" statvalue="17" type="checkstyle"/> </file> <file id="com_pz_reader_examples_csvperformancetest_CSVPerformanceTest.java" path="com/pz/reader/examples/csvperformancetest/CSVPerformanceTest.java"> <result date="2006-10-16" statvalue="14" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> - <result date="2006-10-17" statvalue="15" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" path="com/pz/reader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java"> <result date="2006-10-16" statvalue="5" type="checkstyle"/> - <result date="2006-10-17" statvalue="5" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" path="com/pz/reader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java"> <result date="2006-10-16" statvalue="4" type="checkstyle"/> - <result date="2006-10-17" statvalue="4" type="checkstyle"/> </file> <file id="com_pz_reader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" path="com/pz/reader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java"> <result date="2006-10-16" statvalue="5" type="checkstyle"/> - <result date="2006-10-17" statvalue="5" type="checkstyle"/> </file> <file id="com_pz_reader_examples_exporttoexcel_DelimitedFileExportToExcel.java" path="com/pz/reader/examples/exporttoexcel/DelimitedFileExportToExcel.java"> <result date="2006-10-16" statvalue="2" type="checkstyle"/> - <result date="2006-10-17" statvalue="2" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" path="com/pz/reader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java"> <result date="2006-10-16" statvalue="3" type="checkstyle"/> - <result date="2006-10-17" statvalue="3" type="checkstyle"/> </file> <file id="com_pz_reader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" path="com/pz/reader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java"> <result date="2006-10-16" statvalue="17" type="checkstyle"/> - <result date="2006-10-17" statvalue="17" type="checkstyle"/> </file> <file id="com_pz_reader_examples_largedataset_delimiteddynamiccolumns_DelimitedWithPZMap.java" path="com/pz/reader/examples/largedataset/delimiteddynamiccolumns/DelimitedWithPZMap.java"> @@ -158,42 +131,157 @@ id="com_pz_reader_examples_largedataset_largecsvperformancetest_CSVLarge.java" path="com/pz/reader/examples/largedataset/largecsvperformancetest/CSVLarge.java"> <result date="2006-10-16" statvalue="9" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> - <result date="2006-10-17" statvalue="9" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="findbugs"/> </file> <file id="com_pz_reader_examples_lowlevelparse_LowLevelParse.java" path="com/pz/reader/examples/lowlevelparse/LowLevelParse.java"> <result date="2006-10-16" statvalue="4" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="pmd"/> <result date="2006-10-16" statvalue="2" type="findbugs"/> - <result date="2006-10-17" statvalue="4" type="checkstyle"/> - <result date="2006-10-17" statvalue="1" type="pmd"/> - <result date="2006-10-17" statvalue="2" type="findbugs"/> </file> <file id="com_pz_reader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" path="com/pz/reader/examples/multilinedelimitedrecord/DelimitedMultiLine.java"> <result date="2006-10-16" statvalue="4" type="checkstyle"/> - <result date="2006-10-17" statvalue="4" type="checkstyle"/> </file> <file id="com_pz_reader_examples_numericsanddates_NumericsAndDates.java" path="com/pz/reader/examples/numericsanddates/NumericsAndDates.java"> <result date="2006-10-16" statvalue="6" type="checkstyle"/> - <result date="2006-10-17" statvalue="6" type="checkstyle"/> </file> - <file id="com_pz_reader_examples_package.html" path="com/pz/reader/examples/package.html"> + <file id="com_pz_reader_examples_package.html" path="com/pz/reader/examples/package.html"/> + <file id="com_pz_reader_examples_Examples.java" path="com/pz/reader/examples/Examples.java"/> + <file + id="com_pz_reader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" path="com/pz/reader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java"/> + <file + id="com_pz_reader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" path="com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java"/> + <file id="com_pz_reader_examples_ConsoleMenu.java" path="com/pz/reader/examples/ConsoleMenu.java"/> + <file id="net_sf_pzfilereader_examples_package.html" path="net/sf/pzfilereader/examples/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_examples_Examples.java" path="com/pz/reader/examples/Examples.java"> + <file + id="net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" path="net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" path="net/sf/pzfilereader/examples/multilinedelimitedrecord/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_numericsanddates_package.html" path="net/sf/pzfilereader/examples/numericsanddates/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" path="net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" path="net/sf/pzfilereader/examples/delimiteddynamiccolumns/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_examples_exporttoexcel_package.html" path="net/sf/pzfilereader/examples/exporttoexcel/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" path="net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_examples_createsamplecsv_package.html" path="net/sf/pzfilereader/examples/createsamplecsv/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" path="net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" path="net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_csvperformancetest_package.html" path="net/sf/pzfilereader/examples/csvperformancetest/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_examples_lowlevelparse_package.html" path="net/sf/pzfilereader/examples/lowlevelparse/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" path="net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" path="net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" path="net/sf/pzfilereader/examples/csvheaderandtrailer/package.html"> + <result date="2006-10-17" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_examples_Examples.java" path="net/sf/pzfilereader/examples/Examples.java"> <result date="2006-10-17" statvalue="21" type="checkstyle"/> </file> <file - id="com_pz_reader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" path="com/pz/reader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java"> + id="net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" path="net/sf/pzfilereader/examples/createsamplecsv/CSVTestFileCreator.java"> + <result date="2006-10-17" statvalue="7" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> + </file> + <file + id="net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" path="net/sf/pzfilereader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java"> + <result date="2006-10-17" statvalue="17" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" path="net/sf/pzfilereader/examples/csvperformancetest/CSVPerformanceTest.java"> + <result date="2006-10-17" statvalue="15" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> + </file> + <file + id="net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" path="net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java"> + <result date="2006-10-17" statvalue="5" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" path="net/sf/pzfilereader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> </file> <file - id="com_pz_reader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" path="com/pz/reader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java"> + id="net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" path="net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java"> + <result date="2006-10-17" statvalue="5" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" path="net/sf/pzfilereader/examples/exporttoexcel/DelimitedFileExportToExcel.java"> + <result date="2006-10-17" statvalue="2" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" path="net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java"> <result date="2006-10-17" statvalue="3" type="checkstyle"/> </file> - <file id="com_pz_reader_examples_ConsoleMenu.java" path="com/pz/reader/examples/ConsoleMenu.java"> + <file + id="net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" path="net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java"> + <result date="2006-10-17" statvalue="17" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" path="net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" path="net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java"> + <result date="2006-10-17" statvalue="3" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" path="net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/CSVLarge.java"> + <result date="2006-10-17" statvalue="9" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="findbugs"/> + </file> + <file + id="net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" path="net/sf/pzfilereader/examples/lowlevelparse/LowLevelParse.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-17" statvalue="1" type="pmd"/> <result date="2006-10-17" statvalue="2" type="findbugs"/> </file> + <file + id="net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" path="net/sf/pzfilereader/examples/multilinedelimitedrecord/DelimitedMultiLine.java"> + <result date="2006-10-17" statvalue="4" type="checkstyle"/> + </file> + <file + id="net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" path="net/sf/pzfilereader/examples/numericsanddates/NumericsAndDates.java"> + <result date="2006-10-17" statvalue="6" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_examples_ConsoleMenu.java" path="net/sf/pzfilereader/examples/ConsoleMenu.java"> + <result date="2006-10-17" statvalue="2" type="findbugs"/> + </file> </qalab> Modified: trunk/PZFileReaderSamples/src/site/index.xml =================================================================== --- trunk/PZFileReaderSamples/src/site/index.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/PZFileReaderSamples/src/site/index.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -27,7 +27,7 @@ <subsection name="The Examples"> <p>All examples are in the com.pz.reader.examples sub-directories. There is an application to run these, com.px.reader.examples.Examples but - the easiest way is to run the run-examples.bat is in the target directory after build:</p> + the easiest way is to run the <code>run-examples.bat</code> in the target directory after build via Maven:</p> <div class="code"><pre> Menu Options Modified: trunk/PZFileReaderSamples/src/site/navigation.xml =================================================================== --- trunk/PZFileReaderSamples/src/site/navigation.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/PZFileReaderSamples/src/site/navigation.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -24,9 +24,13 @@ <item name="ObjectLab" href="http://www.objectlab.co.uk" /> </menu> <footer> + <div style="vertical-align:middle"> <a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=97367&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /> </a> +<a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=Paul%20Zepernick%20and%20ObjectLab%20have%20released%20version%202%2E3%2E0%20of%20PZFileReader%2E&bodytext=PZFileReader%20on%20SourceForge%3A%20a%20Java%20(1%2E4%2B)%20flat%20file%20parser%20that%20handles%20CSV,%20fixed%20length%20and%20custom%20delimiters%2E%20The%20formats%20are%20configured%20in%20XML%20or%20in%20DB%2E%20Once%20parsed%20the%20data%20is%20easily%20accessible%20record%20by%20record%20and%20via%20a%20column%20name,%20regardless%20of%20order%2E%20%20It%20is%20fast%20and%20released%20under%20Apache%20license%202%2E0%2E&topic=programming"> + <img src="http://digg.com/img/badges/91x17-digg-button.png" width="91" height="17" alt="Digg!" style="vertical-align:middle" /></a> + </div> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> Modified: trunk/common-build/project.xml =================================================================== --- trunk/common-build/project.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/common-build/project.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -161,7 +161,7 @@ <report>maven-simian-plugin</report> <report>maven-cobertura-plugin</report> <report>maven-qalab-plugin</report> - <report>maven-javadoc-plugin</report> + <report>maven-ydoc-plugin</report> <report>maven-jdepend-plugin</report> <report>maven-faq-plugin</report> <report>maven-junit-report-plugin</report> @@ -171,15 +171,15 @@ <versions> <version> + <id>2.3.0</id> + <name>2.3.0</name> + <tag>2.3.0</tag> + </version> + <version> <id>2.2.0</id> <name>2.2.0</name> <tag>v2.2.0</tag> </version> - <version> - <id>2.3.0</id> - <name>2.3.0</name> - <tag>2.3.0</tag> - </version> </versions> </project> Modified: trunk/src/site/history.xml =================================================================== --- trunk/src/site/history.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/src/site/history.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -23,21 +23,28 @@ <p>The base code for PZFileReader was started from a project I worked on at my job. At the time, I was writing quite a few file imports which were mostly fixed width. I kept encountering the same problem; we had to add something - to the file layout somewhere, or expand a length, thus changing all the substrings in the code. I decided that - there must be a way to map out the file so that changing the file layout would not break the code. This is when + to the file layout somewhere, or expand a length, thus changing all the substrings in the code.</p> + + <p>I decided that there must be a way to map out the file so that changing the file layout would not break the code. This is when PZFileReader was born, although it did not have a name as of yet. The first iteration of the code had the field mappings in a database table, and seemed to work very well for my projects at work.</p> <p>At that time, I had been spending a lot of time on the Java Sun forums. The same questions kept re-appearing. How do I read a CSV file, or how do I read fixed text. I decided that with a little more work, my project could - benefit the community. Whenever I had some free time at home I started to make enhancements to the code. - I developed a way to map columns with an XML file instead of having to store the mapping in a database, and + benefit the community. Whenever I had some free time at home I started to make enhancements to the code.</p> + + <p>I developed a way to map columns with an XML file instead of having to store the mapping in a database, and a generic parser to handle any kind of delimited file, the delimited and qualifier were passed into the constructor. </p> <p>This brings us to today. Since the first release, there have been many fixes / enhancements to the parser, mainly the delimited parser. My hope is that this project will take off and become a fixture in the community. If you have a good experience with this project, and it has benefited you in some way, please spread the word.</p> + <p>Recently, <a href="http://www.objectlab.co.uk">ObjectLab</a> from the UK has decided to offer some support to PZFileReader. + PZFileReader is part of the ObjectLab Kit family, a 'support' group for useful open source projects. + They developed the Maven build, the website and are active members of this project. They are world leaders in the design + and development of bespoke applications for the Securities Finance Industry.</p> + </section> </body> Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/src/site/index.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -22,13 +22,19 @@ <!-- The body of the document contains a number of sections --> <section name="PZFileReader Introduction"> - <p>PZFileReader came out of the frustration of having to mix file parsing logic with business logic. - Substrings in a <strong>fixed width parse</strong> can be daunting to deal with when trying to analyze what existing code is doing, - and what about when you have no comments... - We also provide <strong>delimited file parsing</strong>; works with any delimiter / qualifier, multiline records, delimiter or qualifier allowed in column value - This is released under the business-friendly Apache 2.0 license. <a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=ObjectLab%20Kit%3A%20Open%20Source%20Date%20Calculators%20for%20Business%20and%20Finance&bodytext=ObjectLab%20released%20version%201%2E0%2E1%20of%20ObjectLab%20Kit%20for%20Java%201%2E5,%20available%20for%20download%20via%20SourceForge%20or%20the%20Maven%20Central%20Repository%2E%20The%20Kit%20provides%20a%20Date%20Calculator%20that%20handle%20holidays,%20a%20IMM%20Date%20and%20Period%20Count%20Calculator%20and%20comes%20in%20two%20versions%3A%20one%20based%20on%20pure%20JDK%20(1%2E5)%20and%20one%20based%20on%20the%20Joda-time%20library%20(1%2E3%2B,%20JDK%201%2E5)%2E&topic=programming"> + <p>PZFileReader came out of the frustration of having to mix file parsing logic with business logic.</p> + + <p>PZFileReader on SourceForge: a Java (1.4+) flat file parser that handles CSV, fixed length and custom delimiters. The formats are configured in XML, it is fast and released under Apache license 2.0.</p> + + <p>Substrings in a <strong>fixed width parse</strong> can be daunting to deal with when trying to analyze what existing code is doing, + and what about when you have no comments...</p> + + <p>We also provide <strong>delimited file parsing</strong>; works with any delimiter / qualifier, multiline records, delimiter or qualifier allowed in column value + This is released under the business-friendly Apache 2.0 license. <a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=Paul%20Zepernick%20and%20ObjectLab%20have%20released%20version%202%2E3%2E0%20of%20PZFileReader%2E&bodytext=PZFileReader%20on%20SourceForge%3A%20a%20Java%20(1%2E4%2B)%20flat%20file%20parser%20that%20handles%20CSV,%20fixed%20length%20and%20custom%20delimiters%2E%20The%20formats%20are%20configured%20in%20XML%20or%20in%20DB%2E%20Once%20parsed%20the%20data%20is%20easily%20accessible%20record%20by%20record%20and%20via%20a%20column%20name,%20regardless%20of%20order%2E%20%20It%20is%20fast%20and%20released%20under%20Apache%20license%202%2E0%2E&topic=programming"> + <img src="http://digg.com/img/badges/91x17-digg-button.png" width="91" height="17" alt="Digg!" style="vertical-align:middle" /></a></p> + <p>PZFileReader is part of the ObjectLab Kit family.</p> <subsection name="Problem Sorting Data Prior To File Processing?"> <p>PZFileReader provides a sorting mechanism for your flat files. This allows for your data to be properly sorted before processing your business logic.</p> @@ -52,8 +58,8 @@ <subsection name="UML?"> <p>We are using yDoc to generate a 'javadoc-like' documentation per module with the added twist of UML diagrams:</p> <ul> - <li><a href="multiproject/PZFileReader/apidocs/index.html">UML for PZFileReader</a></li> - <li><a href="multiproject/PZFileReaderSamples/apidocs/index.html">UML for Examples</a></li> + <li><a href="multiproject/pzfilereader/apidocs/index.html">UML for PZFileReader</a></li> + <li><a href="multiproject/pzfilereader-examples/apidocs/index.html">UML for Examples</a></li> </ul> </subsection> Modified: trunk/src/site/navigation.xml =================================================================== --- trunk/src/site/navigation.xml 2006-10-17 17:26:35 UTC (rev 84) +++ trunk/src/site/navigation.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -29,9 +29,13 @@ <item name="ObjectLab" href="http://www.objectlab.co.uk" /> </menu> <footer> + <div style="vertical-align:middle"> <a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=97367&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /> </a> +<a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=Paul%20Zepernick%20and%20ObjectLab%20have%20released%20version%202%2E3%2E0%20of%20PZFileReader%2E&bodytext=PZFileReader%20on%20SourceForge%3A%20a%20Java%20(1%2E4%2B)%20flat%20file%20parser%20that%20handles%20CSV,%20fixed%20length%20and%20custom%20delimiters%2E%20The%20formats%20are%20configured%20in%20XML%20or%20in%20DB%2E%20Once%20parsed%20the%20data%20is%20easily%20accessible%20record%20by%20record%20and%20via%20a%20column%20name,%20regardless%20of%20order%2E%20%20It%20is%20fast%20and%20released%20under%20Apache%20license%202%2E0%2E&topic=programming"> + <img src="http://digg.com/img/badges/91x17-digg-button.png" width="91" height="17" alt="Digg!" style="vertical-align:middle" /></a> + </div> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> Added: trunk/src/site/press/index.xml =================================================================== --- trunk/src/site/press/index.xml (rev 0) +++ trunk/src/site/press/index.xml 2006-10-17 19:36:41 UTC (rev 85) @@ -0,0 +1,82 @@ +<document> + <properties> + <title>On the web...</title> + </properties> + <head> + <meta name="description" + content="Mentions of the PZFileReader." + /> + + <meta name="keywords" + content="Flat file parser, CSV parser, PZFileReader, sourceforge, java, open source" /> + <meta name="Subject" content="Flat File Parser" /> + <meta name="Copyright" content="Paul Zepernick and ObjectLab Financial Ltd" /> + <meta name="Language" content="English" /> + <meta name="Designer" content="Paul Zepernick" /> + <meta name="Distribution" content="Global" /> + <meta name="robots" content="ALL"/> + <meta name="Revisit-After" content="20 Days" /> + </head> + <body> + <!-- The body of the document contains a number of sections --> + <section name="Release 2.3.0. Oct 2006"> + + <p> + + </p> + + <subsection name="On the web"> + <ul> + <li><a href="press-release-2.3.0.txt">Oct 2006 'press' release</a></li> + </ul> + </subsection> + +<!-- + <subsection name="JavaLobby"> + <ul> + <li><a href="http://www.javalobby.org/java/forums/t82598.html">JavaLobby.org notice</a></li> + <li><a href="homepage-javalobby2.png">JavaLobby.org homepage image</a></li> + <li><a href="homepage-javalobby.pdf">JavaLobby.org homepage PDF</a></li> + </ul> + </subsection> + + <subsection name="The Server Side"> + <ul> + <li><a href="http://www.theserverside.com/news/thread.tss?thread_id=42572">TheServerSide.com notice</a></li> + <li><a href="homepage-theserverside.png">TheServerSide.com homepage image</a></li> + <li><a href="homepage-theserverside.pdf">TheServerSide.com homepage PDF</a></li> + </ul> + </subsection> + + <subsection name="Java.Net"> + <ul> + <li><a href="http://today.java.net/pub/n/ObjectLabKit">The Java.net notice</a></li> + <li><a href="newspage-javanet.png">Java.net News page image</a></li> + <li><a href="newspage-javanet.pdf">Java.net News page PDF</a></li> + </ul> + </subsection> + + <subsection name="JavaRSS.com"> + <ul> + <li><a href="homepage-javarss.png">JavaRSS.com homepage image</a></li> + <li><a href="homepage-javarss.pdf">JavaRSS.com homepage PDF</a></li> + </ul> + </subsection> + + <subsection name="Where are you all?"> + <ul> + <li><a href="visits-map-20061010-12.png">A Google Analytics Map for the week of our first release</a></li> + </ul> + </subsection> + + <subsection name="dZone.com"> + <ul> + <li><a href="homepage-dzone.png">dzone.com homepage image</a></li> + <li><a href="homepage-dzone.pdf">dzone.com homepage PDF</a></li> + </ul> + </subsection> +--> + </section> + + </body> +</document> \ No newline at end of file Added: trunk/src/site/press/press-release-2.3.0.txt =================================================================== --- trunk/src/site/press/press-release-2.3.0.txt (rev 0) +++ trunk/src/site/press/press-release-2.3.0.txt 2006-10-17 19:36:41 UTC (rev 85) @@ -0,0 +1,46 @@ +Paul Zepernick and ObjectLab are pleased to announce release 2.3.0 of +PZFileReader for Java 1.4+. + +Open Source flat file parser (CSV, Fixed Length, Custom) using XML +to configure formats. + +http://pzfilereader.sourceforge.net + +PZFileReader is released under the business friendly Apache License v2.0. + +It is available immediately for download via SourceForge or the Maven Central +Repository (both Maven 1 and Maven 2). The homepage has some very +quick examples. + +The library is small, lightweight and does not force you to adopt a +framework. + +The implementation is useful to any business that deal with flat files. +The library allow you to define an XML mapping (or in a database) of +the format of your file. Once this is done, the parsed data can be accessed +via a simple name lookup mechanism. + +It is our aim to publish at some point some well know file formats for +your immediate use. + +ObjectLab is not new to the open-source community having used numerous OS +projects, It has recently launched the ObjectLab Kit family, including: +- QALab (http://qalab.sourceforge.net), a tool that keeps track over-time + of the static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc. +- DateCalculators (http://objectlabkit.sourceforge.net), a set of generic + lightweight and thread-safe Date calculators for Business and Finance. +- JTreeMap, (http://jtreemap.sourceforge.net), probably the only Java Open + Source implementation of treemap/heatmaps, available as a Swing or SWT + component. + +We would like to thanks our friends and colleagues at XXXX for their help, +reviews and suggestions. + +Sorry for the long email... + +Feel free to pass on to people who may be interested. + +Enjoy!! + +Paul Zepernick and The ObjectLab Team (Benoit Xhenseval, Marcin Jekot) + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-17 20:09:53
|
Revision: 86 http://svn.sourceforge.net/pzfilereader/?rev=86&view=rev Author: benoitx Date: 2006-10-17 13:09:22 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Couple of changes for website. Modified Paths: -------------- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java trunk/src/site/history.xml trunk/src/site/index.xml Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-17 19:36:41 UTC (rev 85) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-17 20:09:22 UTC (rev 86) @@ -46,6 +46,7 @@ * * @author Paul Zepernick * @version 2.0.1 + * @todo Ought to implement an interface for the access to data. */ public class DataSet { @@ -1198,7 +1199,7 @@ } /** - * erases the dataset and releases memory for the JVM to reclaim + * Erases the dataset early and releases memory for the JVM to reclaim */ public void freeMemory() { if (rows != null) { Modified: trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java =================================================================== --- trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java 2006-10-17 19:36:41 UTC (rev 85) +++ trunk/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/ConsoleMenu.java 2006-10-17 20:09:22 UTC (rev 86) @@ -57,7 +57,7 @@ * how the entry will be displayed in the menu * @param methodName * name of the public method - * @parem askForRepeat call back for repeat + * @param askForRepeat call back for repeat */ public void addMenuItem(final String menuDisplay, final String methodName, final boolean repeat) { menu.add(menuDisplay); Modified: trunk/src/site/history.xml =================================================================== --- trunk/src/site/history.xml 2006-10-17 19:36:41 UTC (rev 85) +++ trunk/src/site/history.xml 2006-10-17 20:09:22 UTC (rev 86) @@ -5,7 +5,7 @@ </properties> <head> <meta name="description" - content="PZFileReader offers configurable flat file CSV and fixed length parser, released under the business-friendly Apache 2.0 license." + content="How did we here and why?" /> <meta name="keywords" content="CSV, Fixed length file parser" /> @@ -41,7 +41,7 @@ If you have a good experience with this project, and it has benefited you in some way, please spread the word.</p> <p>Recently, <a href="http://www.objectlab.co.uk">ObjectLab</a> from the UK has decided to offer some support to PZFileReader. - PZFileReader is part of the ObjectLab Kit family, a 'support' group for useful open source projects. + PZFileReader is now "kind of" part of the ObjectLab Kit family, a 'support' group for useful open source projects. They developed the Maven build, the website and are active members of this project. They are world leaders in the design and development of bespoke applications for the Securities Finance Industry.</p> Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2006-10-17 19:36:41 UTC (rev 85) +++ trunk/src/site/index.xml 2006-10-17 20:09:22 UTC (rev 86) @@ -29,26 +29,28 @@ <p>Substrings in a <strong>fixed width parse</strong> can be daunting to deal with when trying to analyze what existing code is doing, and what about when you have no comments...</p> - <p>We also provide <strong>delimited file parsing</strong>; works with any delimiter / qualifier, multiline records, delimiter or qualifier allowed in column value - This is released under the business-friendly Apache 2.0 license. <a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=Paul%20Zepernick%20and%20ObjectLab%20have%20released%20version%202%2E3%2E0%20of%20PZFileReader%2E&bodytext=PZFileReader%20on%20SourceForge%3A%20a%20Java%20(1%2E4%2B)%20flat%20file%20parser%20that%20handles%20CSV,%20fixed%20length%20and%20custom%20delimiters%2E%20The%20formats%20are%20configured%20in%20XML%20or%20in%20DB%2E%20Once%20parsed%20the%20data%20is%20easily%20accessible%20record%20by%20record%20and%20via%20a%20column%20name,%20regardless%20of%20order%2E%20%20It%20is%20fast%20and%20released%20under%20Apache%20license%202%2E0%2E&topic=programming"> - - <img src="http://digg.com/img/badges/91x17-digg-button.png" width="91" height="17" alt="Digg!" style="vertical-align:middle" /></a></p> + <p>We also provide <strong>delimited file parsing</strong>; works with any delimiter / qualifier, multiline records, delimiter or qualifier allowed in column value.</p> - <p>PZFileReader is part of the ObjectLab Kit family.</p> + <p>PZFileReader is part of the ObjectLab Kit family.<a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=Paul%20Zepernick%20and%20ObjectLab%20have%20released%20version%202%2E3%2E0%20of%20PZFileReader%2E&bodytext=PZFileReader%20on%20SourceForge%3A%20a%20Java%20(1%2E4%2B)%20flat%20file%20parser%20that%20handles%20CSV,%20fixed%20length%20and%20custom%20delimiters%2E%20The%20formats%20are%20configured%20in%20XML%20or%20in%20DB%2E%20Once%20parsed%20the%20data%20is%20easily%20accessible%20record%20by%20record%20and%20via%20a%20column%20name,%20regardless%20of%20order%2E%20%20It%20is%20fast%20and%20released%20under%20Apache%20license%202%2E0%2E&topic=programming"> + <img src="http://digg.com/img/badges/91x17-digg-button.png" width="91" height="17" alt="Digg!" style="vertical-align:middle" /></a></p> - <subsection name="Problem Sorting Data Prior To File Processing?"> - <p>PZFileReader provides a sorting mechanism for your flat files. This allows for your data to be properly sorted before processing your business logic.</p> - </subsection> + <subsection name="Why should you use PZFileParser?"> + + <p>There is more to it than one could imagine at first sight:</p> + <ul> + + <li><strong>Problem Sorting Data Prior To File Processing?</strong></li> + <ul><li>PZFileReader provides a sorting mechanism for your flat files. This allows for your data to be properly sorted before processing your business logic.</li></ul> + - <subsection name ="Bad Numeric Data?"> - <p> Do often receive numeric data with dollar signs, or commas? PZFileReader has the ability to strip these out and return as a double or int. - Even empty elements or hard spaces can be converted to a numeric without issue.</p> - </subsection> + <li><strong>Bad Numeric Data?</strong></li> + <ul><li>Do you often receive numeric data with dollar signs, or commas? PZFileReader has the ability to strip these out and return as a double or int. + Even empty elements or hard spaces can be converted to a numeric without issue.</li></ul> - - <subsection name ="Problems With One Bad Record Blowing Up The Entire Parse?"> - <p>Bad records get excluded from the DataSet and added to an error collection. This error collection can be checked at the end of the parse to - report on bad records. A description of the error and the line number in the file is provided. Why blow up an entire import for one bad record?</p> + <li><strong>Problems With One Bad Record Blowing Up The Entire Parse?</strong></li> + <ul><li>Bad records get excluded from the DataSet and added to an error collection. This error collection can be checked at the end of the parse to + report on bad records. A description of the error and the line number in the file is provided. Why blow up an entire import for one bad record?</li></ul> + </ul> </subsection> <subsection name="Which JDK?"> @@ -67,21 +69,19 @@ <section name="How do I use it?"> <p>Basic Steps</p> - <ul> - <li>Construct DataSet()</li> + <ol> + <li>Construct DataSet() with a File, a InputStream or a Reader (soon)</li> <li>Call DataSet.next() to advance record pointer</li> <li>Process columns; DataSet.getString("colname"), getInt("colname"), getDouble("colname"), getDate("colname"), etc</li> <li>Check for parse errors; DataSet.getErrors()</li> - <li>Release memmory; DataSet.freeMemory()</li> - </ul> + <li>Release memory early; DataSet.freeMemory()</li> + </ol> <subsection name="Reading Delimited File"> <div class="source"><pre> - DataSet ds = null; - //construct DataSet - ds = new DataSet(new File("ColumnMappings.pzmap.xml"), //xml mapping file + DataSet ds = new DataSet(new File("ColumnMappings.pzmap.xml"), //xml mapping file new File("delimitedfile.txt"), //text file to parse ",", //delimiter "\"", //text qualifier (can be null or empty) @@ -91,7 +91,7 @@ ds.getString("mycolumnName"); } - ds.freeMemory(); + ds.freeMemory(); // probably should be in a finally. </pre></div> </subsection> @@ -99,10 +99,8 @@ <subsection name="Reading Fixed Width File"> <div class="source"><pre> - DataSet ds = null; - //construct DataSet - ds = new DataSet(new File("PEOPLE-FixedLength.pzmap.xml"), //xml mapping file + DataSet ds = new DataSet(new File("PEOPLE-FixedLength.pzmap.xml"), //xml mapping file new File("PEOPLE-FixedLength.txt")); //text file to parse while (ds.next()){ //loop through file @@ -114,6 +112,16 @@ </subsection> + <subsection name="Reading a Message of Fixed Width"> + + <div class="source"><pre> + +... coming soon + + </pre></div> + + </subsection> + </section> </body> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-18 20:51:48
|
Revision: 100 http://svn.sourceforge.net/pzfilereader/?rev=100&view=rev Author: benoitx Date: 2006-10-18 13:51:29 -0700 (Wed, 18 Oct 2006) Log Message: ----------- Uploaded new site. Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java trunk/PZFileReaderSamples/qalab.xml trunk/src/site/index.xml Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-18 13:40:13 UTC (rev 99) +++ trunk/PZFileReader/qalab.xml 2006-10-18 20:51:29 UTC (rev 100) @@ -53,6 +53,12 @@ <summaryresult date="2006-10-17" filecount="3" statvalue="116" type="simian"/> <summaryresult date="2006-10-17" filecount="13" statvalue="17" type="cobertura-line"/> <summaryresult date="2006-10-17" filecount="13" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2006-10-18" filecount="19" statvalue="26" type="checkstyle"/> + <summaryresult date="2006-10-18" filecount="3" statvalue="5" type="pmd"/> + <summaryresult date="2006-10-18" filecount="6" statvalue="11" type="findbugs"/> + <summaryresult date="2006-10-18" filecount="3" statvalue="116" type="simian"/> + <summaryresult date="2006-10-18" filecount="14" statvalue="18" type="cobertura-line"/> + <summaryresult date="2006-10-18" filecount="14" statvalue="24" type="cobertura-branch"/> </summary> <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -329,6 +335,8 @@ <file id="net_sf_pzfilereader_DataError.java" path="net/sf/pzfilereader/DataError.java"> <result date="2006-10-17" statvalue="3" type="checkstyle"/> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-18" statvalue="3" type="checkstyle"/> + <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_DataSet.java" path="net/sf/pzfilereader/DataSet.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -336,13 +344,21 @@ <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-17" statvalue="21" type="cobertura-line"/> <result date="2006-10-17" statvalue="27" type="cobertura-branch"/> + <result date="2006-10-18" statvalue="5" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="pmd"/> + <result date="2006-10-18" statvalue="2" type="findbugs"/> + <result date="2006-10-18" statvalue="21" type="cobertura-line"/> + <result date="2006-10-18" statvalue="27" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_LargeDataSet.java" path="net/sf/pzfilereader/LargeDataSet.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-18" statvalue="4" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_ordering_OrderBy.java" path="net/sf/pzfilereader/ordering/OrderBy.java"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-17" statvalue="2" type="findbugs"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_util_ParserUtils.java" path="net/sf/pzfilereader/util/ParserUtils.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -350,27 +366,44 @@ <result date="2006-10-17" statvalue="3" type="findbugs"/> <result date="2006-10-17" statvalue="33" type="cobertura-line"/> <result date="2006-10-17" statvalue="41" type="cobertura-branch"/> + <result date="2006-10-18" statvalue="9" type="checkstyle"/> + <result date="2006-10-18" statvalue="3" type="pmd"/> + <result date="2006-10-18" statvalue="3" type="findbugs"/> + <result date="2006-10-18" statvalue="36" type="cobertura-line"/> + <result date="2006-10-18" statvalue="43" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_xml_PZMapParser.java" path="net/sf/pzfilereader/xml/PZMapParser.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="pmd"/> <result date="2006-10-17" statvalue="1" type="findbugs"/> + <result date="2006-10-18" statvalue="4" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="pmd"/> + <result date="2006-10-18" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_xml_ResolveLocalDTD.java" path="net/sf/pzfilereader/xml/ResolveLocalDTD.java"> <result date="2006-10-17" statvalue="2" type="findbugs"/> + <result date="2006-10-18" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_structure_Row.java" path="net/sf/pzfilereader/structure/Row.java"> <result date="2006-10-17" statvalue="1" type="findbugs"/> <result date="2006-10-17" statvalue="44" type="cobertura-line"/> + <result date="2006-10-18" statvalue="1" type="findbugs"/> + <result date="2006-10-18" statvalue="44" type="cobertura-line"/> </file> <file id="net_sf_pzfilereader_structure_ColumnMetaData.java" path="net/sf/pzfilereader/structure/ColumnMetaData.java"> <result date="2006-10-17" statvalue="50" type="cobertura-line"/> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-18" statvalue="50" type="cobertura-line"/> + <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_Version.java" path="net/sf/pzfilereader/Version.java"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_xml_XMLRecordElement.java" path="net/sf/pzfilereader/xml/XMLRecordElement.java"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> + <file id="net_sf_pzfilereader_util_PZConstants.java" path="net/sf/pzfilereader/util/PZConstants.java"> + <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> + </file> </qalab> Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-18 13:40:13 UTC (rev 99) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-18 20:51:29 UTC (rev 100) @@ -1186,7 +1186,8 @@ } /** - * Erases the dataset early and releases memory for the JVM to reclaim + * Erases the dataset early and releases memory for the JVM to reclaim, this invalidates the object. + * @deprecated You can still use it but truly you should keep the scope of the DataSet to a MINIMUM. */ public void freeMemory() { if (rows != null) { Modified: trunk/PZFileReaderSamples/qalab.xml =================================================================== --- trunk/PZFileReaderSamples/qalab.xml 2006-10-18 13:40:13 UTC (rev 99) +++ trunk/PZFileReaderSamples/qalab.xml 2006-10-18 20:51:29 UTC (rev 100) @@ -25,6 +25,10 @@ <summaryresult date="2006-10-17" filecount="2" statvalue="2" type="pmd"/> <summaryresult date="2006-10-17" filecount="5" statvalue="7" type="findbugs"/> <summaryresult date="2006-10-17" filecount="6" statvalue="82" type="simian"/> + <summaryresult date="2006-10-18" filecount="34" statvalue="143" type="checkstyle"/> + <summaryresult date="2006-10-18" filecount="2" statvalue="2" type="pmd"/> + <summaryresult date="2006-10-18" filecount="6" statvalue="8" type="findbugs"/> + <summaryresult date="2006-10-18" filecount="6" statvalue="78" type="simian"/> </summary> <file id="com_pz_reader_examples_numericsanddates_package.html" path="com/pz/reader/examples/numericsanddates/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> @@ -154,134 +158,174 @@ <file id="com_pz_reader_examples_ConsoleMenu.java" path="com/pz/reader/examples/ConsoleMenu.java"/> <file id="net_sf_pzfilereader_examples_package.html" path="net/sf/pzfilereader/examples/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" path="net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" path="net/sf/pzfilereader/examples/multilinedelimitedrecord/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_numericsanddates_package.html" path="net/sf/pzfilereader/examples/numericsanddates/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" path="net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" path="net/sf/pzfilereader/examples/delimiteddynamiccolumns/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_exporttoexcel_package.html" path="net/sf/pzfilereader/examples/exporttoexcel/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" path="net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_createsamplecsv_package.html" path="net/sf/pzfilereader/examples/createsamplecsv/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" path="net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" path="net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_csvperformancetest_package.html" path="net/sf/pzfilereader/examples/csvperformancetest/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_lowlevelparse_package.html" path="net/sf/pzfilereader/examples/lowlevelparse/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" path="net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" path="net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" path="net/sf/pzfilereader/examples/csvheaderandtrailer/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_Examples.java" path="net/sf/pzfilereader/examples/Examples.java"> <result date="2006-10-17" statvalue="21" type="checkstyle"/> + <result date="2006-10-18" statvalue="21" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" path="net/sf/pzfilereader/examples/createsamplecsv/CSVTestFileCreator.java"> <result date="2006-10-17" statvalue="7" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="pmd"/> <result date="2006-10-17" statvalue="1" type="findbugs"/> + <result date="2006-10-18" statvalue="7" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="pmd"/> + <result date="2006-10-18" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" path="net/sf/pzfilereader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java"> <result date="2006-10-17" statvalue="17" type="checkstyle"/> + <result date="2006-10-18" statvalue="17" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" path="net/sf/pzfilereader/examples/csvperformancetest/CSVPerformanceTest.java"> <result date="2006-10-17" statvalue="15" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="findbugs"/> + <result date="2006-10-18" statvalue="16" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" path="net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java"> <result date="2006-10-17" statvalue="5" type="checkstyle"/> + <result date="2006-10-18" statvalue="5" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" path="net/sf/pzfilereader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-18" statvalue="4" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" path="net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java"> <result date="2006-10-17" statvalue="5" type="checkstyle"/> + <result date="2006-10-18" statvalue="5" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" path="net/sf/pzfilereader/examples/exporttoexcel/DelimitedFileExportToExcel.java"> <result date="2006-10-17" statvalue="2" type="checkstyle"/> + <result date="2006-10-18" statvalue="2" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" path="net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java"> <result date="2006-10-17" statvalue="3" type="checkstyle"/> + <result date="2006-10-18" statvalue="3" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" path="net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java"> <result date="2006-10-17" statvalue="17" type="checkstyle"/> + <result date="2006-10-18" statvalue="17" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" path="net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-18" statvalue="4" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" path="net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java"> <result date="2006-10-17" statvalue="3" type="checkstyle"/> + <result date="2006-10-18" statvalue="3" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" path="net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/CSVLarge.java"> <result date="2006-10-17" statvalue="9" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="findbugs"/> + <result date="2006-10-18" statvalue="9" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" path="net/sf/pzfilereader/examples/lowlevelparse/LowLevelParse.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="pmd"/> <result date="2006-10-17" statvalue="2" type="findbugs"/> + <result date="2006-10-18" statvalue="4" type="checkstyle"/> + <result date="2006-10-18" statvalue="1" type="pmd"/> + <result date="2006-10-18" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" path="net/sf/pzfilereader/examples/multilinedelimitedrecord/DelimitedMultiLine.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> + <result date="2006-10-18" statvalue="4" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" path="net/sf/pzfilereader/examples/numericsanddates/NumericsAndDates.java"> <result date="2006-10-17" statvalue="6" type="checkstyle"/> + <result date="2006-10-18" statvalue="6" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_ConsoleMenu.java" path="net/sf/pzfilereader/examples/ConsoleMenu.java"> <result date="2006-10-17" statvalue="2" type="findbugs"/> + <result date="2006-10-18" statvalue="2" type="findbugs"/> </file> </qalab> Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2006-10-18 13:40:13 UTC (rev 99) +++ trunk/src/site/index.xml 2006-10-18 20:51:29 UTC (rev 100) @@ -92,8 +92,6 @@ while (ds.next()){ //loop through file ds.getString("mycolumnName"); } - - ds.freeMemory(); // probably should be in a finally. </pre></div> </subsection> @@ -108,8 +106,6 @@ while (ds.next()){ //loop through file ds.getString("mycolumnName"); } - - ds.freeMemory(); </pre></div> </subsection> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-17 20:31:15
|
Revision: 88 http://svn.sourceforge.net/pzfilereader/?rev=88&view=rev Author: benoitx Date: 2006-10-17 13:30:59 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Link to the documentation (somehow it had been removed...) Modified Paths: -------------- trunk/PZFileReader/src/site/navigation.xml trunk/PZFileReaderSamples/src/site/navigation.xml trunk/src/site/navigation.xml Modified: trunk/PZFileReader/src/site/navigation.xml =================================================================== --- trunk/PZFileReader/src/site/navigation.xml 2006-10-17 20:26:14 UTC (rev 87) +++ trunk/PZFileReader/src/site/navigation.xml 2006-10-17 20:30:59 UTC (rev 88) @@ -8,6 +8,8 @@ href="../../index.html" /> <item name="Examples" href="../pzfilereader-examples/index.html" /> + <item name="Documentation" + href="../../documentation/index.html" /> <item name="Sitemap" href="sitemap.html" /> </menu> <links> Modified: trunk/PZFileReaderSamples/src/site/navigation.xml =================================================================== --- trunk/PZFileReaderSamples/src/site/navigation.xml 2006-10-17 20:26:14 UTC (rev 87) +++ trunk/PZFileReaderSamples/src/site/navigation.xml 2006-10-17 20:30:59 UTC (rev 88) @@ -8,6 +8,8 @@ href="../../index.html" /> <item name="Main Library" href="../pzfilereader/index.html" /> + <item name="Documentation" + href="../../documentation/index.html" /> <item name="Sitemap" href="sitemap.html" /> </menu> <links> Modified: trunk/src/site/navigation.xml =================================================================== --- trunk/src/site/navigation.xml 2006-10-17 20:26:14 UTC (rev 87) +++ trunk/src/site/navigation.xml 2006-10-17 20:30:59 UTC (rev 88) @@ -11,6 +11,8 @@ <menu name="PZFileReader"> <item name="Main library" href="multiproject/pzfilereader/index.html" /> + <item name="Documentation" + href="documentation/index.html" /> <item name="History" href="history.html" /> <item name="Features" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-17 21:23:53
|
Revision: 89 http://svn.sourceforge.net/pzfilereader/?rev=89&view=rev Author: benoitx Date: 2006-10-17 14:23:38 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Fix the homepage and reduced the scope of some variables. Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java trunk/src/site/index.xml Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-17 20:30:59 UTC (rev 88) +++ trunk/PZFileReader/qalab.xml 2006-10-17 21:23:38 UTC (rev 89) @@ -49,9 +49,9 @@ <summaryresult date="2006-10-16" filecount="13" statvalue="23" type="cobertura-branch"/> <summaryresult date="2006-10-17" filecount="18" statvalue="25" type="checkstyle"/> <summaryresult date="2006-10-17" filecount="3" statvalue="5" type="pmd"/> - <summaryresult date="2006-10-17" filecount="7" statvalue="13" type="findbugs"/> - <summaryresult date="2006-10-17" filecount="3" statvalue="116" type="simian"/> - <summaryresult date="2006-10-17" filecount="13" statvalue="17" type="cobertura-line"/> + <summaryresult date="2006-10-17" filecount="7" statvalue="12" type="findbugs"/> + <summaryresult date="2006-10-17" filecount="3" statvalue="114" type="simian"/> + <summaryresult date="2006-10-17" filecount="13" statvalue="16" type="cobertura-line"/> <summaryresult date="2006-10-17" filecount="13" statvalue="23" type="cobertura-branch"/> </summary> <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> @@ -333,7 +333,7 @@ <file id="net_sf_pzfilereader_DataSet.java" path="net/sf/pzfilereader/DataSet.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="pmd"/> - <result date="2006-10-17" statvalue="3" type="findbugs"/> + <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-17" statvalue="20" type="cobertura-line"/> <result date="2006-10-17" statvalue="26" type="cobertura-branch"/> </file> @@ -349,7 +349,7 @@ <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-17" statvalue="3" type="pmd"/> <result date="2006-10-17" statvalue="3" type="findbugs"/> - <result date="2006-10-17" statvalue="34" type="cobertura-line"/> + <result date="2006-10-17" statvalue="33" type="cobertura-line"/> <result date="2006-10-17" statvalue="41" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_xml_PZMapParser.java" path="net/sf/pzfilereader/xml/PZMapParser.java"> Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-17 20:30:59 UTC (rev 88) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-17 21:23:38 UTC (rev 89) @@ -127,28 +127,25 @@ super(); this.handleShortLines = handleShortLines; - String sql = null; ResultSet rs = null; Statement stmt = null; - ColumnMetaData column = null; - boolean hasResults = false; - int recPosition = 1; - final List cmds = new ArrayList(); try { columnMD = new LinkedHashMap(); stmt = con.createStatement(); - sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + String sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + "WHERE DATAFILE.DATAFILE_DESC = '" + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; rs = stmt.executeQuery(sql); + int recPosition = 1; + final List cmds = new ArrayList(); // put array of columns together. These will be used to put together // the dataset when reading in the file while (rs.next()) { - column = new ColumnMetaData(); + ColumnMetaData column = new ColumnMetaData(); column.setColName(rs.getString("DATASTRUCTURE_COLUMN")); column.setColLength(rs.getInt("DATASTRUCTURE_LENGTH")); column.setStartPosition(recPosition); @@ -156,13 +153,11 @@ recPosition += rs.getInt("DATASTRUCTURE_LENGTH"); cmds.add(column); - - hasResults = true; } columnMD.put("detail", cmds); - if (!hasResults) { + if (cmds.isEmpty()) { throw new FileNotFoundException("DATA DEFINITION CAN NOT BE FOUND IN THE DATABASE " + dataDefinition); } @@ -252,7 +247,7 @@ columnMD = new LinkedHashMap(); stmt = con.createStatement(); - String sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + final String sql = "SELECT * FROM DATAFILE INNER JOIN DATASTRUCTURE ON " + "DATAFILE.DATAFILE_NO = DATASTRUCTURE.DATAFILE_NO " + "WHERE DATAFILE.DATAFILE_DESC = '" + dataDefinition + "' " + "ORDER BY DATASTRUCTURE_COL_ORDER"; rs = stmt.executeQuery(sql); @@ -263,7 +258,7 @@ // the dataset when reading in the file while (rs.next()) { - ColumnMetaData column = new ColumnMetaData(); + final ColumnMetaData column = new ColumnMetaData(); column.setColName(rs.getString("DATASTRUCTURE_COLUMN")); column.setColLength(rs.getInt("DATASTRUCTURE_LENGTH")); cmds.add(column); @@ -352,7 +347,6 @@ columnMD = PZMapParser.parse(pzmapXMLStream); doDelimitedFile(dataSourceStream, delimiter, qualifier, ignoreFirstRecord, false); - } /** @@ -474,27 +468,21 @@ * mappings, and SQL table mappings */ private void doFixedLengthFile(final InputStream dataSource) throws Exception { - String line = null; InputStreamReader isr = null; BufferedReader br = null; - Row row = null; - int recordLength = 0; - int lineCount = 0; - int recPosition = 0; - // map of record lengths corrisponding to the ID's in the columnMD array - Map recordLengths = null; - String mdkey = null; - List cmds = null; try { rows = new ArrayList(); errors = new ArrayList(); - recordLengths = ParserUtils.calculateRecordLengths(columnMD); + final Map recordLengths = ParserUtils.calculateRecordLengths(columnMD); // Read in the flat file isr = new InputStreamReader(dataSource); br = new BufferedReader(isr); + String line = null; + int lineCount = 0; + // map of record lengths corrisponding to the ID's in the columnMD array // loop through each line in the file while ((line = br.readLine()) != null) { lineCount++; @@ -503,9 +491,9 @@ continue; } - mdkey = ParserUtils.getCMDKeyForFixedLengthFile(columnMD, line); - recordLength = ((Integer) recordLengths.get(mdkey)).intValue(); - cmds = ParserUtils.getColumnMetaData(mdkey, columnMD); + final String mdkey = ParserUtils.getCMDKeyForFixedLengthFile(columnMD, line); + final int recordLength = ((Integer) recordLengths.get(mdkey)).intValue(); + final List cmds = ParserUtils.getColumnMetaData(mdkey, columnMD); // Incorrect record length on line log the error. Line will not // be included in the @@ -527,8 +515,8 @@ } } - recPosition = 1; - row = new Row(); + int recPosition = 1; + final Row row = new Row(); row.setMdkey(mdkey.equals("detail") ? null : mdkey); // try // to // limit @@ -569,19 +557,9 @@ if (dataSource == null) { throw new NullPointerException("dataSource is null"); } - String line = null; InputStreamReader isr = null; BufferedReader br = null; - Row row = null; - int columnCount = 0; - int lineCount = 0; - List columns = null; - boolean processedFirst = false; - boolean processingMultiLine = false; - String lineData = ""; - List cmds = null; - String mdkey = null; try { rows = new ArrayList(); @@ -594,7 +572,13 @@ // fr = new FileReader(dataSource.getAbsolutePath()); isr = new InputStreamReader(dataSource); br = new BufferedReader(isr); + + boolean processedFirst = false; + boolean processingMultiLine = false; + int lineCount = 0; + String lineData = ""; /** loop through each line in the file */ + String line = null; while ((line = br.readLine()) != null) { lineCount++; /** empty line skip past it */ @@ -692,11 +676,11 @@ // ******************************************************************** // column values - columns = ParserUtils.splitLine(lineData, delimiter, qualifier); + List columns = ParserUtils.splitLine(lineData, delimiter, qualifier); lineData = ""; - mdkey = ParserUtils.getCMDKeyForDelimitedFile(columnMD, columns); - cmds = ParserUtils.getColumnMetaData(mdkey, columnMD); - columnCount = cmds.size(); + String mdkey = ParserUtils.getCMDKeyForDelimitedFile(columnMD, columns); + List cmds = ParserUtils.getColumnMetaData(mdkey, columnMD); + int columnCount = cmds.size(); // DEBUG // Incorrect record length on line log the error. Line @@ -721,7 +705,7 @@ } } - row = new Row(); + Row row = new Row(); row.setMdkey(mdkey.equals("detail") ? null : mdkey); // try // to // limit @@ -756,14 +740,11 @@ * exception will be thrown if pointer in not on a valid row */ public void setValue(final String columnName, final String value) throws Exception { - Row row = null; - /** get a reference to the row */ - row = (Row) rows.get(pointer); + Row row = (Row) rows.get(pointer); final List cmds = ParserUtils.getColumnMetaData(row.getMdkey(), columnMD); /** change the value of the column */ row.setValue(ParserUtils.findColumn(columnName, cmds), value); - } /** @@ -846,13 +827,12 @@ * @return double */ public double getDouble(final String column) { - String s = null; final StringBuffer newString = new StringBuffer(); final String[] allowedChars = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ".", "-" }; final Row row = (Row) rows.get(pointer); final List cmds = ParserUtils.getColumnMetaData(row.getMdkey(), columnMD); - s = ((Row) rows.get(pointer)).getValue(ParserUtils.findColumn(column, cmds)); + String s = ((Row) rows.get(pointer)).getValue(ParserUtils.findColumn(column, cmds)); if (!strictNumericParse) { if (s.trim().length() == 0) { @@ -887,13 +867,12 @@ * @return double */ public int getInt(final String column) { - String s = null; final StringBuffer newString = new StringBuffer(); final String[] allowedChars = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-" }; final Row row = (Row) rows.get(pointer); final List cmds = ParserUtils.getColumnMetaData(row.getMdkey(), columnMD); - s = row.getValue(ParserUtils.findColumn(column, cmds)); + String s = row.getValue(ParserUtils.findColumn(column, cmds)); if (!strictNumericParse) { if (s.trim().length() == 0) { @@ -931,11 +910,10 @@ */ public Date getDate(final String column) throws ParseException { final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); - String s = null; final Row row = (Row) rows.get(pointer); final List cmds = ParserUtils.getColumnMetaData(row.getMdkey(), columnMD); - s = row.getValue(ParserUtils.findColumn(column, cmds)); + String s = row.getValue(ParserUtils.findColumn(column, cmds)); return sdf.parse(s); } @@ -953,11 +931,10 @@ * @return Date */ public Date getDate(final String column, final SimpleDateFormat sdf) throws ParseException { - String s = null; final Row row = (Row) rows.get(pointer); final List cmds = ParserUtils.getColumnMetaData(row.getMdkey(), columnMD); - s = row.getValue(ParserUtils.findColumn(column, cmds)); + String s = row.getValue(ParserUtils.findColumn(column, cmds)); return sdf.parse(s); } @@ -991,14 +968,13 @@ * @return String[] */ public String[] getColumns(final String recordID) { - ColumnMetaData column = null; String[] array = null; if (columnMD != null) { final List cmds = ParserUtils.getColumnMetaData(recordID, columnMD); array = new String[cmds.size()]; for (int i = 0; i < cmds.size(); i++) { - column = (ColumnMetaData) cmds.get(i); + ColumnMetaData column = (ColumnMetaData) cmds.get(i); array[i] = column.getColName(); } } @@ -1154,8 +1130,8 @@ // if (columnMD.size() > 1) { // throw new Exception("orderRows does not currently support ordering with <RECORD> mappings"); // } - final List cmds = ParserUtils.getColumnMetaData("detail", columnMD); if (ob != null && rows != null) { + final List cmds = ParserUtils.getColumnMetaData("detail", columnMD); ob.setColumnMD(cmds); Collections.sort(rows, ob); goTop(); @@ -1214,10 +1190,8 @@ * @exception Exception */ public void writeToExcel(final File excelFileToBeWritten) throws Exception { - final ExcelTransformer et = new ExcelTransformer(this, excelFileToBeWritten); et.writeExcelFile(); - } /** @@ -1251,7 +1225,7 @@ return columnMD; } - public void setColumnMD(Map columnMD) { + public void setColumnMD(final Map columnMD) { this.columnMD = columnMD; } @@ -1259,11 +1233,11 @@ return rows; } - public void setRows(List rows) { + public void setRows(final List rows) { this.rows = rows; } - public void setErrors(List errors) { + public void setErrors(final List errors) { this.errors = errors; } } Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java 2006-10-17 20:30:59 UTC (rev 88) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java 2006-10-17 21:23:38 UTC (rev 89) @@ -701,7 +701,7 @@ * @throws IndexOutOfBoundsException if <code>repeat < 0</code> * @see #repeat(String, int) */ - public static String padding(int repeat, char padChar) { + public static String padding(final int repeat, final char padChar) { if (repeat < 0) { throw new IndexOutOfBoundsException("Cannot pad a negative amount: " + repeat); } Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2006-10-17 20:30:59 UTC (rev 88) +++ trunk/src/site/index.xml 2006-10-17 21:23:38 UTC (rev 89) @@ -34,7 +34,7 @@ <p>PZFileReader is part of the ObjectLab Kit family.<a href="http://digg.com/submit?phase=2&url=objectlabkit.sourceforge.net&title=Paul%20Zepernick%20and%20ObjectLab%20have%20released%20version%202%2E3%2E0%20of%20PZFileReader%2E&bodytext=PZFileReader%20on%20SourceForge%3A%20a%20Java%20(1%2E4%2B)%20flat%20file%20parser%20that%20handles%20CSV,%20fixed%20length%20and%20custom%20delimiters%2E%20The%20formats%20are%20configured%20in%20XML%20or%20in%20DB%2E%20Once%20parsed%20the%20data%20is%20easily%20accessible%20record%20by%20record%20and%20via%20a%20column%20name,%20regardless%20of%20order%2E%20%20It%20is%20fast%20and%20released%20under%20Apache%20license%202%2E0%2E&topic=programming"> <img src="http://digg.com/img/badges/91x17-digg-button.png" width="91" height="17" alt="Digg!" style="vertical-align:middle" /></a></p> - <subsection name="Why should you use PZFileParser?"> + <subsection name="Why should you use PZFileReader?"> <p>There is more to it than one could imagine at first sight:</p> <ul> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-10-24 23:33:52
|
Revision: 119 http://svn.sourceforge.net/pzfilereader/?rev=119&view=rev Author: benoitx Date: 2006-10-24 16:33:29 -0700 (Tue, 24 Oct 2006) Log Message: ----------- Optimised the ParserUtils to use char for delimiter and qualifier. I have added deprecated methods for Strings (using only the first character). Could you find out where these are used and remove the call to those and use the char instead. All tests are passed but we should add more... especially with regards to the multi line one... Time to hit the sack! Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java trunk/PZFileReader/src/main/java/net/sf/pzfilereader/LargeDataSet.java trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/ParserUtilsSplitLineTest.java trunk/PZFileReader/src/test/java/net/sf/pzfilereader/utilities/UnitTestUtils.java trunk/PZFileReaderSamples/qalab.xml Property Changed: ---------------- trunk/ trunk/PZFileReaderSamples/ Property changes on: trunk ___________________________________________________________________ Name: svn:ignore - target + target *.log Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-10-24 21:36:11 UTC (rev 118) +++ trunk/PZFileReader/qalab.xml 2006-10-24 23:33:29 UTC (rev 119) @@ -59,6 +59,18 @@ <summaryresult date="2006-10-18" filecount="3" statvalue="116" type="simian"/> <summaryresult date="2006-10-18" filecount="14" statvalue="18" type="cobertura-line"/> <summaryresult date="2006-10-18" filecount="14" statvalue="24" type="cobertura-branch"/> + <summaryresult date="2006-10-20" filecount="19" statvalue="26" type="checkstyle"/> + <summaryresult date="2006-10-20" filecount="3" statvalue="5" type="pmd"/> + <summaryresult date="2006-10-20" filecount="6" statvalue="11" type="findbugs"/> + <summaryresult date="2006-10-20" filecount="3" statvalue="116" type="simian"/> + <summaryresult date="2006-10-20" filecount="14" statvalue="18" type="cobertura-line"/> + <summaryresult date="2006-10-20" filecount="14" statvalue="24" type="cobertura-branch"/> + <summaryresult date="2006-10-25" filecount="19" statvalue="26" type="checkstyle"/> + <summaryresult date="2006-10-25" filecount="3" statvalue="6" type="pmd"/> + <summaryresult date="2006-10-25" filecount="6" statvalue="12" type="findbugs"/> + <summaryresult date="2006-10-25" filecount="3" statvalue="106" type="simian"/> + <summaryresult date="2006-10-25" filecount="14" statvalue="20" type="cobertura-line"/> + <summaryresult date="2006-10-25" filecount="14" statvalue="27" type="cobertura-branch"/> </summary> <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -337,6 +349,10 @@ <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> <result date="2006-10-18" statvalue="3" type="checkstyle"/> <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-20" statvalue="3" type="checkstyle"/> + <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-25" statvalue="3" type="checkstyle"/> + <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_DataSet.java" path="net/sf/pzfilereader/DataSet.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -349,16 +365,32 @@ <result date="2006-10-18" statvalue="2" type="findbugs"/> <result date="2006-10-18" statvalue="21" type="cobertura-line"/> <result date="2006-10-18" statvalue="27" type="cobertura-branch"/> + <result date="2006-10-20" statvalue="5" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="pmd"/> + <result date="2006-10-20" statvalue="2" type="findbugs"/> + <result date="2006-10-20" statvalue="21" type="cobertura-line"/> + <result date="2006-10-20" statvalue="27" type="cobertura-branch"/> + <result date="2006-10-25" statvalue="5" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="pmd"/> + <result date="2006-10-25" statvalue="2" type="findbugs"/> + <result date="2006-10-25" statvalue="21" type="cobertura-line"/> + <result date="2006-10-25" statvalue="27" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_LargeDataSet.java" path="net/sf/pzfilereader/LargeDataSet.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-18" statvalue="4" type="checkstyle"/> + <result date="2006-10-20" statvalue="4" type="checkstyle"/> + <result date="2006-10-25" statvalue="4" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_ordering_OrderBy.java" path="net/sf/pzfilereader/ordering/OrderBy.java"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="2" type="findbugs"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="2" type="findbugs"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_util_ParserUtils.java" path="net/sf/pzfilereader/util/ParserUtils.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -371,6 +403,16 @@ <result date="2006-10-18" statvalue="3" type="findbugs"/> <result date="2006-10-18" statvalue="36" type="cobertura-line"/> <result date="2006-10-18" statvalue="43" type="cobertura-branch"/> + <result date="2006-10-20" statvalue="9" type="checkstyle"/> + <result date="2006-10-20" statvalue="3" type="pmd"/> + <result date="2006-10-20" statvalue="3" type="findbugs"/> + <result date="2006-10-20" statvalue="36" type="cobertura-line"/> + <result date="2006-10-20" statvalue="43" type="cobertura-branch"/> + <result date="2006-10-25" statvalue="9" type="checkstyle"/> + <result date="2006-10-25" statvalue="4" type="pmd"/> + <result date="2006-10-25" statvalue="4" type="findbugs"/> + <result date="2006-10-25" statvalue="43" type="cobertura-line"/> + <result date="2006-10-25" statvalue="52" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_xml_PZMapParser.java" path="net/sf/pzfilereader/xml/PZMapParser.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -379,31 +421,51 @@ <result date="2006-10-18" statvalue="4" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="pmd"/> <result date="2006-10-18" statvalue="1" type="findbugs"/> + <result date="2006-10-20" statvalue="4" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="pmd"/> + <result date="2006-10-20" statvalue="1" type="findbugs"/> + <result date="2006-10-25" statvalue="4" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="pmd"/> + <result date="2006-10-25" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_xml_ResolveLocalDTD.java" path="net/sf/pzfilereader/xml/ResolveLocalDTD.java"> <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-18" statvalue="2" type="findbugs"/> + <result date="2006-10-20" statvalue="2" type="findbugs"/> + <result date="2006-10-25" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_structure_Row.java" path="net/sf/pzfilereader/structure/Row.java"> <result date="2006-10-17" statvalue="1" type="findbugs"/> <result date="2006-10-17" statvalue="44" type="cobertura-line"/> <result date="2006-10-18" statvalue="1" type="findbugs"/> <result date="2006-10-18" statvalue="44" type="cobertura-line"/> + <result date="2006-10-20" statvalue="1" type="findbugs"/> + <result date="2006-10-20" statvalue="44" type="cobertura-line"/> + <result date="2006-10-25" statvalue="1" type="findbugs"/> + <result date="2006-10-25" statvalue="44" type="cobertura-line"/> </file> <file id="net_sf_pzfilereader_structure_ColumnMetaData.java" path="net/sf/pzfilereader/structure/ColumnMetaData.java"> <result date="2006-10-17" statvalue="50" type="cobertura-line"/> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> <result date="2006-10-18" statvalue="50" type="cobertura-line"/> <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-20" statvalue="50" type="cobertura-line"/> + <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-25" statvalue="50" type="cobertura-line"/> + <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_Version.java" path="net/sf/pzfilereader/Version.java"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_xml_XMLRecordElement.java" path="net/sf/pzfilereader/xml/XMLRecordElement.java"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_util_PZConstants.java" path="net/sf/pzfilereader/util/PZConstants.java"> <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> + <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> </file> </qalab> Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-24 21:36:11 UTC (rev 118) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataSet.java 2006-10-24 23:33:29 UTC (rev 119) @@ -205,6 +205,7 @@ * Adds missing columns as empty's to the DataSet instead of * logging them as an error * @exception Exception + * @deprecated use the char version */ public DataSet(final Connection con, final File dataSource, final String dataDefinition, final String delimiter, final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { @@ -238,9 +239,43 @@ * Adds missing columns as empty's to the DataSet instead of * logging them as an error * @exception Exception + * @deprecated qualifier and delimiters should only be char. */ public DataSet(final Connection con, final InputStream dataSourceStream, final String dataDefinition, final String delimiter, final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { + this(con, dataSourceStream, dataDefinition, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier + .charAt(0) : 0, ignoreFirstRecord, handleShortLines); + } + + /** + * New constructor based on InputStream. Constructs a new DataSet using the + * database table file layout method. This is used for a DELIMITED text + * file. esacpe sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param con - + * Connection to database with DATAFILE and DATASTRUCTURE tables + * @param dataSourceStream - + * text file datasource InputStream to read from + * @param dataDefinition - + * Name of dataDefinition in the DATAFILE table DATAFILE_DESC + * column + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param ignoreFirstRecord - + * skips the first line that contains data in the file + * @param handleShortLines - + * Adds missing columns as empty's to the DataSet instead of + * logging them as an error + * @exception Exception + */ + public DataSet(final Connection con, final InputStream dataSourceStream, final String dataDefinition, final char delimiter, + final char qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { super(); this.handleShortLines = handleShortLines; @@ -316,6 +351,7 @@ * Adds missing columns as empty's to the DataSet instead of * logging them as an error * @exception Exception + * @deprecated use the char version */ public DataSet(final File pzmapXML, final File dataSource, final String delimiter, final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { @@ -346,10 +382,41 @@ * Adds missing columns as empty's to the DataSet instead of * logging them as an error * @exception Exception + * @deprecated use the char version */ public DataSet(final InputStream pzmapXMLStream, final InputStream dataSourceStream, final String delimiter, final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { + this(pzmapXMLStream, dataSourceStream, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier + .charAt(0) : 0, ignoreFirstRecord, handleShortLines); + } + /** + * New constructor based on InputStream. Constructs a new DataSet using the + * PZMAP XML file layout method. This is used for a DELIMITED text file. + * esacpe sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param pzmapXMLStream - + * Reference to the xml file holding the pzmap + * @param dataSourceStream - + * text file datasource InputStream to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param ignoreFirstRecord - + * skips the first line that contains data in the file + * @param handleShortLines - + * Adds missing columns as empty's to the DataSet instead of + * logging them as an error + * @exception Exception + */ + public DataSet(final InputStream pzmapXMLStream, final InputStream dataSourceStream, final char delimiter, + final char qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { + this.handleShortLines = handleShortLines; columnMD = PZMapParser.parse(pzmapXMLStream); @@ -376,10 +443,38 @@ * of column headers will be added as empty's instead of * producing an error * @exception Exception + * @deprecated */ public DataSet(final File dataSource, final String delimiter, final String qualifier, final boolean handleShortLines) throws Exception { + this(dataSource, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier.charAt(0) : 0, + handleShortLines); + } + /** + * Constructs a new DataSet using the first line of data found in the text + * file as the column names. This is used for a DELIMITED text file. esacpe + * sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param dataSource - + * text file datasource to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param handleShortLines - + * when flaged as true, lines with less columns then the amount + * of column headers will be added as empty's instead of + * producing an error + * @exception Exception + */ + public DataSet(final File dataSource, final char delimiter, final char qualifier, final boolean handleShortLines) + throws Exception { + this.handleShortLines = handleShortLines; InputStream dataSourceStream = null; @@ -413,10 +508,38 @@ * of column headers will be added as empty's instead of * producing an error * @exception Exception + * @deprecated */ public DataSet(final InputStream dataSource, final String delimiter, final String qualifier, final boolean handleShortLines) throws Exception { + this(dataSource, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier.charAt(0) : 0, + handleShortLines); + } + /** + * Constructs a new DataSet using the first line of data found in the text + * file as the column names. This is used for a DELIMITED text file. esacpe + * sequence reference: \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param dataSource - + * text file InputStream to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param handleShortLines - + * when flaged as true, lines with less columns then the amount + * of column headers will be added as empty's instead of + * producing an error + * @exception Exception + */ + public DataSet(final InputStream dataSource, final char delimiter, final char qualifier, final boolean handleShortLines) + throws Exception { + this.handleShortLines = handleShortLines; try { @@ -556,7 +679,7 @@ * puts together the dataset for a DELIMITED file. This is used for PZ XML * mappings, and SQL table mappings */ - private void doDelimitedFile(final InputStream dataSource, final String delimiter, final String qualifier, + private void doDelimitedFile(final InputStream dataSource, final char delimiter, final char qualifier, final boolean ignoreFirstRecord, final boolean createMDFromFile) throws Exception { if (dataSource == null) { throw new NullPointerException("dataSource is null"); @@ -606,7 +729,7 @@ // be checked if we have specified a delimiter // ******************************************************** final char[] chrArry = line.trim().toCharArray(); - if (!processingMultiLine && delimiter != null && delimiter.trim().length() > 0) { + if (!processingMultiLine && delimiter > 0) { processingMultiLine = ParserUtils.isMultiLine(chrArry, delimiter, qualifier); } @@ -619,7 +742,8 @@ // excel will escape these with another quote; here is some // data "" This would indicate // there is more to the multiline - if (line.trim().endsWith(qualifier) && !line.trim().endsWith(qualifier + qualifier)) { + String trimmed = line.trim(); + if (trimmed.charAt(trimmed.length() - 1) == qualifier && !trimmed.endsWith("" + qualifier + qualifier)) { // it is safe to assume we have reached the end of the // line break processingMultiLine = false; @@ -645,7 +769,7 @@ // delimiter, then we have reached the end // of // the record - if (chrArry[i] == delimiter.charAt(0)) { + if (chrArry[i] == delimiter) { // processingMultiLine = false; // fix put in, setting to false caused // bug when processing multiple @@ -657,7 +781,7 @@ qualiFound = false; continue; } - } else if (chrArry[i] == qualifier.charAt(0)) { + } else if (chrArry[i] == qualifier) { qualiFound = true; } } @@ -1186,8 +1310,11 @@ } /** - * Erases the dataset early and releases memory for the JVM to reclaim, this invalidates the object. - * @deprecated You can still use it but truly you should keep the scope of the DataSet to a MINIMUM. + * Erases the dataset early and releases memory for the JVM to reclaim, this + * invalidates the object. + * + * @deprecated You can still use it but truly you should keep the scope of + * the DataSet to a MINIMUM. */ public void freeMemory() { if (rows != null) { Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/LargeDataSet.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/LargeDataSet.java 2006-10-24 21:36:11 UTC (rev 118) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/LargeDataSet.java 2006-10-24 23:33:29 UTC (rev 119) @@ -60,9 +60,9 @@ private boolean processedFirst = false; - private String delimiter = null; + private char delimiter = 0; - private String qualifier = null; + private char qualifier = 0; private int columnCount = 0; @@ -96,10 +96,42 @@ * Adds missing columns as empty's to the DataSet instead of * logging them as an error * @exception Exception + * @deprecated use the char version. */ public LargeDataSet(final InputStream pzmapXMLStream, final InputStream dataSourceStream, final String delimiter, final String qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { + this(pzmapXMLStream, dataSourceStream, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier + .charAt(0) : 0, ignoreFirstRecord, handleShortLines); + } + /** + * Constructor based on InputStream. Constructs a new LargeDataSet using the + * PZMAP XML file layout method. This is used for a DELIMITED text file. + * esacpe sequence reference:<br> + * \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param pzmapXMLStream - + * Reference to the xml file holding the pzmap + * @param dataSourceStream - + * text file datasource InputStream to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param ignoreFirstRecord - + * skips the first line that contains data in the file + * @param handleShortLines - + * Adds missing columns as empty's to the DataSet instead of + * logging them as an error + * @exception Exception + */ + public LargeDataSet(final InputStream pzmapXMLStream, final InputStream dataSourceStream, final char delimiter, + final char qualifier, final boolean ignoreFirstRecord, final boolean handleShortLines) throws Exception { + this.fileType = DELIMITED_FILE; this.is = dataSourceStream; this.isr = new InputStreamReader(is); @@ -133,9 +165,38 @@ * of column headers will be added as empty's instead of * producing an error * @exception Exception + * @deprecated use the char version */ public LargeDataSet(final File dataSource, final String delimiter, final String qualifier, final boolean handleShortLines) throws Exception { + this(dataSource, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier.charAt(0) : 0, + handleShortLines); + } + + /** + * Constructs a new LargeDataSet using the first line of data found in the + * text file as the column names. This is used for a DELIMITED text file. + * esacpe sequence reference:<br> + * \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param dataSource - + * text file datasource to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param handleShortLines - + * when flaged as true, lines with less columns then the amount + * of column headers will be added as empty's instead of + * producing an error + * @exception Exception + */ + public LargeDataSet(final File dataSource, final char delimiter, final char qualifier, final boolean handleShortLines) + throws Exception { this(ParserUtils.createInputStream(dataSource), delimiter, qualifier, handleShortLines); } @@ -160,9 +221,39 @@ * of column headers will be added as empty's instead of * producing an error * @exception Exception + * @deprecated use the char version */ public LargeDataSet(final InputStream dataSource, final String delimiter, final String qualifier, final boolean handleShortLines) throws Exception { + this(dataSource, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier.charAt(0) : 0, + handleShortLines); + } + + /** + * Constructs a new LargeDataSet using the first line of data found in the + * text file as the column names. This is used for a DELIMITED text file. + * esacpe sequence reference:<br> + * \n newline <br> + * \t tab <br> + * \b backspace <br> + * \r return <br> + * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote + * + * @param dataSource - + * text file datasource to read from + * @param delimiter - + * Char the file is delimited By + * @param qualifier - + * Char text is qualified by + * @param handleShortLines - + * when flaged as true, lines with less columns then the amount + * of column headers will be added as empty's instead of + * producing an error + * @exception Exception + */ + public LargeDataSet(final InputStream dataSource, final char delimiter, final char qualifier, final boolean handleShortLines) + throws Exception { + this.fileType = DELIMITED_FILE; setHandleShortLines(handleShortLines); this.is = dataSource; @@ -342,8 +433,9 @@ /** loop through each line in the file */ while ((line = br.readLine()) != null) { lineCount++; + String trimmed = line.trim(); /** empty line skip past it */ - if (!processingMultiLine && line.trim().length() == 0) { + if (!processingMultiLine && trimmed.length() == 0) { continue; } // check to see if the user has elected to skip the first record @@ -362,8 +454,8 @@ // any line breaks in the middle of the record, this will only // be checked if we have specified a delimiter // ******************************************************** - final char[] chrArry = line.trim().toCharArray(); - if (!processingMultiLine && delimiter != null && delimiter.trim().length() > 0) { + final char[] chrArry = trimmed.toCharArray(); + if (!processingMultiLine && delimiter > 0) { processingMultiLine = ParserUtils.isMultiLine(chrArry, delimiter, qualifier); } @@ -376,7 +468,7 @@ // excel will escape these with another quote; here is some data // "" This would indicate // there is more to the multiline - if (line.trim().endsWith(qualifier) && !line.trim().endsWith(qualifier + qualifier)) { + if (trimmed.charAt(trimmed.length() - 1) == qualifier && !trimmed.endsWith("" + qualifier + qualifier)) { // it is safe to assume we have reached the end of the line // break processingMultiLine = false; @@ -401,7 +493,7 @@ // not a space, if this char is the delimiter, // then we have reached the end of // the record - if (chrArry[i] == delimiter.charAt(0)) { + if (chrArry[i] == delimiter) { // processingMultiLine = false; // fix put in, setting to false caused bug // when processing multiple multi-line @@ -412,7 +504,7 @@ qualiFound = false; continue; } - } else if (chrArry[i] == qualifier.charAt(0)) { + } else if (chrArry[i] == qualifier) { qualiFound = true; } } Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java 2006-10-24 21:36:11 UTC (rev 118) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/util/ParserUtils.java 2006-10-24 23:33:29 UTC (rev 119) @@ -44,6 +44,17 @@ } /** + * @deprecated should only use the splitLine with a CHAR. + * @param line + * @param delimiter + * @param qualifier + * @return + */ + public static List splitLine(String line, final String delimiter, final String qualifier) { + return splitLine(line, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier.charAt(0) : 0); + } + + /** * Returns an ArrayList of items in a delimited string. If there is no * qualifier around the text, the qualifier parameter can be left null, or * empty. There should not be any line breaks in the string. Each line of @@ -57,7 +68,7 @@ * qualifier which is surrounding the text * @return ArrayList */ - public static List splitLine(String line, final String delimiter, final String qualifier) { + public static List splitLine(String line, final char delimiter, final char qualifier) { final ArrayList list = new ArrayList(); // String temp = ""; boolean beginQualifier = false; @@ -73,12 +84,13 @@ // line which has not yet been read // check to see if there is a text qualifier final char currentChar = line.charAt(i); - if (qualifier != null && qualifier.trim().length() > 0) { - if (line.substring(i, i + 1).equals(qualifier) && !beginQualifier && !beginNoQualifier) { + final String currentString = String.valueOf(currentChar); + if (qualifier > 0) { + if (currentChar == qualifier && !beginQualifier && !beginNoQualifier) { // begining of a set of data beginQualifier = true; - } else if (!beginQualifier && !beginNoQualifier && !line.substring(i, i + 1).equals(qualifier) - && !lTrim(remainderOfLine).startsWith(qualifier)) { + } else if (!beginQualifier && !beginNoQualifier && currentChar != qualifier + && lTrim(remainderOfLine).charAt(0) != qualifier) { // try to account for empty space before qualifier starts // we have not yet begun a qualifier and the char we are on // is NOT @@ -87,18 +99,18 @@ // make sure that this is not just an empty column with no // qualifiers. ie // "data",,"data" - if (line.substring(i, i + 1).equals(delimiter)) { + if (currentChar == delimiter) { list.add(sb.toString()); sb.delete(0, sb.length()); beginNoQualifier = false; continue;// grab the next char } sb.append(currentChar); - } else if ((!beginNoQualifier) && line.substring(i, i + 1).equals(qualifier) && beginQualifier - && (lTrim(line.substring(i + 1)).length() == 0 + } else if (!beginNoQualifier && currentChar == qualifier && beginQualifier + && (i == line.length() - 1 || lTrim(remainderOfLine.substring(1)).length() == 0 // this will be true on empty undelmited columns at the // end of theline - || lTrimKeepTabs(line.substring(i + 1)).substring(0, 1).equals(delimiter))) { + || lTrimKeepTabs(remainderOfLine).charAt(1) == delimiter)) { // end of a set of data that was qualified list.add(sb.toString()); sb.delete(0, sb.length()); @@ -116,7 +128,7 @@ } else { i += offset; } - } else if (beginNoQualifier && line.substring(i, i + 1).equals(delimiter)) { + } else if (beginNoQualifier && currentChar == delimiter) { // check to see if we are done with an element that was not // being qulified list.add(sb.toString()); @@ -130,7 +142,7 @@ } else { // not using a qualifier. Using a delimiter only - if (line.substring(i, i + 1).equals(delimiter)) { + if (currentChar == delimiter) { list.add(sb.toString()); sb.delete(0, sb.length()); } else { @@ -139,17 +151,21 @@ } } + // + this needs to be revisited... + String trimmed = sb.toString().trim(); // remove the ending text qualifier if needed - if (qualifier != null && qualifier.trim().length() > 0 && sb.toString().trim().length() > 0) { - if (sb.toString().trim().substring(sb.toString().trim().length() - 1).equals(qualifier)) { - final String s = sb.toString().trim().substring(0, sb.toString().trim().length() - 1); + if (qualifier > 0 && trimmed.length() > 0) { + if (trimmed.charAt(trimmed.length() - 1) == qualifier) { + final String s = trimmed.substring(0, trimmed.length() - 1); sb.delete(0, sb.length()); sb.append(s); } } - if (qualifier == null || qualifier.trim().length() == 0 || beginQualifier || beginNoQualifier - || line.trim().endsWith(delimiter)) { + String trimmed2 = line.trim(); + int lengthLeft = trimmed2.length(); + if (qualifier <= 0 || beginQualifier || beginNoQualifier || lengthLeft > 0 + && trimmed2.charAt(lengthLeft - 1) == delimiter) { // also account for a delimiter with an empty column at the end that // was not qualified // check to see if we need to add the last column in..this will @@ -173,7 +189,7 @@ * @return int */ - public static int getDelimiterOffset(final String line, final int start, final String delimiter) { + public static int getDelimiterOffset(final String line, final int start, final char delimiter) { int idx = line.indexOf(delimiter, start); if (idx >= 0) { // idx++; @@ -338,7 +354,7 @@ continue; } - lineData = splitLine(line, delimiter, qualifier); + lineData = splitLine(line, delimiter.charAt(0), qualifier.charAt(0)); for (int i = 0; i < lineData.size(); i++) { final ColumnMetaData cmd = new ColumnMetaData(); cmd.setColName((String) lineData.get(i)); @@ -375,7 +391,7 @@ * @exception Exception * @return ArrayList - ColumnMetaData */ - public static Map getColumnMDFromFile(final String line, final String delimiter, final String qualifier) throws Exception { + public static Map getColumnMDFromFile(final String line, final char delimiter, final char qualifier) throws Exception { List lineData = null; final List results = new ArrayList(); final Map columnMD = new LinkedHashMap(); @@ -420,7 +436,7 @@ continue; } - lineData = splitLine(line, delimiter, qualifier); + lineData = splitLine(line, delimiter.charAt(0), qualifier.charAt(0)); for (int i = 0; i < lineData.size(); i++) { final ColumnMetaData cmd = new ColumnMetaData(); cmd.setColName((String) lineData.get(i)); @@ -471,12 +487,28 @@ * @param qualifier - * qualifier being used * @return boolean + * @deprecated use the char version */ public static boolean isMultiLine(final char[] chrArry, final String delimiter, final String qualifier) { + return isMultiLine(chrArry, delimiter != null ? delimiter.charAt(0) : 0, qualifier != null ? qualifier.charAt(0) : 0); + } + /** + * Determines if the given line is the first part of a multiline record + * + * @param chrArry - + * char data of the line + * @param delimiter - + * delimiter being used + * @param qualifier - + * qualifier being used + * @return boolean + */ + public static boolean isMultiLine(final char[] chrArry, final char delimiter, final char qualifier) { + // check if the last char is the qualifier, if so then this a good // chance it is not multiline - if (chrArry[chrArry.length - 1] != qualifier.charAt(0)) { + if (chrArry[chrArry.length - 1] != qualifier) { // could be a potential line break boolean qualiFound = false; for (int i = chrArry.length - 1; i >= 0; i--) { @@ -490,13 +522,13 @@ // not a space, if this char is the delimiter, then we // have a line break // in the record - if (chrArry[i] == delimiter.charAt(0)) { + if (chrArry[i] == delimiter) { return true; } qualiFound = false; continue; } - } else if (chrArry[i] == delimiter.charAt(0)) { + } else if (chrArry[i] == delimiter) { // if we have a delimiter followed by a qualifier, then we // have moved on // to a new element and this could not be multiline. start a @@ -505,13 +537,13 @@ for (int j = i - 1; j >= 0; j--) { if (chrArry[j] == ' ') { continue; - } else if (chrArry[j] == qualifier.charAt(0)) { + } else if (chrArry[j] == qualifier) { return false; } break; } - } else if (chrArry[i] == qualifier.charAt(0)) { + } else if (chrArry[i] == qualifier) { qualiFound = true; } } @@ -529,7 +561,7 @@ // the delimiter and qualifier continue; } - if (chrArry[i] == delimiter.charAt(0)) { + if (chrArry[i] == delimiter) { return true; } break; @@ -678,6 +710,7 @@ /** * Use this method to find the index of a column. + * * @author Benoit Xhenseval * @param key * @param columnMD @@ -759,9 +792,9 @@ * </p> * * <pre> - * StringUtils.padding(0, 'e') = "" - * StringUtils.padding(3, 'e') = "eee" - * StringUtils.padding(-2, 'e') = IndexOutOfBoundsException + * StringUtils.padding(0, 'e') = "" + * StringUtils.padding(3, 'e') = "eee" + * StringUtils.padding(-2, 'e') = IndexOutOfBoundsException * </pre> * * <p> @@ -794,6 +827,7 @@ /** * Build a map of name/position based on a list of ColumnMetaData. + * * @author Benoit Xhenseval * @param columns * @return a new Map @@ -805,7 +839,8 @@ int idx = 0; for (final Iterator it = columns.iterator(); it.hasNext(); idx++) { final ColumnMetaData meta = (ColumnMetaData) it.next(); - //map.put(meta.getColName(), Integer.valueOf(idx)); breaks 1.4 compile + // map.put(meta.getColName(), Integer.valueOf(idx)); breaks 1.4 + // compile map.put(meta.getColName(), new Integer(idx)); } } Modified: trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/ParserUtilsSplitLineTest.java =================================================================== --- trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/ParserUtilsSplitLineTest.java 2006-10-24 21:36:11 UTC (rev 118) +++ trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/ParserUtilsSplitLineTest.java 2006-10-24 23:33:29 UTC (rev 119) @@ -7,127 +7,100 @@ import junit.framework.TestCase; /** - * Test the functionality of the splitLine method. This method returns - * a List of Strings. Each element of the list represents a column created - * by the parser from the delimited String. + * Test the functionality of the splitLine method. This method returns a List of + * Strings. Each element of the list represents a column created by the parser + * from the delimited String. * - * @author Paul Zepernick + * @author Paul Zepernick */ -public class ParserUtilsSplitLineTest extends TestCase{ - private static final String[] DELIMITED_DATA_NO_BREAKS = {"Column 1","Column 2", "Column 3", "Column 4", "Column 5"}; - private static final String[] DELIMITED_DATA_WITH_BREAKS = {"Column 1 \r\n\r\n Test After Break \r\n Another Break", - "Column 2", - "Column 3 \r\n\r\n Test After Break", - "Column 4", - "Column 5 \r\n\r\n Test After Break\r\n Another Break"}; - //TODO think of a situation that actually breaks the parse. This still works because of the way it is coded - //to handle the excel CSV. Excel CSV has some elements qualified and others not +public class ParserUtilsSplitLineTest extends TestCase { + private static final String[] DELIMITED_DATA_NO_BREAKS = { "Column 1", "Column 2", "Column 3", "Column 4", "Column 5" }; + + private static final String[] DELIMITED_DATA_WITH_BREAKS = { "Column 1 \r\n\r\n Test After Break \r\n Another Break", + "Column 2", "Column 3 \r\n\r\n Test After Break", "Column 4", "Column 5 \r\n\r\n Test After Break\r\n Another Break" }; + + // TODO think of a situation that actually breaks the parse. This still + // works because of the way it is coded + // to handle the excel CSV. Excel CSV has some elements qualified and others + // not private static final String DELIMITED_BAD_DATA = "\"column 1\",\"column 2 ,\"column3\""; - - //0 = delimiter - //1 = qualifier - private static final String[][] DELIM_QUAL_PAIR = { - {",","\""}, - {"\t","\""}, - {"|","\""}, - {"_","\""}, - {",",null}, - {"|",null}, - {"\t",null}, - }; - + + // 0 = delimiter + // 1 = qualifier + private static final char[][] DELIM_QUAL_PAIR = { { ',', '\"' }, { '\t', '\"' }, { '|', '\"' }, { '_', '\"' }, { ',', 0 }, + { '|', 0 }, { '\t', 0 } }; + /** * Test without any line breaks - * + * */ - public void testNoLineBreaks(){ - //loop down all delimiter qualifier pairs to test - for (int i = 0; i < DELIM_QUAL_PAIR.length; i++){ - final String d = DELIM_QUAL_PAIR[i][0]; - final String q = DELIM_QUAL_PAIR[i][1]; - - final String txtToParse; - if (q == null){ - txtToParse = UnitTestUtils.buildDelimString(DELIMITED_DATA_NO_BREAKS, - d.charAt(0)); - }else{ - txtToParse = UnitTestUtils.buildDelimString(DELIMITED_DATA_NO_BREAKS, - d.charAt(0), - q.charAt(0)); - } - - final List splitLineResults = ParserUtils.splitLine(txtToParse.toString(), - d, q); - - - //check to make sure we have the same amount of elements which were expected - assertEquals("Did Not Get Amount Of Elements Expected (d = " + d + " q = " + q + ")", + public void testNoLineBreaks() { + // loop down all delimiter qualifier pairs to test + for (int i = 0; i < DELIM_QUAL_PAIR.length; i++) { + final char d = DELIM_QUAL_PAIR[i][0]; + final char q = DELIM_QUAL_PAIR[i][1]; + + final String txtToParse = UnitTestUtils.buildDelimString(DELIMITED_DATA_NO_BREAKS, d, q); + + final List splitLineResults = ParserUtils.splitLine(txtToParse, d, q); + + // check to make sure we have the same amount of elements which were + // expected + assertEquals("Did Not Get Amount Of Elements Expected (d = [" + d + "] q = [" + q + "] txt [" + txtToParse + "])", DELIMITED_DATA_NO_BREAKS.length, splitLineResults.size()); - - //loop through each value and compare what came back - for (int j = 0 ; j < DELIMITED_DATA_NO_BREAKS.length; j ++){ - assertEquals("Data Element Value Does Not Match (d = " + d + " q = " + q + ")", - DELIMITED_DATA_NO_BREAKS[j], (String)splitLineResults.get(j)); + + // loop through each value and compare what came back + for (int j = 0; j < DELIMITED_DATA_NO_BREAKS.length; j++) { + assertEquals("Data Element Value Does Not Match (d = [" + d + "] q = [" + q + "] txt [" + txtToParse + "])", + DELIMITED_DATA_NO_BREAKS[j], (String) splitLineResults.get(j)); } } - - + } - + /** * Test without any line breaks - * + * */ - public void testLineBreaks(){ - //loop down all delimiter qualifier pairs to test - for (int i = 0; i < DELIM_QUAL_PAIR.length; i++){ - final String d = DELIM_QUAL_PAIR[i][0]; - final String q = DELIM_QUAL_PAIR[i][1]; - - final String txtToParse; - if (DELIM_QUAL_PAIR[i][1] == null){ - txtToParse = UnitTestUtils.buildDelimString(DELIMITED_DATA_WITH_BREAKS, - DELIM_QUAL_PAIR[i][0].charAt(0)); - }else{ - txtToParse = UnitTestUtils.buildDelimString(DELIMITED_DATA_WITH_BREAKS, - DELIM_QUAL_PAIR[i][0].charAt(0), - DELIM_QUAL_PAIR[i][1].charAt(0)); - } - - final List splitLineResults = ParserUtils.splitLine(txtToParse.toString(), - DELIM_QUAL_PAIR[i][0], DELIM_QUAL_PAIR[i][1]); - - - //check to make sure we have the same amount of elements which were expected + public void testLineBreaks() { + // loop down all delimiter qualifier pairs to test + for (int i = 0; i < DELIM_QUAL_PAIR.length; i++) { + final char d = DELIM_QUAL_PAIR[i][0]; + final char q = DELIM_QUAL_PAIR[i][1]; + + final String txtToParse = UnitTestUtils.buildDelimString(DELIMITED_DATA_WITH_BREAKS, d, q); + + final List splitLineResults = ParserUtils.splitLine(txtToParse.toString(), d, q); + + // check to make sure we have the same amount of elements which were + // expected assertEquals("Did Not Get Amount Of Elements Expected (d = " + d + " q = " + q + ")", DELIMITED_DATA_WITH_BREAKS.length, splitLineResults.size()); - - //loop through each value and compare what came back - for (int j = 0 ; j < DELIMITED_DATA_WITH_BREAKS.length; j ++){ - assertEquals("Data Element Value Does Not Match (d = " + d + " q = " + q + ")", - DELIMITED_DATA_WITH_BREAKS[j], (String)splitLineResults.get(j)); + + // loop through each value and compare what came back + for (int j = 0; j < DELIMITED_DATA_WITH_BREAKS.length; j++) { + assertEquals("Data Element Value Does Not Match (d = " + d + " q = " + q + ")", DELIMITED_DATA_WITH_BREAKS[j], + (String) splitLineResults.get(j)); } - + } } - + /** - * Test to make sure we get the correct amount of elements for malformed data + * Test to make sure we get the correct amount of elements for malformed + * data * * @param args */ - public void testMalformedData(){ - final List splitLineResults = ParserUtils.splitLine(DELIMITED_BAD_DATA, - ",", "\""); - - - assertEquals("Expecting 2 Data Elements From The Malformed Data", - 2, splitLineResults.size()); - + public void testMalformedData() { + final List splitLineResults = ParserUtils.splitLine(DELIMITED_BAD_DATA, ',', '\"'); + + assertEquals("Expecting 2 Data Elements From The Malformed Data", 2, splitLineResults.size()); + } - + public static void main(final String[] args) { junit.textui.TestRunner.run(ParserUtilsSplitLineTest.class); } - + } Modified: trunk/PZFileReader/src/test/java/net/sf/pzfilereader/utilities/UnitTestUtils.java =================================================================== --- trunk/PZFileReader/src/test/java/net/sf/pzfilereader/utilities/UnitTestUtils.java 2006-10-24 21:36:11 UTC (rev 118) +++ trunk/PZFileReader/src/test/java/net/sf/pzfilereader/utilities/UnitTestUtils.java 2006-10-24 23:33:29 UTC (rev 119) @@ -6,46 +6,30 @@ * @author Paul Zepernick */ public class UnitTestUtils { - + /** * Builds a delimited qualified string containing the elements passed in * * @param elements - * Elements To Include In Delimited String + * Elements To Include In Delimited String * @param delimiter * @param qualifier * @return String */ - public static String buildDelimString(final String[] elements, final char delimiter, final char qualifier){ + public static String buildDelimString(final String[] elements, final char delimiter, final char qualifier) { final StringBuffer sb = new StringBuffer(); - for (int i = 0; i < elements.length; i++){ - if (i > 0){ + for (int i = 0; i < elements.length; i++) { + if (i > 0) { sb.append(delimiter); } - sb.append(qualifier).append(elements[i]).append(qualifier); + if (qualifier != 0) { + sb.append(qualifier); + } + sb.append(elements[i]); + if (qualifier != 0) { + sb.append(qualifier); + } } - - return sb.toString(); } - - /** Builds a delimited string containing the elements passed in - * - * @param elements - * Elements To Include In Delimited String - * @param delimiter - * @return String - */ - public static String buildDelimString(final String[] elements, final char delimiter){ - final StringBuffer sb = new StringBuffer(); - for (int i = 0; i < elements.length; i++){ - if (i > 0) { - sb.append(delimiter); - } - sb.append(elements[i]); - } - - - return sb.toString(); - } } Property changes on: trunk/PZFileReaderSamples ___________________________________________________________________ Name: svn:ignore - target + target velocity.log ydocErr.log Modified: trunk/PZFileReaderSamples/qalab.xml =================================================================== --- trunk/PZFileReaderSamples/qalab.xml 2006-10-24 21:36:11 UTC (rev 118) +++ trunk/PZFileReaderSamples/qalab.xml 2006-10-24 23:33:29 UTC (rev 119) @@ -29,6 +29,14 @@ <summaryresult date="2006-10-18" filecount="2" statvalue="2" type="pmd"/> <summaryresult date="2006-10-18" filecount="6" statvalue="8" type="findbugs"/> <summaryresult date="2006-10-18" filecount="6" statvalue="78" type="simian"/> + <summaryresult date="2006-10-20" filecount="34" statvalue="151" type="checkstyle"/> + <summaryresult date="2006-10-20" filecount="2" statvalue="2" type="pmd"/> + <summaryresult date="2006-10-20" filecount="6" statvalue="8" type="findbugs"/> + <summaryresult date="2006-10-20" filecount="6" statvalue="78" type="simian"/> + <summaryresult date="2006-10-25" filecount="34" statvalue="160" type="checkstyle"/> + <summaryresult date="2006-10-25" filecount="2" statvalue="2" type="pmd"/> + <summaryresult date="2006-10-25" filecount="6" statvalue="8" type="findbugs"/> + <summaryresult date="2006-10-25" filecount="6" statvalue="110" type="simian"/> </summary> <file id="com_pz_reader_examples_numericsanddates_package.html" path="com/pz/reader/examples/numericsanddates/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> @@ -159,83 +167,119 @@ <file id="net_sf_pzfilereader_examples_package.html" path="net/sf/pzfilereader/examples/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" path="net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" path="net/sf/pzfilereader/examples/multilinedelimitedrecord/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_numericsanddates_package.html" path="net/sf/pzfilereader/examples/numericsanddates/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" path="net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" path="net/sf/pzfilereader/examples/delimiteddynamiccolumns/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_exporttoexcel_package.html" path="net/sf/pzfilereader/examples/exporttoexcel/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" path="net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> + <result date="2006-10-20" statvalue="1" type="checkstyle"/> + <result date="2006-10-25" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_createsamplecsv_package.html" path="net/sf/pzfilereader/exampl... [truncated message content] |
From: <be...@us...> - 2006-11-21 10:30:39
|
Revision: 177 http://svn.sourceforge.net/pzfilereader/?rev=177&view=rev Author: benoitx Date: 2006-11-21 02:30:37 -0800 (Tue, 21 Nov 2006) Log Message: ----------- qalab stats Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReaderSamples/qalab.xml trunk/common-build/project.properties Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-11-12 12:33:33 UTC (rev 176) +++ trunk/PZFileReader/qalab.xml 2006-11-21 10:30:37 UTC (rev 177) @@ -71,6 +71,12 @@ <summaryresult date="2006-10-25" filecount="3" statvalue="106" type="simian"/> <summaryresult date="2006-10-25" filecount="14" statvalue="20" type="cobertura-line"/> <summaryresult date="2006-10-25" filecount="14" statvalue="27" type="cobertura-branch"/> + <summaryresult date="2006-11-02" filecount="35" statvalue="51" type="checkstyle"/> + <summaryresult date="2006-11-02" filecount="4" statvalue="6" type="pmd"/> + <summaryresult date="2006-11-02" filecount="10" statvalue="15" type="findbugs"/> + <summaryresult date="2006-11-02" filecount="10" statvalue="439" type="simian"/> + <summaryresult date="2006-11-02" filecount="30" statvalue="23" type="cobertura-line"/> + <summaryresult date="2006-11-02" filecount="30" statvalue="30" type="cobertura-branch"/> </summary> <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> @@ -353,6 +359,8 @@ <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> <result date="2006-10-25" statvalue="3" type="checkstyle"/> <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-02" statvalue="3" type="checkstyle"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_DataSet.java" path="net/sf/pzfilereader/DataSet.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -375,12 +383,17 @@ <result date="2006-10-25" statvalue="2" type="findbugs"/> <result date="2006-10-25" statvalue="21" type="cobertura-line"/> <result date="2006-10-25" statvalue="27" type="cobertura-branch"/> + <result date="2006-11-02" statvalue="3" type="checkstyle"/> + <result date="2006-11-02" statvalue="2" type="findbugs"/> + <result date="2006-11-02" statvalue="13" type="cobertura-line"/> + <result date="2006-11-02" statvalue="17" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_LargeDataSet.java" path="net/sf/pzfilereader/LargeDataSet.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-18" statvalue="4" type="checkstyle"/> <result date="2006-10-20" statvalue="4" type="checkstyle"/> <result date="2006-10-25" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="3" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_ordering_OrderBy.java" path="net/sf/pzfilereader/ordering/OrderBy.java"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> @@ -391,6 +404,8 @@ <result date="2006-10-20" statvalue="2" type="findbugs"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="2" type="findbugs"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_util_ParserUtils.java" path="net/sf/pzfilereader/util/ParserUtils.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -413,6 +428,11 @@ <result date="2006-10-25" statvalue="4" type="findbugs"/> <result date="2006-10-25" statvalue="43" type="cobertura-line"/> <result date="2006-10-25" statvalue="52" type="cobertura-branch"/> + <result date="2006-11-02" statvalue="10" type="checkstyle"/> + <result date="2006-11-02" statvalue="3" type="pmd"/> + <result date="2006-11-02" statvalue="3" type="findbugs"/> + <result date="2006-11-02" statvalue="47" type="cobertura-line"/> + <result date="2006-11-02" statvalue="57" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_xml_PZMapParser.java" path="net/sf/pzfilereader/xml/PZMapParser.java"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> @@ -427,12 +447,16 @@ <result date="2006-10-25" statvalue="4" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="pmd"/> <result date="2006-10-25" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_xml_ResolveLocalDTD.java" path="net/sf/pzfilereader/xml/ResolveLocalDTD.java"> <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-18" statvalue="2" type="findbugs"/> <result date="2006-10-20" statvalue="2" type="findbugs"/> <result date="2006-10-25" statvalue="2" type="findbugs"/> + <result date="2006-11-02" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_structure_Row.java" path="net/sf/pzfilereader/structure/Row.java"> <result date="2006-10-17" statvalue="1" type="findbugs"/> @@ -443,6 +467,8 @@ <result date="2006-10-20" statvalue="44" type="cobertura-line"/> <result date="2006-10-25" statvalue="1" type="findbugs"/> <result date="2006-10-25" statvalue="44" type="cobertura-line"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="43" type="cobertura-line"/> </file> <file id="net_sf_pzfilereader_structure_ColumnMetaData.java" path="net/sf/pzfilereader/structure/ColumnMetaData.java"> <result date="2006-10-17" statvalue="50" type="cobertura-line"/> @@ -453,12 +479,15 @@ <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> <result date="2006-10-25" statvalue="50" type="cobertura-line"/> <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-02" statvalue="66" type="cobertura-line"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_Version.java" path="net/sf/pzfilereader/Version.java"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> </file> <file id="net_sf_pzfilereader_xml_XMLRecordElement.java" path="net/sf/pzfilereader/xml/XMLRecordElement.java"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> @@ -467,5 +496,75 @@ <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> </file> + <file id="net_sf_pzfilereader_AbstractDelimiterPZParser.java" path="net/sf/pzfilereader/AbstractDelimiterPZParser.java"> + <result date="2006-11-02" statvalue="7" type="checkstyle"/> + <result date="2006-11-02" statvalue="49" type="cobertura-line"/> + <result date="2006-11-02" statvalue="57" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_DelimiterPZParser.java" path="net/sf/pzfilereader/DelimiterPZParser.java"> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="32" type="cobertura-line"/> + <result date="2006-11-02" statvalue="75" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_FixedLengthPZParser.java" path="net/sf/pzfilereader/FixedLengthPZParser.java"> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> + </file> + <file id="net_sf_pzfilereader_IDataSet.java" path="net/sf/pzfilereader/IDataSet.java"> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> + <result date="2006-11-02" statvalue="100" type="cobertura-line"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_util_BXParser.java" path="net/sf/pzfilereader/util/BXParser.java"> + <result date="2006-11-02" statvalue="9" type="checkstyle"/> + <result date="2006-11-02" statvalue="47" type="cobertura-line"/> + <result date="2006-11-02" statvalue="53" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_util_ExcelTransformer.java" path="net/sf/pzfilereader/util/ExcelTransformer.java"> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> + </file> + <file id="net_sf_pzfilereader_util_FixedWidthParserUtils.java" path="net/sf/pzfilereader/util/FixedWidthParserUtils.java"> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="32" type="cobertura-line"/> + <result date="2006-11-02" statvalue="16" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_util_RegExParser.java" path="net/sf/pzfilereader/util/RegExParser.java"> + <result date="2006-11-02" statvalue="6" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="92" type="cobertura-line"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_DBDelimiterPZParser.java" path="net/sf/pzfilereader/DBDelimiterPZParser.java"> + <result date="2006-11-02" statvalue="1" type="findbugs"/> + </file> + <file id="net_sf_pzfilereader_DBFixedLengthPZParser.java" path="net/sf/pzfilereader/DBFixedLengthPZParser.java"> + <result date="2006-11-02" statvalue="1" type="findbugs"/> + </file> + <file id="net_sf_pzfilereader_AbstractPZParser.java" path="net/sf/pzfilereader/AbstractPZParser.java"> + <result date="2006-11-02" statvalue="43" type="cobertura-line"/> + <result date="2006-11-02" statvalue="50" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_DefaultDataSet.java" path="net/sf/pzfilereader/DefaultDataSet.java"> + <result date="2006-11-02" statvalue="19" type="cobertura-line"/> + <result date="2006-11-02" statvalue="8" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_DefaultPZParserFactory.java" path="net/sf/pzfilereader/DefaultPZParserFactory.java"> + <result date="2006-11-02" statvalue="33" type="cobertura-line"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_PZParser.java" path="net/sf/pzfilereader/PZParser.java"> + <result date="2006-11-02" statvalue="100" type="cobertura-line"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_PZParserFactory.java" path="net/sf/pzfilereader/PZParserFactory.java"> + <result date="2006-11-02" statvalue="100" type="cobertura-line"/> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + </file> + <file id="net_sf_pzfilereader_InitialisationException.java" path="net/sf/pzfilereader/InitialisationException.java"> + <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + </file> </qalab> Modified: trunk/PZFileReaderSamples/qalab.xml =================================================================== --- trunk/PZFileReaderSamples/qalab.xml 2006-11-12 12:33:33 UTC (rev 176) +++ trunk/PZFileReaderSamples/qalab.xml 2006-11-21 10:30:37 UTC (rev 177) @@ -37,6 +37,10 @@ <summaryresult date="2006-10-25" filecount="2" statvalue="2" type="pmd"/> <summaryresult date="2006-10-25" filecount="6" statvalue="8" type="findbugs"/> <summaryresult date="2006-10-25" filecount="6" statvalue="110" type="simian"/> + <summaryresult date="2006-11-02" filecount="34" statvalue="165" type="checkstyle"/> + <summaryresult date="2006-11-02" filecount="11" statvalue="12" type="pmd"/> + <summaryresult date="2006-11-02" filecount="9" statvalue="12" type="findbugs"/> + <summaryresult date="2006-11-02" filecount="6" statvalue="92" type="simian"/> </summary> <file id="com_pz_reader_examples_numericsanddates_package.html" path="com/pz/reader/examples/numericsanddates/package.html"> <result date="2006-10-16" statvalue="1" type="checkstyle"/> @@ -169,6 +173,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" path="net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/package.html"> @@ -176,6 +181,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" path="net/sf/pzfilereader/examples/multilinedelimitedrecord/package.html"> @@ -183,6 +189,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_numericsanddates_package.html" path="net/sf/pzfilereader/examples/numericsanddates/package.html"> @@ -190,6 +197,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" path="net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/package.html"> @@ -197,6 +205,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" path="net/sf/pzfilereader/examples/delimiteddynamiccolumns/package.html"> @@ -204,12 +213,14 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_exporttoexcel_package.html" path="net/sf/pzfilereader/examples/exporttoexcel/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" path="net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/package.html"> @@ -217,12 +228,14 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_createsamplecsv_package.html" path="net/sf/pzfilereader/examples/createsamplecsv/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" path="net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/package.html"> @@ -230,6 +243,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" path="net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/package.html"> @@ -237,6 +251,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_csvperformancetest_package.html" path="net/sf/pzfilereader/examples/csvperformancetest/package.html"> @@ -244,12 +259,14 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_lowlevelparse_package.html" path="net/sf/pzfilereader/examples/lowlevelparse/package.html"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" path="net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/package.html"> @@ -257,6 +274,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" path="net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/package.html"> @@ -264,6 +282,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" path="net/sf/pzfilereader/examples/csvheaderandtrailer/package.html"> @@ -271,6 +290,7 @@ <result date="2006-10-18" statvalue="1" type="checkstyle"/> <result date="2006-10-20" statvalue="1" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_Examples.java" path="net/sf/pzfilereader/examples/Examples.java"> <result date="2006-10-17" statvalue="21" type="checkstyle"/> @@ -280,6 +300,8 @@ <result date="2006-10-20" statvalue="1" type="findbugs"/> <result date="2006-10-25" statvalue="21" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="16" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" path="net/sf/pzfilereader/examples/createsamplecsv/CSVTestFileCreator.java"> @@ -295,6 +317,9 @@ <result date="2006-10-25" statvalue="7" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="pmd"/> <result date="2006-10-25" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="7" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" path="net/sf/pzfilereader/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java"> @@ -302,6 +327,7 @@ <result date="2006-10-18" statvalue="17" type="checkstyle"/> <result date="2006-10-20" statvalue="17" type="checkstyle"/> <result date="2006-10-25" statvalue="17" type="checkstyle"/> + <result date="2006-11-02" statvalue="17" type="checkstyle"/> </file> <file id="net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" path="net/sf/pzfilereader/examples/csvperformancetest/CSVPerformanceTest.java"> @@ -313,6 +339,9 @@ <result date="2006-10-20" statvalue="1" type="findbugs"/> <result date="2006-10-25" statvalue="16" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="17" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> + <result date="2006-11-02" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" path="net/sf/pzfilereader/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java"> @@ -320,6 +349,9 @@ <result date="2006-10-18" statvalue="5" type="checkstyle"/> <result date="2006-10-20" statvalue="5" type="checkstyle"/> <result date="2006-10-25" statvalue="5" type="checkstyle"/> + <result date="2006-11-02" statvalue="7" type="checkstyle"/> + <result date="2006-11-02" statvalue="2" type="pmd"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" path="net/sf/pzfilereader/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java"> @@ -327,6 +359,8 @@ <result date="2006-10-18" statvalue="4" type="checkstyle"/> <result date="2006-10-20" statvalue="12" type="checkstyle"/> <result date="2006-10-25" statvalue="12" type="checkstyle"/> + <result date="2006-11-02" statvalue="13" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> </file> <file id="net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" path="net/sf/pzfilereader/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java"> @@ -334,6 +368,8 @@ <result date="2006-10-18" statvalue="5" type="checkstyle"/> <result date="2006-10-20" statvalue="5" type="checkstyle"/> <result date="2006-10-25" statvalue="13" type="checkstyle"/> + <result date="2006-11-02" statvalue="14" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> </file> <file id="net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" path="net/sf/pzfilereader/examples/exporttoexcel/DelimitedFileExportToExcel.java"> @@ -341,6 +377,8 @@ <result date="2006-10-18" statvalue="2" type="checkstyle"/> <result date="2006-10-20" statvalue="2" type="checkstyle"/> <result date="2006-10-25" statvalue="3" type="checkstyle"/> + <result date="2006-11-02" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" path="net/sf/pzfilereader/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java"> @@ -348,6 +386,8 @@ <result date="2006-10-18" statvalue="3" type="checkstyle"/> <result date="2006-10-20" statvalue="3" type="checkstyle"/> <result date="2006-10-25" statvalue="3" type="checkstyle"/> + <result date="2006-11-02" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> </file> <file id="net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" path="net/sf/pzfilereader/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java"> @@ -355,6 +395,8 @@ <result date="2006-10-18" statvalue="17" type="checkstyle"/> <result date="2006-10-20" statvalue="17" type="checkstyle"/> <result date="2006-10-25" statvalue="17" type="checkstyle"/> + <result date="2006-11-02" statvalue="18" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" path="net/sf/pzfilereader/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java"> @@ -362,6 +404,8 @@ <result date="2006-10-18" statvalue="4" type="checkstyle"/> <result date="2006-10-20" statvalue="4" type="checkstyle"/> <result date="2006-10-25" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" path="net/sf/pzfilereader/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java"> @@ -369,6 +413,8 @@ <result date="2006-10-18" statvalue="3" type="checkstyle"/> <result date="2006-10-20" statvalue="3" type="checkstyle"/> <result date="2006-10-25" statvalue="3" type="checkstyle"/> + <result date="2006-11-02" statvalue="3" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" path="net/sf/pzfilereader/examples/largedataset/largecsvperformancetest/CSVLarge.java"> @@ -380,6 +426,8 @@ <result date="2006-10-20" statvalue="1" type="findbugs"/> <result date="2006-10-25" statvalue="9" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="findbugs"/> + <result date="2006-11-02" statvalue="9" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" path="net/sf/pzfilereader/examples/lowlevelparse/LowLevelParse.java"> @@ -395,6 +443,9 @@ <result date="2006-10-25" statvalue="4" type="checkstyle"/> <result date="2006-10-25" statvalue="1" type="pmd"/> <result date="2006-10-25" statvalue="2" type="findbugs"/> + <result date="2006-11-02" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> + <result date="2006-11-02" statvalue="2" type="findbugs"/> </file> <file id="net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" path="net/sf/pzfilereader/examples/multilinedelimitedrecord/DelimitedMultiLine.java"> @@ -402,6 +453,8 @@ <result date="2006-10-18" statvalue="4" type="checkstyle"/> <result date="2006-10-20" statvalue="4" type="checkstyle"/> <result date="2006-10-25" statvalue="4" type="checkstyle"/> + <result date="2006-11-02" statvalue="5" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> </file> <file id="net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" path="net/sf/pzfilereader/examples/numericsanddates/NumericsAndDates.java"> @@ -409,11 +462,14 @@ <result date="2006-10-18" statvalue="6" type="checkstyle"/> <result date="2006-10-20" statvalue="6" type="checkstyle"/> <result date="2006-10-25" statvalue="6" type="checkstyle"/> + <result date="2006-11-02" statvalue="7" type="checkstyle"/> + <result date="2006-11-02" statvalue="1" type="pmd"/> </file> <file id="net_sf_pzfilereader_examples_ConsoleMenu.java" path="net/sf/pzfilereader/examples/ConsoleMenu.java"> <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-18" statvalue="2" type="findbugs"/> <result date="2006-10-20" statvalue="2" type="findbugs"/> <result date="2006-10-25" statvalue="2" type="findbugs"/> + <result date="2006-11-02" statvalue="2" type="findbugs"/> </file> </qalab> Modified: trunk/common-build/project.properties =================================================================== --- trunk/common-build/project.properties 2006-11-12 12:33:33 UTC (rev 176) +++ trunk/common-build/project.properties 2006-11-21 10:30:37 UTC (rev 177) @@ -97,6 +97,7 @@ # PMD # maven.pmd.targetjdk=1.4 +maven.jar.pmd=3.7 maven.multiproject.navigation=independent This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2006-12-16 11:46:05
|
Revision: 229 http://svn.sourceforge.net/pzfilereader/?rev=229&view=rev Author: benoitx Date: 2006-12-16 03:46:00 -0800 (Sat, 16 Dec 2006) Log Message: ----------- Use the same CSS as the rest of Objectlab family (statSVN behaving strangely with the other one) Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReaderSamples/qalab.xml trunk/common-build/project.properties trunk/statsvn.bat Added Paths: ----------- trunk/PZFileReader/src/site/style/ trunk/PZFileReader/src/site/style/maven-objectlabkit.css trunk/PZFileReaderSamples/src/site/style/ trunk/PZFileReaderSamples/src/site/style/maven-objectlabkit.css trunk/src/site/style/ trunk/src/site/style/maven-objectlabkit.css Property Changed: ---------------- trunk/src/site/statsvn/ Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2006-12-15 23:15:22 UTC (rev 228) +++ trunk/PZFileReader/qalab.xml 2006-12-16 11:46:00 UTC (rev 229) @@ -4,81 +4,170 @@ <!ELEMENT summary (summaryresult*)> <!ELEMENT file (result+)> <!ATTLIST file id ID #REQUIRED> +<!ATTLIST file project CDATA #REQUIRED> +<!ATTLIST file module CDATA #REQUIRED> <!ATTLIST file path CDATA #REQUIRED> <!ELEMENT result EMPTY> <!ATTLIST result date CDATA #REQUIRED> <!ATTLIST result statvalue CDATA #REQUIRED> <!ATTLIST result type CDATA #REQUIRED> <!ELEMENT summaryresult EMPTY> +<!ATTLIST summaryresult project CDATA #REQUIRED> +<!ATTLIST summaryresult module CDATA #REQUIRED> <!ATTLIST summaryresult date CDATA #REQUIRED> <!ATTLIST summaryresult statvalue CDATA #REQUIRED> <!ATTLIST summaryresult filecount CDATA #REQUIRED> <!ATTLIST summaryresult type CDATA #REQUIRED> ]> -<qalab version="1.1"> +<qalab version="1.2"> <summary> - <summaryresult date="2006-10-05" filecount="31" statvalue="1696" type="checkstyle"/> - <summaryresult date="2006-10-05" filecount="2" statvalue="4" type="pmd"/> - <summaryresult date="2006-10-05" filecount="7" statvalue="20" type="findbugs"/> - <summaryresult date="2006-10-05" filecount="3" statvalue="170" type="simian"/> - <summaryresult date="2006-10-06" filecount="18" statvalue="469" type="checkstyle"/> - <summaryresult date="2006-10-06" filecount="2" statvalue="4" type="pmd"/> - <summaryresult date="2006-10-06" filecount="7" statvalue="20" type="findbugs"/> - <summaryresult date="2006-10-06" filecount="3" statvalue="170" type="simian"/> - <summaryresult date="2006-10-12" filecount="31" statvalue="1696" type="checkstyle"/> - <summaryresult date="2006-10-12" filecount="2" statvalue="4" type="pmd"/> - <summaryresult date="2006-10-12" filecount="7" statvalue="20" type="findbugs"/> - <summaryresult date="2006-10-12" filecount="3" statvalue="170" type="simian"/> - <summaryresult date="2006-10-13" filecount="31" statvalue="1696" type="checkstyle"/> - <summaryresult date="2006-10-13" filecount="2" statvalue="4" type="pmd"/> - <summaryresult date="2006-10-13" filecount="7" statvalue="20" type="findbugs"/> - <summaryresult date="2006-10-13" filecount="3" statvalue="170" type="simian"/> - <summaryresult date="2006-10-14" filecount="31" statvalue="1696" type="checkstyle"/> - <summaryresult date="2006-10-14" filecount="2" statvalue="4" type="pmd"/> - <summaryresult date="2006-10-14" filecount="7" statvalue="20" type="findbugs"/> - <summaryresult date="2006-10-14" filecount="3" statvalue="170" type="simian"/> - <summaryresult date="2006-10-15" filecount="31" statvalue="1696" type="checkstyle"/> - <summaryresult date="2006-10-15" filecount="2" statvalue="4" type="pmd"/> - <summaryresult date="2006-10-15" filecount="7" statvalue="20" type="findbugs"/> - <summaryresult date="2006-10-15" filecount="3" statvalue="170" type="simian"/> - <summaryresult date="2006-10-16" filecount="18" statvalue="32" type="checkstyle"/> - <summaryresult date="2006-10-16" filecount="2" statvalue="4" type="pmd"/> - <summaryresult date="2006-10-16" filecount="7" statvalue="16" type="findbugs"/> - <summaryresult date="2006-10-16" filecount="3" statvalue="116" type="simian"/> - <summaryresult date="2006-10-16" filecount="13" statvalue="17" type="cobertura-line"/> - <summaryresult date="2006-10-16" filecount="13" statvalue="23" type="cobertura-branch"/> - <summaryresult date="2006-10-17" filecount="18" statvalue="25" type="checkstyle"/> - <summaryresult date="2006-10-17" filecount="3" statvalue="5" type="pmd"/> - <summaryresult date="2006-10-17" filecount="6" statvalue="11" type="findbugs"/> - <summaryresult date="2006-10-17" filecount="3" statvalue="116" type="simian"/> - <summaryresult date="2006-10-17" filecount="13" statvalue="17" type="cobertura-line"/> - <summaryresult date="2006-10-17" filecount="13" statvalue="23" type="cobertura-branch"/> - <summaryresult date="2006-10-18" filecount="19" statvalue="26" type="checkstyle"/> - <summaryresult date="2006-10-18" filecount="3" statvalue="5" type="pmd"/> - <summaryresult date="2006-10-18" filecount="6" statvalue="11" type="findbugs"/> - <summaryresult date="2006-10-18" filecount="3" statvalue="116" type="simian"/> - <summaryresult date="2006-10-18" filecount="14" statvalue="18" type="cobertura-line"/> - <summaryresult date="2006-10-18" filecount="14" statvalue="24" type="cobertura-branch"/> - <summaryresult date="2006-10-20" filecount="19" statvalue="26" type="checkstyle"/> - <summaryresult date="2006-10-20" filecount="3" statvalue="5" type="pmd"/> - <summaryresult date="2006-10-20" filecount="6" statvalue="11" type="findbugs"/> - <summaryresult date="2006-10-20" filecount="3" statvalue="116" type="simian"/> - <summaryresult date="2006-10-20" filecount="14" statvalue="18" type="cobertura-line"/> - <summaryresult date="2006-10-20" filecount="14" statvalue="24" type="cobertura-branch"/> - <summaryresult date="2006-10-25" filecount="19" statvalue="26" type="checkstyle"/> - <summaryresult date="2006-10-25" filecount="3" statvalue="6" type="pmd"/> - <summaryresult date="2006-10-25" filecount="6" statvalue="12" type="findbugs"/> - <summaryresult date="2006-10-25" filecount="3" statvalue="106" type="simian"/> - <summaryresult date="2006-10-25" filecount="14" statvalue="20" type="cobertura-line"/> - <summaryresult date="2006-10-25" filecount="14" statvalue="27" type="cobertura-branch"/> - <summaryresult date="2006-11-02" filecount="35" statvalue="51" type="checkstyle"/> - <summaryresult date="2006-11-02" filecount="4" statvalue="6" type="pmd"/> - <summaryresult date="2006-11-02" filecount="10" statvalue="15" type="findbugs"/> - <summaryresult date="2006-11-02" filecount="10" statvalue="439" type="simian"/> - <summaryresult date="2006-11-02" filecount="30" statvalue="23" type="cobertura-line"/> - <summaryresult date="2006-11-02" filecount="30" statvalue="30" type="cobertura-branch"/> + <summaryresult date="2006-10-05" filecount="31" module="default" + project="default" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-05" filecount="2" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-05" filecount="7" module="default" + project="default" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-05" filecount="3" module="default" + project="default" statvalue="170" type="simian"/> + <summaryresult date="2006-10-06" filecount="18" module="default" + project="default" statvalue="469" type="checkstyle"/> + <summaryresult date="2006-10-06" filecount="2" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-06" filecount="7" module="default" + project="default" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-06" filecount="3" module="default" + project="default" statvalue="170" type="simian"/> + <summaryresult date="2006-10-12" filecount="31" module="default" + project="default" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-12" filecount="2" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-12" filecount="7" module="default" + project="default" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-12" filecount="3" module="default" + project="default" statvalue="170" type="simian"/> + <summaryresult date="2006-10-13" filecount="31" module="default" + project="default" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-13" filecount="2" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-13" filecount="7" module="default" + project="default" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-13" filecount="3" module="default" + project="default" statvalue="170" type="simian"/> + <summaryresult date="2006-10-14" filecount="31" module="default" + project="default" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-14" filecount="2" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-14" filecount="7" module="default" + project="default" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-14" filecount="3" module="default" + project="default" statvalue="170" type="simian"/> + <summaryresult date="2006-10-15" filecount="31" module="default" + project="default" statvalue="1696" type="checkstyle"/> + <summaryresult date="2006-10-15" filecount="2" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-15" filecount="7" module="default" + project="default" statvalue="20" type="findbugs"/> + <summaryresult date="2006-10-15" filecount="3" module="default" + project="default" statvalue="170" type="simian"/> + <summaryresult date="2006-10-16" filecount="18" module="default" + project="default" statvalue="32" type="checkstyle"/> + <summaryresult date="2006-10-16" filecount="2" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2006-10-16" filecount="7" module="default" + project="default" statvalue="16" type="findbugs"/> + <summaryresult date="2006-10-16" filecount="3" module="default" + project="default" statvalue="116" type="simian"/> + <summaryresult date="2006-10-16" filecount="13" module="default" + project="default" statvalue="17" type="cobertura-line"/> + <summaryresult date="2006-10-16" filecount="13" module="default" + project="default" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2006-10-17" filecount="18" module="default" + project="default" statvalue="25" type="checkstyle"/> + <summaryresult date="2006-10-17" filecount="3" module="default" + project="default" statvalue="5" type="pmd"/> + <summaryresult date="2006-10-17" filecount="6" module="default" + project="default" statvalue="11" type="findbugs"/> + <summaryresult date="2006-10-17" filecount="3" module="default" + project="default" statvalue="116" type="simian"/> + <summaryresult date="2006-10-17" filecount="13" module="default" + project="default" statvalue="17" type="cobertura-line"/> + <summaryresult date="2006-10-17" filecount="13" module="default" + project="default" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2006-10-18" filecount="19" module="default" + project="default" statvalue="26" type="checkstyle"/> + <summaryresult date="2006-10-18" filecount="3" module="default" + project="default" statvalue="5" type="pmd"/> + <summaryresult date="2006-10-18" filecount="6" module="default" + project="default" statvalue="11" type="findbugs"/> + <summaryresult date="2006-10-18" filecount="3" module="default" + project="default" statvalue="116" type="simian"/> + <summaryresult date="2006-10-18" filecount="14" module="default" + project="default" statvalue="18" type="cobertura-line"/> + <summaryresult date="2006-10-18" filecount="14" module="default" + project="default" statvalue="24" type="cobertura-branch"/> + <summaryresult date="2006-10-20" filecount="19" module="default" + project="default" statvalue="26" type="checkstyle"/> + <summaryresult date="2006-10-20" filecount="3" module="default" + project="default" statvalue="5" type="pmd"/> + <summaryresult date="2006-10-20" filecount="6" module="default" + project="default" statvalue="11" type="findbugs"/> + <summaryresult date="2006-10-20" filecount="3" module="default" + project="default" statvalue="116" type="simian"/> + <summaryresult date="2006-10-20" filecount="14" module="default" + project="default" statvalue="18" type="cobertura-line"/> + <summaryresult date="2006-10-20" filecount="14" module="default" + project="default" statvalue="24" type="cobertura-branch"/> + <summaryresult date="2006-10-25" filecount="19" module="default" + project="default" statvalue="26" type="checkstyle"/> + <summaryresult date="2006-10-25" filecount="3" module="default" + project="default" statvalue="6" type="pmd"/> + <summaryresult date="2006-10-25" filecount="6" module="default" + project="default" statvalue="12" type="findbugs"/> + <summaryresult date="2006-10-25" filecount="3" module="default" + project="default" statvalue="106" type="simian"/> + <summaryresult date="2006-10-25" filecount="14" module="default" + project="default" statvalue="20" type="cobertura-line"/> + <summaryresult date="2006-10-25" filecount="14" module="default" + project="default" statvalue="27" type="cobertura-branch"/> + <summaryresult date="2006-11-02" filecount="35" module="default" + project="default" statvalue="51" type="checkstyle"/> + <summaryresult date="2006-11-02" filecount="4" module="default" + project="default" statvalue="6" type="pmd"/> + <summaryresult date="2006-11-02" filecount="10" module="default" + project="default" statvalue="15" type="findbugs"/> + <summaryresult date="2006-11-02" filecount="10" module="default" + project="default" statvalue="439" type="simian"/> + <summaryresult date="2006-11-02" filecount="30" module="default" + project="default" statvalue="23" type="cobertura-line"/> + <summaryresult date="2006-11-02" filecount="30" module="default" + project="default" statvalue="30" type="cobertura-branch"/> + <summaryresult date="2006-11-22" filecount="38" module="default" + project="default" statvalue="46" type="checkstyle"/> + <summaryresult date="2006-11-22" filecount="11" module="default" + project="default" statvalue="16" type="findbugs"/> + <summaryresult date="2006-11-22" filecount="10" module="default" + project="default" statvalue="377" type="simian"/> + <summaryresult date="2006-11-22" filecount="33" module="default" + project="default" statvalue="24" type="cobertura-line"/> + <summaryresult date="2006-11-22" filecount="33" module="default" + project="default" statvalue="30" type="cobertura-branch"/> + <summaryresult date="2006-11-22" filecount="4" module="default" + project="default" statvalue="6" type="pmd"/> + <summaryresult date="2006-12-15" filecount="41" module="default" + project="default" statvalue="41" type="checkstyle"/> + <summaryresult date="2006-12-15" filecount="9" module="default" + project="default" statvalue="13" type="findbugs"/> + <summaryresult date="2006-12-15" filecount="6" module="default" + project="default" statvalue="152" type="simian"/> + <summaryresult date="2006-12-15" filecount="34" module="default" + project="default" statvalue="27" type="cobertura-line"/> + <summaryresult date="2006-12-15" filecount="34" module="default" + project="default" statvalue="37" type="cobertura-branch"/> + <summaryresult date="2006-12-15" filecount="6" module="default" + project="default" statvalue="15" type="pmd"/> </summary> - <file id="com_pz_reader_ordering_package.html" path="com/pz/reader/ordering/package.html"> + <file id="default-default-com_pz_reader_ordering_package.html" + module="default" path="com/pz/reader/ordering/package.html" project="default"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> <result date="2006-10-06" statvalue="1" type="checkstyle"/> <result date="2006-10-12" statvalue="1" type="checkstyle"/> @@ -87,7 +176,8 @@ <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_package.html" path="com/pz/reader/package.html"> + <file id="default-default-com_pz_reader_package.html" + module="default" path="com/pz/reader/package.html" project="default"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> <result date="2006-10-06" statvalue="1" type="checkstyle"/> <result date="2006-10-12" statvalue="1" type="checkstyle"/> @@ -96,7 +186,8 @@ <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_util_package.html" path="com/pz/reader/util/package.html"> + <file id="default-default-com_pz_reader_util_package.html" + module="default" path="com/pz/reader/util/package.html" project="default"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> <result date="2006-10-06" statvalue="1" type="checkstyle"/> <result date="2006-10-12" statvalue="1" type="checkstyle"/> @@ -105,7 +196,8 @@ <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_xml_package.html" path="com/pz/reader/xml/package.html"> + <file id="default-default-com_pz_reader_xml_package.html" + module="default" path="com/pz/reader/xml/package.html" project="default"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> <result date="2006-10-06" statvalue="1" type="checkstyle"/> <result date="2006-10-12" statvalue="1" type="checkstyle"/> @@ -114,7 +206,8 @@ <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_structure_package.html" path="com/pz/reader/structure/package.html"> + <file id="default-default-com_pz_reader_structure_package.html" + module="default" path="com/pz/reader/structure/package.html" project="default"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> <result date="2006-10-06" statvalue="1" type="checkstyle"/> <result date="2006-10-12" statvalue="1" type="checkstyle"/> @@ -123,7 +216,8 @@ <result date="2006-10-15" statvalue="1" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="checkstyle"/> </file> - <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"> + <file id="default-default-com_pz_reader_structure_Row.java" + module="default" path="com/pz/reader/structure/Row.java" project="default"> <result date="2006-10-05" statvalue="1" type="checkstyle"/> <result date="2006-10-05" statvalue="33" type="checkstyle"/> <result date="2006-10-05" statvalue="1" type="findbugs"/> @@ -167,7 +261,8 @@ <result date="2006-10-16" statvalue="1" type="findbugs"/> <result date="2006-10-16" statvalue="44" type="cobertura-line"/> </file> - <file id="com_pz_reader_DataError.java" path="com/pz/reader/DataError.java"> + <file id="default-default-com_pz_reader_DataError.java" + module="default" path="com/pz/reader/DataError.java" project="default"> <result date="2006-10-05" statvalue="22" type="checkstyle"/> <result date="2006-10-06" statvalue="5" type="checkstyle"/> <result date="2006-10-12" statvalue="22" type="checkstyle"/> @@ -177,7 +272,8 @@ <result date="2006-10-16" statvalue="3" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> - <file id="com_pz_reader_DataSet.java" path="com/pz/reader/DataSet.java"> + <file id="default-default-com_pz_reader_DataSet.java" + module="default" path="com/pz/reader/DataSet.java" project="default"> <result date="2006-10-05" statvalue="485" type="checkstyle"/> <result date="2006-10-05" statvalue="5" type="findbugs"/> <result date="2006-10-06" statvalue="103" type="checkstyle"/> @@ -195,7 +291,8 @@ <result date="2006-10-16" statvalue="20" type="cobertura-line"/> <result date="2006-10-16" statvalue="25" type="cobertura-branch"/> </file> - <file id="com_pz_reader_LargeDataSet.java" path="com/pz/reader/LargeDataSet.java"> + <file id="default-default-com_pz_reader_LargeDataSet.java" + module="default" path="com/pz/reader/LargeDataSet.java" project="default"> <result date="2006-10-05" statvalue="278" type="checkstyle"/> <result date="2006-10-05" statvalue="3" type="findbugs"/> <result date="2006-10-06" statvalue="63" type="checkstyle"/> @@ -211,7 +308,8 @@ <result date="2006-10-16" statvalue="5" type="checkstyle"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> </file> - <file id="com_pz_reader_Version.java" path="com/pz/reader/Version.java"> + <file id="default-default-com_pz_reader_Version.java" + module="default" path="com/pz/reader/Version.java" project="default"> <result date="2006-10-05" statvalue="2" type="checkstyle"/> <result date="2006-10-12" statvalue="2" type="checkstyle"/> <result date="2006-10-13" statvalue="2" type="checkstyle"/> @@ -219,7 +317,8 @@ <result date="2006-10-15" statvalue="2" type="checkstyle"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> - <file id="com_pz_reader_ordering_OrderBy.java" path="com/pz/reader/ordering/OrderBy.java"> + <file id="default-default-com_pz_reader_ordering_OrderBy.java" + module="default" path="com/pz/reader/ordering/OrderBy.java" project="default"> <result date="2006-10-05" statvalue="65" type="checkstyle"/> <result date="2006-10-05" statvalue="5" type="findbugs"/> <result date="2006-10-06" statvalue="12" type="checkstyle"/> @@ -234,7 +333,8 @@ <result date="2006-10-15" statvalue="5" type="findbugs"/> <result date="2006-10-16" statvalue="5" type="findbugs"/> </file> - <file id="com_pz_reader_ordering_OrderColumn.java" path="com/pz/reader/ordering/OrderColumn.java"> + <file id="default-default-com_pz_reader_ordering_OrderColumn.java" + module="default" path="com/pz/reader/ordering/OrderColumn.java" project="default"> <result date="2006-10-05" statvalue="25" type="checkstyle"/> <result date="2006-10-06" statvalue="4" type="checkstyle"/> <result date="2006-10-12" statvalue="25" type="checkstyle"/> @@ -242,7 +342,10 @@ <result date="2006-10-14" statvalue="25" type="checkstyle"/> <result date="2006-10-15" statvalue="25" type="checkstyle"/> </file> - <file id="com_pz_reader_structure_ColumnMetaData.java" path="com/pz/reader/structure/ColumnMetaData.java"> + <file + id="default-default-com_pz_reader_structure_ColumnMetaData.java" + module="default" + path="com/pz/reader/structure/ColumnMetaData.java" project="default"> <result date="2006-10-05" statvalue="99" type="checkstyle"/> <result date="2006-10-06" statvalue="66" type="checkstyle"/> <result date="2006-10-12" statvalue="99" type="checkstyle"/> @@ -252,8 +355,10 @@ <result date="2006-10-16" statvalue="50" type="cobertura-line"/> <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> - <file id="com_pz_reader_structure_Row.java" path="com/pz/reader/structure/Row.java"/> - <file id="com_pz_reader_util_ExcelTransformer.java" path="com/pz/reader/util/ExcelTransformer.java"> + <file id="default-default-com_pz_reader_structure_Row.java" + module="default" path="com/pz/reader/structure/Row.java" project="default"/> + <file id="default-default-com_pz_reader_util_ExcelTransformer.java" + module="default" path="com/pz/reader/util/ExcelTransformer.java" project="default"> <result date="2006-10-05" statvalue="60" type="checkstyle"/> <result date="2006-10-06" statvalue="8" type="checkstyle"/> <result date="2006-10-12" statvalue="60" type="checkstyle"/> @@ -261,7 +366,8 @@ <result date="2006-10-14" statvalue="60" type="checkstyle"/> <result date="2006-10-15" statvalue="60" type="checkstyle"/> </file> - <file id="com_pz_reader_util_ParserUtils.java" path="com/pz/reader/util/ParserUtils.java"> + <file id="default-default-com_pz_reader_util_ParserUtils.java" + module="default" path="com/pz/reader/util/ParserUtils.java" project="default"> <result date="2006-10-05" statvalue="290" type="checkstyle"/> <result date="2006-10-05" statvalue="3" type="pmd"/> <result date="2006-10-05" statvalue="3" type="findbugs"/> @@ -286,7 +392,8 @@ <result date="2006-10-16" statvalue="35" type="cobertura-line"/> <result date="2006-10-16" statvalue="42" type="cobertura-branch"/> </file> - <file id="com_pz_reader_xml_PZMapParser.java" path="com/pz/reader/xml/PZMapParser.java"> + <file id="default-default-com_pz_reader_xml_PZMapParser.java" + module="default" path="com/pz/reader/xml/PZMapParser.java" project="default"> <result date="2006-10-05" statvalue="257" type="checkstyle"/> <result date="2006-10-05" statvalue="1" type="pmd"/> <result date="2006-10-05" statvalue="1" type="findbugs"/> @@ -309,7 +416,8 @@ <result date="2006-10-16" statvalue="1" type="pmd"/> <result date="2006-10-16" statvalue="1" type="findbugs"/> </file> - <file id="com_pz_reader_xml_ResolveLocalDTD.java" path="com/pz/reader/xml/ResolveLocalDTD.java"> + <file id="default-default-com_pz_reader_xml_ResolveLocalDTD.java" + module="default" path="com/pz/reader/xml/ResolveLocalDTD.java" project="default"> <result date="2006-10-05" statvalue="40" type="checkstyle"/> <result date="2006-10-05" statvalue="2" type="findbugs"/> <result date="2006-10-06" statvalue="16" type="checkstyle"/> @@ -324,7 +432,8 @@ <result date="2006-10-15" statvalue="2" type="findbugs"/> <result date="2006-10-16" statvalue="2" type="findbugs"/> </file> - <file id="com_pz_reader_xml_XMLRecordElement.java" path="com/pz/reader/xml/XMLRecordElement.java"> + <file id="default-default-com_pz_reader_xml_XMLRecordElement.java" + module="default" path="com/pz/reader/xml/XMLRecordElement.java" project="default"> <result date="2006-10-05" statvalue="34" type="checkstyle"/> <result date="2006-10-06" statvalue="2" type="checkstyle"/> <result date="2006-10-12" statvalue="34" type="checkstyle"/> @@ -334,23 +443,34 @@ <result date="2006-10-16" statvalue="100" type="cobertura-branch"/> </file> <file - id="C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_TestCSVPerformance.java" path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java"/> - <file id="net_sf_pzfilereader_util_package.html" path="net/sf/pzfilereader/util/package.html"> + id="default-default-C:_project_pzfilereader_PZFileReader_src_test_java_com_test_delim_multiLine_TestCSVPerformance.java" + module="default" + path="C:/project/pzfilereader/PZFileReader/src/test/java/com/test/delim/multiLine/TestCSVPerformance.java" project="default"/> + <file id="default-default-net_sf_pzfilereader_util_package.html" + module="default" path="net/sf/pzfilereader/util/package.html" project="default"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> - <file id="net_sf_pzfilereader_package.html" path="net/sf/pzfilereader/package.html"> + <file id="default-default-net_sf_pzfilereader_package.html" + module="default" path="net/sf/pzfilereader/package.html" project="default"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> - <file id="net_sf_pzfilereader_ordering_package.html" path="net/sf/pzfilereader/ordering/package.html"> + <file id="default-default-net_sf_pzfilereader_ordering_package.html" + module="default" + path="net/sf/pzfilereader/ordering/package.html" project="default"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> - <file id="net_sf_pzfilereader_xml_package.html" path="net/sf/pzfilereader/xml/package.html"> + <file id="default-default-net_sf_pzfilereader_xml_package.html" + module="default" path="net/sf/pzfilereader/xml/package.html" project="default"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> - <file id="net_sf_pzfilereader_structure_package.html" path="net/sf/pzfilereader/structure/package.html"> + <file + id="default-default-net_sf_pzfilereader_structure_package.html" + module="default" + path="net/sf/pzfilereader/structure/package.html" project="default"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> </file> - <file id="net_sf_pzfilereader_DataError.java" path="net/sf/pzfilereader/DataError.java"> + <file id="default-default-net_sf_pzfilereader_DataError.java" + module="default" path="net/sf/pzfilereader/DataError.java" project="default"> <result date="2006-10-17" statvalue="3" type="checkstyle"/> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> <result date="2006-10-18" statvalue="3" type="checkstyle"/> @@ -361,8 +481,13 @@ <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> <result date="2006-11-02" statvalue="3" type="checkstyle"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="3" type="checkstyle"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="3" type="checkstyle"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_DataSet.java" path="net/sf/pzfilereader/DataSet.java"> + <file id="default-default-net_sf_pzfilereader_DataSet.java" + module="default" path="net/sf/pzfilereader/DataSet.java" project="default"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="pmd"/> <result date="2006-10-17" statvalue="2" type="findbugs"/> @@ -387,15 +512,25 @@ <result date="2006-11-02" statvalue="2" type="findbugs"/> <result date="2006-11-02" statvalue="13" type="cobertura-line"/> <result date="2006-11-02" statvalue="17" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="3" type="checkstyle"/> + <result date="2006-11-22" statvalue="2" type="findbugs"/> + <result date="2006-11-22" statvalue="11" type="cobertura-line"/> + <result date="2006-11-22" statvalue="13" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_LargeDataSet.java" path="net/sf/pzfilereader/LargeDataSet.java"> + <file id="default-default-net_sf_pzfilereader_LargeDataSet.java" + module="default" path="net/sf/pzfilereader/LargeDataSet.java" project="default"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-18" statvalue="4" type="checkstyle"/> <result date="2006-10-20" statvalue="4" type="checkstyle"/> <result date="2006-10-25" statvalue="4" type="checkstyle"/> <result date="2006-11-02" statvalue="3" type="checkstyle"/> + <result date="2006-11-22" statvalue="3" type="checkstyle"/> </file> - <file id="net_sf_pzfilereader_ordering_OrderBy.java" path="net/sf/pzfilereader/ordering/OrderBy.java"> + <file id="default-default-net_sf_pzfilereader_ordering_OrderBy.java" + module="default" + path="net/sf/pzfilereader/ordering/OrderBy.java" project="default"> <result date="2006-10-17" statvalue="1" type="checkstyle"/> <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-18" statvalue="1" type="checkstyle"/> @@ -406,8 +541,14 @@ <result date="2006-10-25" statvalue="2" type="findbugs"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="2" type="findbugs"/> + <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-11-22" statvalue="2" type="findbugs"/> + <result date="2006-12-15" statvalue="1" type="checkstyle"/> + <result date="2006-12-15" statvalue="2" type="findbugs"/> </file> - <file id="net_sf_pzfilereader_util_ParserUtils.java" path="net/sf/pzfilereader/util/ParserUtils.java"> + <file id="default-default-net_sf_pzfilereader_util_ParserUtils.java" + module="default" + path="net/sf/pzfilereader/util/ParserUtils.java" project="default"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-17" statvalue="3" type="pmd"/> <result date="2006-10-17" statvalue="3" type="findbugs"/> @@ -433,8 +574,19 @@ <result date="2006-11-02" statvalue="3" type="findbugs"/> <result date="2006-11-02" statvalue="47" type="cobertura-line"/> <result date="2006-11-02" statvalue="57" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="10" type="checkstyle"/> + <result date="2006-11-22" statvalue="3" type="findbugs"/> + <result date="2006-11-22" statvalue="49" type="cobertura-line"/> + <result date="2006-11-22" statvalue="58" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="3" type="pmd"/> + <result date="2006-12-15" statvalue="11" type="checkstyle"/> + <result date="2006-12-15" statvalue="3" type="findbugs"/> + <result date="2006-12-15" statvalue="51" type="cobertura-line"/> + <result date="2006-12-15" statvalue="60" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="2" type="pmd"/> </file> - <file id="net_sf_pzfilereader_xml_PZMapParser.java" path="net/sf/pzfilereader/xml/PZMapParser.java"> + <file id="default-default-net_sf_pzfilereader_xml_PZMapParser.java" + module="default" path="net/sf/pzfilereader/xml/PZMapParser.java" project="default"> <result date="2006-10-17" statvalue="4" type="checkstyle"/> <result date="2006-10-17" statvalue="1" type="pmd"/> <result date="2006-10-17" statvalue="1" type="findbugs"/> @@ -450,15 +602,26 @@ <result date="2006-11-02" statvalue="4" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-02" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="4" type="checkstyle"/> + <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-15" statvalue="3" type="checkstyle"/> + <result date="2006-12-15" statvalue="1" type="findbugs"/> </file> - <file id="net_sf_pzfilereader_xml_ResolveLocalDTD.java" path="net/sf/pzfilereader/xml/ResolveLocalDTD.java"> + <file + id="default-default-net_sf_pzfilereader_xml_ResolveLocalDTD.java" + module="default" + path="net/sf/pzfilereader/xml/ResolveLocalDTD.java" project="default"> <result date="2006-10-17" statvalue="2" type="findbugs"/> <result date="2006-10-18" statvalue="2" type="findbugs"/> <result date="2006-10-20" statvalue="2" type="findbugs"/> <result date="2006-10-25" statvalue="2" type="findbugs"/> <result date="2006-11-02" statvalue="2" type="findbugs"/> + <result date="2006-11-22" statvalue="2" type="findbugs"/> + <result date="2006-12-15" statvalue="2" type="findbugs"/> </file> - <file id="net_sf_pzfilereader_structure_Row.java" path="net/sf/pzfilereader/structure/Row.java"> + <file id="default-default-net_sf_pzfilereader_structure_Row.java" + module="default" path="net/sf/pzfilereader/structure/Row.java" project="default"> <result date="2006-10-17" statvalue="1" type="findbugs"/> <result date="2006-10-17" statvalue="44" type="cobertura-line"/> <result date="2006-10-18" statvalue="1" type="findbugs"/> @@ -469,8 +632,15 @@ <result date="2006-10-25" statvalue="44" type="cobertura-line"/> <result date="2006-11-02" statvalue="1" type="findbugs"/> <result date="2006-11-02" statvalue="43" type="cobertura-line"/> + <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="43" type="cobertura-line"/> + <result date="2006-12-15" statvalue="1" type="findbugs"/> + <result date="2006-12-15" statvalue="36" type="cobertura-line"/> </file> - <file id="net_sf_pzfilereader_structure_ColumnMetaData.java" path="net/sf/pzfilereader/structure/ColumnMetaData.java"> + <file + id="default-default-net_sf_pzfilereader_structure_ColumnMetaData.java" + module="default" + path="net/sf/pzfilereader/structure/ColumnMetaData.java" project="default"> <result date="2006-10-17" statvalue="50" type="cobertura-line"/> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> <result date="2006-10-18" statvalue="50" type="cobertura-line"/> @@ -481,90 +651,279 @@ <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> <result date="2006-11-02" statvalue="66" type="cobertura-line"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="66" type="cobertura-line"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="66" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_Version.java" path="net/sf/pzfilereader/Version.java"> + <file id="default-default-net_sf_pzfilereader_Version.java" + module="default" path="net/sf/pzfilereader/Version.java" project="default"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_xml_XMLRecordElement.java" path="net/sf/pzfilereader/xml/XMLRecordElement.java"> + <file + id="default-default-net_sf_pzfilereader_xml_XMLRecordElement.java" + module="default" + path="net/sf/pzfilereader/xml/XMLRecordElement.java" project="default"> <result date="2006-10-17" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_util_PZConstants.java" path="net/sf/pzfilereader/util/PZConstants.java"> + <file id="default-default-net_sf_pzfilereader_util_PZConstants.java" + module="default" + path="net/sf/pzfilereader/util/PZConstants.java" project="default"> <result date="2006-10-18" statvalue="100" type="cobertura-branch"/> <result date="2006-10-20" statvalue="100" type="cobertura-branch"/> <result date="2006-10-25" statvalue="100" type="cobertura-branch"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_AbstractDelimiterPZParser.java" path="net/sf/pzfilereader/AbstractDelimiterPZParser.java"> + <file + id="default-default-net_sf_pzfilereader_AbstractDelimiterPZParser.java" + module="default" + path="net/sf/pzfilereader/AbstractDelimiterPZParser.java" project="default"> <result date="2006-11-02" statvalue="7" type="checkstyle"/> <result date="2006-11-02" statvalue="49" type="cobertura-line"/> <result date="2006-11-02" statvalue="57" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="7" type="checkstyle"/> + <result date="2006-11-22" statvalue="53" type="cobertura-line"/> + <result date="2006-11-22" statvalue="59" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="11" type="checkstyle"/> + <result date="2006-12-15" statvalue="1" type="findbugs"/> + <result date="2006-12-15" statvalue="52" type="cobertura-line"/> + <result date="2006-12-15" statvalue="60" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="2" type="pmd"/> </file> - <file id="net_sf_pzfilereader_DelimiterPZParser.java" path="net/sf/pzfilereader/DelimiterPZParser.java"> + <file + id="default-default-net_sf_pzfilereader_DelimiterPZParser.java" + module="default" + path="net/sf/pzfilereader/DelimiterPZParser.java" project="default"> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="32" type="cobertura-line"/> <result date="2006-11-02" statvalue="75" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-11-22" statvalue="32" type="cobertura-line"/> + <result date="2006-11-22" statvalue="75" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="1" type="checkstyle"/> + <result date="2006-12-15" statvalue="37" type="cobertura-line"/> + <result date="2006-12-15" statvalue="75" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_FixedLengthPZParser.java" path="net/sf/pzfilereader/FixedLengthPZParser.java"> + <file + id="default-default-net_sf_pzfilereader_FixedLengthPZParser.java" + module="default" + path="net/sf/pzfilereader/FixedLengthPZParser.java" project="default"> <result date="2006-11-02" statvalue="1" type="checkstyle"/> + <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-15" statvalue="1" type="checkstyle"/> </file> - <file id="net_sf_pzfilereader_IDataSet.java" path="net/sf/pzfilereader/IDataSet.java"> + <file id="default-default-net_sf_pzfilereader_IDataSet.java" + module="default" path="net/sf/pzfilereader/IDataSet.java" project="default"> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-02" statvalue="100" type="cobertura-line"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-11-22" statvalue="100" type="cobertura-line"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="1" type="pmd"/> </file> - <file id="net_sf_pzfilereader_util_BXParser.java" path="net/sf/pzfilereader/util/BXParser.java"> + <file id="default-default-net_sf_pzfilereader_util_BXParser.java" + module="default" path="net/sf/pzfilereader/util/BXParser.java" project="default"> <result date="2006-11-02" statvalue="9" type="checkstyle"/> <result date="2006-11-02" statvalue="47" type="cobertura-line"/> <result date="2006-11-02" statvalue="53" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="9" type="checkstyle"/> + <result date="2006-11-22" statvalue="55" type="cobertura-line"/> + <result date="2006-11-22" statvalue="65" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_util_ExcelTransformer.java" path="net/sf/pzfilereader/util/ExcelTransformer.java"> + <file + id="default-default-net_sf_pzfilereader_util_ExcelTransformer.java" + module="default" + path="net/sf/pzfilereader/util/ExcelTransformer.java" project="default"> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="pmd"/> + <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-11-22" statvalue="1" type="pmd"/> </file> - <file id="net_sf_pzfilereader_util_FixedWidthParserUtils.java" path="net/sf/pzfilereader/util/FixedWidthParserUtils.java"> + <file + id="default-default-net_sf_pzfilereader_util_FixedWidthParserUtils.java" + module="default" + path="net/sf/pzfilereader/util/FixedWidthParserUtils.java" project="default"> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="findbugs"/> <result date="2006-11-02" statvalue="32" type="cobertura-line"/> <result date="2006-11-02" statvalue="16" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="32" type="cobertura-line"/> + <result date="2006-11-22" statvalue="16" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="1" type="findbugs"/> + <result date="2006-12-15" statvalue="30" type="cobertura-line"/> + <result date="2006-12-15" statvalue="16" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_util_RegExParser.java" path="net/sf/pzfilereader/util/RegExParser.java"> + <file id="default-default-net_sf_pzfilereader_util_RegExParser.java" + module="default" + path="net/sf/pzfilereader/util/RegExParser.java" project="default"> <result date="2006-11-02" statvalue="6" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="findbugs"/> <result date="2006-11-02" statvalue="92" type="cobertura-line"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="92" type="cobertura-line"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_DBDelimiterPZParser.java" path="net/sf/pzfilereader/DBDelimiterPZParser.java"> + <file + id="default-default-net_sf_pzfilereader_DBDelimiterPZParser.java" + module="default" + path="net/sf/pzfilereader/DBDelimiterPZParser.java" project="default"> <result date="2006-11-02" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-12-15" statvalue="1" type="findbugs"/> </file> - <file id="net_sf_pzfilereader_DBFixedLengthPZParser.java" path="net/sf/pzfilereader/DBFixedLengthPZParser.java"> + <file + id="default-default-net_sf_pzfilereader_DBFixedLengthPZParser.java" + module="default" + path="net/sf/pzfilereader/DBFixedLengthPZParser.java" project="default"> <result date="2006-11-02" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-12-15" statvalue="1" type="findbugs"/> </file> - <file id="net_sf_pzfilereader_AbstractPZParser.java" path="net/sf/pzfilereader/AbstractPZParser.java"> + <file id="default-default-net_sf_pzfilereader_AbstractPZParser.java" + module="default" + path="net/sf/pzfilereader/AbstractPZParser.java" project="default"> <result date="2006-11-02" statvalue="43" type="cobertura-line"/> <result date="2006-11-02" statvalue="50" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="43" type="cobertura-line"/> + <result date="2006-11-22" statvalue="50" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="43" type="cobertura-line"/> + <result date="2006-12-15" statvalue="50" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_DefaultDataSet.java" path="net/sf/pzfilereader/DefaultDataSet.java"> + <file id="default-default-net_sf_pzfilereader_DefaultDataSet.java" + module="default" path="net/sf/pzfilereader/DefaultDataSet.java" project="default"> <result date="2006-11-02" statvalue="19" type="cobertura-line"/> <result date="2006-11-02" statvalue="8" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-11-22" statvalue="20" type="cobertura-line"/> + <result date="2006-11-22" statvalue="9" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="2" type="checkstyle"/> + <result date="2006-12-15" statvalue="22" type="cobertura-line"/> + <result date="2006-12-15" statvalue="12" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="2" type="pmd"/> </file> - <file id="net_sf_pzfilereader_DefaultPZParserFactory.java" path="net/sf/pzfilereader/DefaultPZParserFactory.java"> + <file + id="default-default-net_sf_pzfilereader_DefaultPZParserFactory.java" + module="default" + path="net/sf/pzfilereader/DefaultPZParserFactory.java" project="default"> <result date="2006-11-02" statvalue="33" type="cobertura-line"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="33" type="cobertura-line"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="33" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_PZParser.java" path="net/sf/pzfilereader/PZParser.java"> + <file id="default-default-net_sf_pzfilereader_PZParser.java" + module="default" path="net/sf/pzfilereader/PZParser.java" project="default"> <result date="2006-11-02" statvalue="100" type="cobertura-line"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="100" type="cobertura-line"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_PZParserFactory.java" path="net/sf/pzfilereader/PZParserFactory.java"> + <file id="default-default-net_sf_pzfilereader_PZParserFactory.java" + module="default" path="net/sf/pzfilereader/PZParserFactory.java" project="default"> <result date="2006-11-02" statvalue="100" type="cobertura-line"/> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="100" type="cobertura-line"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> - <file id="net_sf_pzfilereader_InitialisationException.java" path="net/sf/pzfilereader/InitialisationException.java"> + <file + id="default-default-net_sf_pzfilereader_InitialisationException.java" + module="default" + path="net/sf/pzfilereader/InitialisationException.java" project="default"> <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> </file> + <file + id="default-default-net_sf_pzfilereader_converter_package.html" + module="default" + path="net/sf/pzfilereader/converter/package.html" project="default"> + <result date="2006-11-22" statvalue="1" type="checkstyle"/> + </file> + <file + id="default-default-net_sf_pzfilereader_converter_PZConverter.java" + module="default" + path="net/sf/pzfilereader/converter/PZConverter.java" project="default"> + <result date="2006-11-22" statvalue="100" type="cobertura-line"/> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_pzfilereader_converter_ConvertBigDecimal.java" + module="default" + path="net/sf/pzfilereader/converter/ConvertBigDecimal.java" project="default"> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_pzfilereader_converter_PZConvertException.java" + module="default" + path="net/sf/pzfilereader/converter/PZConvertException.java" project="default"> + <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + </file> + <file id="default-default-net_sf_pzfilereader_brparse_package.html" + module="default" path="net/sf/pzfilereader/brparse/package.html" project="default"> + <result date="2006-12-15" statvalue="1" type="checkstyle"/> + </file> + <file + id="default-default-net_sf_pzfilereader_AbstractFixedLengthPZParser.java" + module="default" + path="net/sf/pzfilereader/AbstractFixedLengthPZParser.java" project="default"> + <result date="2006-12-15" statvalue="2" type="checkstyle"/> + <result date="2006-12-15" statvalue="2" type="pmd"/> + </file> + <file + id="default-default-net_sf_pzfilereader_brparse_BuffReaderDelimPZDataSet.java" + module="default" + path="net/sf/pzfilereader/brparse/BuffReaderDelimPZDataSet.java" project="default"> + <result date="2006-12-15" statvalue="2" type="checkstyle"/> + <result date="2006-12-15" statvalue="1" type="pmd"/> + </file> + <file + id="default-default-net_sf_pzfilereader_brparse_BuffReaderDelimPZParser.java" + module="default" + path="net/sf/pzfilereader/brparse/BuffReaderDelimPZParser.java" project="default"> + <result date="2006-12-15" statvalue="3" type="checkstyle"/> + <result date="2006-12-15" statvalue="6" type="pmd"/> + </file> + <file + id="default-default-net_sf_pzfilereader_converter_ConvertDouble.java" + module="default" + path="net/sf/pzfilereader/converter/ConvertDouble.java" project="default"> + <result date="2006-12-15" statvalue="100" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_pzfilereader_converter_ConvertInteger.java" + module="default" + path="net/sf/pzfilereader/converter/ConvertInteger.java" project="default"> + <result date="2006-12-15" statvalue="100" type="cobertura-line"/> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_pzfilereader_brparse_BuffReaderPZParseFactory.java" + module="default" + path="net/sf/pzfilereader/brparse/BuffReaderPZParseFactory.java" project="default"> + <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + </file> </qalab> Added: trunk/PZFileReader/src/site/style/maven-objectlabkit.css =================================================================== --- trunk/PZFileReader/src/site/style/maven-objectlabkit.css (rev 0) +++ trunk/PZFileReader/src/site/style/maven-objectlabkit.css 2006-12-16 11:46:00 UTC (rev 229) @@ -0,0 +1,146 @@ +body, select, input, li { + background: #ffffff; + color: #002070; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; +} + +a img { + border: 0; +} + +a:link, a:visited { + color: #0020d0; + text-decoration: underline; +} + +a:hover { + color: #0000ff !important; +} + +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 15px; +} + +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} + +h2 { + padding: 2px 5px; + border: 1px solid #c0c0c0; + color: #002070; + background-color: #eeeeee; + font-weight: bold; + font-size: 16px; +} + +h3 { + padding: 2px 5px; + border: 1px solid #aaaaaa; + color: #002070; + background-color: #eeeeee; + font-size: 14px; +} + +p { + line-height: 1.3em; + font-size: small; +} + +#breadcrumbs { + background: url(../images/grayBar.jpg); + border: 1px solid #c0c0c0; + height: 17px; +} + +#breadcrumbs a { + font-size: 11px; + font-weight: bold; + margin: 0px 2px; + text-decoration: none; +} + +#leftColumn { + border: 1px solid #999999; + border-top: 0; + border-left: 0; + background: #eeeeee; +} + +div#navcolumn { + font-size: 12px; +} + +div#navcolumn h5 { + font-size: 12px; + padding-top: 2px; +} +/* +div#navcolumn li { + background: #eeeeee !important; +} +*/ +div#navcolumn div a { + color: #002070; + font-size: 11px; + text-decoration: none; +} + +table.bodyTable th { + color: #ffffff; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th { + color: #ffffff; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable a { + text-decoration : none; +} + +table.bodyTable tr.a { + background-c... [truncated message content] |
From: <be...@us...> - 2007-02-11 20:10:15
|
Revision: 277 http://svn.sourceforge.net/pzfilereader/?rev=277&view=rev Author: benoitx Date: 2007-02-11 12:10:10 -0800 (Sun, 11 Feb 2007) Log Message: ----------- Relocated code to https://pzfilereader.svn.sourceforge.net/svnroot/pzfilereader/trunk this is due to a SF bug when tagging. Modified Paths: -------------- trunk/PZFileReader/project.xml trunk/PZFileReader/qalab.xml trunk/PZFileReaderSamples/qalab.xml trunk/common-build/project.xml trunk/statsvn.bat Modified: trunk/PZFileReader/project.xml =================================================================== --- trunk/PZFileReader/project.xml 2007-02-06 14:45:14 UTC (rev 276) +++ trunk/PZFileReader/project.xml 2007-02-11 20:10:10 UTC (rev 277) @@ -34,10 +34,10 @@ </description> <repository> <connection> - scm:svn:https://svn.sourceforge.net/svnroot/pzfilereader/trunk/PZFileReader + scm:svn:https://pzfilereader.svn.sourceforge.net/svnroot/pzfilereader/trunk/PZFileReader </connection> <developerConnection> - scm:svn:https://svn.sourceforge.net/svnroot/pzfilereader/trunk/PZFileReader + scm:svn:https://pzfilereader.svn.sourceforge.net/svnroot/pzfilereader/trunk/PZFileReader </developerConnection> </repository> <dependencies /> Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2007-02-06 14:45:14 UTC (rev 276) +++ trunk/PZFileReader/qalab.xml 2007-02-11 20:10:10 UTC (rev 277) @@ -165,6 +165,30 @@ project="default" statvalue="37" type="cobertura-branch"/> <summaryresult date="2006-12-15" filecount="6" module="default" project="default" statvalue="15" type="pmd"/> + <summaryresult date="2006-12-16" filecount="42" module="default" + project="default" statvalue="12" type="checkstyle"/> + <summaryresult date="2006-12-16" filecount="1" module="default" + project="default" statvalue="1" type="findbugs"/> + <summaryresult date="2006-12-16" filecount="5" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2006-12-16" filecount="36" module="default" + project="default" statvalue="31" type="cobertura-line"/> + <summaryresult date="2006-12-16" filecount="36" module="default" + project="default" statvalue="47" type="cobertura-branch"/> + <summaryresult date="2006-12-16" filecount="3" module="default" + project="default" statvalue="4" type="pmd"/> + <summaryresult date="2007-01-18" filecount="42" module="default" + project="default" statvalue="9" type="checkstyle"/> + <summaryresult date="2007-01-18" filecount="1" module="default" + project="default" statvalue="1" type="findbugs"/> + <summaryresult date="2007-01-18" filecount="5" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-01-18" filecount="35" module="default" + project="default" statvalue="27" type="cobertura-line"/> + <summaryresult date="2007-01-18" filecount="35" module="default" + project="default" statvalue="35" type="cobertura-branch"/> + <summaryresult date="2007-01-18" filecount="3" module="default" + project="default" statvalue="4" type="pmd"/> </summary> <file id="default-default-com_pz_reader_ordering_package.html" module="default" path="com/pz/reader/ordering/package.html" project="default"> @@ -485,6 +509,8 @@ <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="3" type="checkstyle"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DataSet.java" module="default" path="net/sf/pzfilereader/DataSet.java" project="default"> @@ -518,6 +544,10 @@ <result date="2006-11-22" statvalue="13" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_LargeDataSet.java" module="default" path="net/sf/pzfilereader/LargeDataSet.java" project="default"> @@ -584,6 +614,12 @@ <result date="2006-12-15" statvalue="51" type="cobertura-line"/> <result date="2006-12-15" statvalue="60" type="cobertura-branch"/> <result date="2006-12-15" statvalue="2" type="pmd"/> + <result date="2006-12-16" statvalue="4" type="checkstyle"/> + <result date="2006-12-16" statvalue="60" type="cobertura-line"/> + <result date="2006-12-16" statvalue="68" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="4" type="checkstyle"/> + <result date="2007-01-18" statvalue="53" type="cobertura-line"/> + <result date="2007-01-18" statvalue="64" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_xml_PZMapParser.java" module="default" path="net/sf/pzfilereader/xml/PZMapParser.java" project="default"> @@ -607,6 +643,7 @@ <result date="2006-11-22" statvalue="1" type="pmd"/> <result date="2006-12-15" statvalue="3" type="checkstyle"/> <result date="2006-12-15" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_xml_ResolveLocalDTD.java" @@ -636,6 +673,9 @@ <result date="2006-11-22" statvalue="43" type="cobertura-line"/> <result date="2006-12-15" statvalue="1" type="findbugs"/> <result date="2006-12-15" statvalue="36" type="cobertura-line"/> + <result date="2006-12-16" statvalue="42" type="cobertura-line"/> + <result date="2006-12-16" statvalue="33" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="45" type="cobertura-line"/> </file> <file id="default-default-net_sf_pzfilereader_structure_ColumnMetaData.java" @@ -655,6 +695,10 @@ <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="66" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="66" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="66" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_Version.java" module="default" path="net/sf/pzfilereader/Version.java" project="default"> @@ -665,6 +709,8 @@ <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_xml_XMLRecordElement.java" @@ -681,6 +727,8 @@ <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_AbstractDelimiterPZParser.java" @@ -697,6 +745,14 @@ <result date="2006-12-15" statvalue="52" type="cobertura-line"/> <result date="2006-12-15" statvalue="60" type="cobertura-branch"/> <result date="2006-12-15" statvalue="2" type="pmd"/> + <result date="2006-12-16" statvalue="3" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="63" type="cobertura-line"/> + <result date="2006-12-16" statvalue="73" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="3" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="findbugs"/> + <result date="2007-01-18" statvalue="56" type="cobertura-line"/> + <result date="2007-01-18" statvalue="66" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DelimiterPZParser.java" @@ -711,6 +767,10 @@ <result date="2006-12-15" statvalue="1" type="checkstyle"/> <result date="2006-12-15" statvalue="37" type="cobertura-line"/> <result date="2006-12-15" statvalue="75" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="37" type="cobertura-line"/> + <result date="2006-12-16" statvalue="75" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="37" type="cobertura-line"/> + <result date="2007-01-18" statvalue="75" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_FixedLengthPZParser.java" @@ -748,6 +808,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="2" type="checkstyle"/> + <result date="2006-12-16" statvalue="2" type="pmd"/> + <result date="2007-01-18" statvalue="2" type="checkstyle"/> + <result date="2007-01-18" statvalue="2" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_util_FixedWidthParserUtils.java" @@ -764,6 +828,10 @@ <result date="2006-12-15" statvalue="1" type="findbugs"/> <result date="2006-12-15" statvalue="30" type="cobertura-line"/> <result date="2006-12-15" statvalue="16" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="24" type="cobertura-line"/> + <result date="2006-12-16" statvalue="16" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="30" type="cobertura-line"/> + <result date="2007-01-18" statvalue="16" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_util_RegExParser.java" module="default" @@ -801,6 +869,10 @@ <result date="2006-11-22" statvalue="50" type="cobertura-branch"/> <result date="2006-12-15" statvalue="43" type="cobertura-line"/> <result date="2006-12-15" statvalue="50" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="43" type="cobertura-line"/> + <result date="2006-12-16" statvalue="50" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="43" type="cobertura-line"/> + <result date="2007-01-18" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DefaultDataSet.java" module="default" path="net/sf/pzfilereader/DefaultDataSet.java" project="default"> @@ -813,6 +885,10 @@ <result date="2006-12-15" statvalue="22" type="cobertura-line"/> <result date="2006-12-15" statvalue="12" type="cobertura-branch"/> <result date="2006-12-15" statvalue="2" type="pmd"/> + <result date="2006-12-16" statvalue="23" type="cobertura-line"/> + <result date="2006-12-16" statvalue="12" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="22" type="cobertura-line"/> + <result date="2007-01-18" statvalue="11" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DefaultPZParserFactory.java" @@ -824,6 +900,10 @@ <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="33" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="33" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="33" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_PZParser.java" module="default" path="net/sf/pzfilereader/PZParser.java" project="default"> @@ -833,6 +913,10 @@ <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_PZParserFactory.java" module="default" path="net/sf/pzfilereader/PZParserFactory.java" project="default"> @@ -842,6 +926,10 @@ <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_InitialisationException.java" @@ -850,6 +938,8 @@ <result date="2006-11-02" statvalue="100" type="cobertura-branch"/> <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_package.html" @@ -865,6 +955,10 @@ <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_ConvertBigDecimal.java" @@ -873,6 +967,10 @@ <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_PZConvertException.java" @@ -880,6 +978,8 @@ path="net/sf/pzfilereader/converter/PZConvertException.java" project="default"> <result date="2006-11-22" statvalue="100" type="cobertura-branch"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_brparse_package.html" module="default" path="net/sf/pzfilereader/brparse/package.html" project="default"> @@ -905,6 +1005,8 @@ path="net/sf/pzfilereader/brparse/BuffReaderDelimPZParser.java" project="default"> <result date="2006-12-15" statvalue="3" type="checkstyle"/> <result date="2006-12-15" statvalue="6" type="pmd"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_converter_ConvertDouble.java" @@ -912,6 +1014,10 @@ path="net/sf/pzfilereader/converter/ConvertDouble.java" project="default"> <result date="2006-12-15" statvalue="100" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_ConvertInteger.java" @@ -919,11 +1025,28 @@ path="net/sf/pzfilereader/converter/ConvertInteger.java" project="default"> <result date="2006-12-15" statvalue="100" type="cobertura-line"/> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-line"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-line"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_brparse_BuffReaderPZParseFactory.java" module="default" path="net/sf/pzfilereader/brparse/BuffReaderPZParseFactory.java" project="default"> <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> + <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> + <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> </file> + <file + id="default-default-net_sf_pzfilereader_brparse_BuffReaderPZDataSet.java" + module="default" + path="net/sf/pzfilereader/brparse/BuffReaderPZDataSet.java" project="default"/> + <file + id="default-default-net_sf_pzfilereader_brparse_BuffReaderFixedPZParser.java" + module="default" + path="net/sf/pzfilereader/brparse/BuffReaderFixedPZParser.java" project="default"> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> + </file> </qalab> Modified: trunk/PZFileReaderSamples/qalab.xml =================================================================== --- trunk/PZFileReaderSamples/qalab.xml 2007-02-06 14:45:14 UTC (rev 276) +++ trunk/PZFileReaderSamples/qalab.xml 2007-02-11 20:10:10 UTC (rev 277) @@ -77,6 +77,22 @@ project="default" statvalue="92" type="simian"/> <summaryresult date="2006-11-22" filecount="11" module="default" project="default" statvalue="12" type="pmd"/> + <summaryresult date="2006-12-16" filecount="34" module="default" + project="default" statvalue="165" type="checkstyle"/> + <summaryresult date="2006-12-16" filecount="8" module="default" + project="default" statvalue="12" type="findbugs"/> + <summaryresult date="2006-12-16" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2006-12-16" filecount="11" module="default" + project="default" statvalue="12" type="pmd"/> + <summaryresult date="2007-01-18" filecount="34" module="default" + project="default" statvalue="163" type="checkstyle"/> + <summaryresult date="2007-01-18" filecount="8" module="default" + project="default" statvalue="12" type="findbugs"/> + <summaryresult date="2007-01-18" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-01-18" filecount="10" module="default" + project="default" statvalue="10" type="pmd"/> </summary> <file id="default-default-com_pz_reader_examples_numericsanddates_package.html" @@ -287,6 +303,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" @@ -298,6 +316,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" @@ -309,6 +329,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_package.html" @@ -320,6 +342,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" @@ -331,6 +355,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" @@ -342,6 +368,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_package.html" @@ -353,6 +381,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" @@ -364,6 +394,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_package.html" @@ -375,6 +407,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" @@ -386,6 +420,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" @@ -397,6 +433,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_package.html" @@ -408,6 +446,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_package.html" @@ -419,6 +459,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" @@ -430,6 +472,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" @@ -441,6 +485,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" @@ -452,6 +498,8 @@ <result date="2006-10-25" statvalue="1" type="checkstyle"/> <result date="2006-11-02" statvalue="1" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_Examples.java" @@ -468,6 +516,10 @@ <result date="2006-11-02" statvalue="1" type="findbugs"/> <result date="2006-11-22" statvalue="16" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="14" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="findbugs"/> + <result date="2007-01-18" statvalue="14" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" @@ -491,6 +543,12 @@ <result date="2006-11-22" statvalue="7" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="findbugs"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="7" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="7" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="findbugs"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" @@ -502,6 +560,8 @@ <result date="2006-10-25" statvalue="17" type="checkstyle"/> <result date="2006-11-02" statvalue="17" type="checkstyle"/> <result date="2006-11-22" statvalue="17" type="checkstyle"/> + <result date="2006-12-16" statvalue="17" type="checkstyle"/> + <result date="2007-01-18" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" @@ -521,6 +581,12 @@ <result date="2006-11-22" statvalue="17" type="checkstyle"/> <result date="2006-11-22" statvalue="2" type="findbugs"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="17" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="17" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="findbugs"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" @@ -536,6 +602,9 @@ <result date="2006-11-22" statvalue="7" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="findbugs"/> <result date="2006-11-22" statvalue="2" type="pmd"/> + <result date="2006-12-16" statvalue="7" type="checkstyle"/> + <result date="2006-12-16" statvalue="2" type="pmd"/> + <result date="2007-01-18" statvalue="5" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" @@ -549,6 +618,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="13" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="14" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="14" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" @@ -562,6 +635,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="14" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="14" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="14" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" @@ -575,6 +652,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="4" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="4" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="4" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" @@ -588,6 +669,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="4" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="4" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="4" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" @@ -601,6 +686,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="18" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="18" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="18" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" @@ -614,6 +703,10 @@ <result date="2006-11-02" statvalue="1" type="findbugs"/> <result date="2006-11-22" statvalue="4" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="4" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="findbugs"/> + <result date="2007-01-18" statvalue="4" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" @@ -627,6 +720,10 @@ <result date="2006-11-02" statvalue="1" type="findbugs"/> <result date="2006-11-22" statvalue="3" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="3" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="findbugs"/> + <result date="2007-01-18" statvalue="3" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" @@ -644,6 +741,10 @@ <result date="2006-11-02" statvalue="1" type="findbugs"/> <result date="2006-11-22" statvalue="9" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="findbugs"/> + <result date="2006-12-16" statvalue="9" type="checkstyle"/> + <result date="2006-12-16" statvalue="3" type="findbugs"/> + <result date="2007-01-18" statvalue="9" type="checkstyle"/> + <result date="2007-01-18" statvalue="3" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" @@ -667,6 +768,12 @@ <result date="2006-11-22" statvalue="4" type="checkstyle"/> <result date="2006-11-22" statvalue="2" type="findbugs"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="5" type="checkstyle"/> + <result date="2006-12-16" statvalue="2" type="findbugs"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="5" type="checkstyle"/> + <result date="2007-01-18" statvalue="2" type="findbugs"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" @@ -680,6 +787,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="5" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="5" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="5" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" @@ -693,6 +804,10 @@ <result date="2006-11-02" statvalue="1" type="pmd"/> <result date="2006-11-22" statvalue="7" type="checkstyle"/> <result date="2006-11-22" statvalue="1" type="pmd"/> + <result date="2006-12-16" statvalue="7" type="checkstyle"/> + <result date="2006-12-16" statvalue="1" type="pmd"/> + <result date="2007-01-18" statvalue="7" type="checkstyle"/> + <result date="2007-01-18" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_ConsoleMenu.java" @@ -704,5 +819,7 @@ <result date="2006-10-25" statvalue="2" type="findbugs"/> <result date="2006-11-02" statvalue="2" type="findbugs"/> <result date="2006-11-22" statvalue="2" type="findbugs"/> + <result date="2006-12-16" statvalue="2" type="findbugs"/> + <result date="2007-01-18" statvalue="2" type="findbugs"/> </file> </qalab> Modified: trunk/common-build/project.xml =================================================================== --- trunk/common-build/project.xml 2007-02-06 14:45:14 UTC (rev 276) +++ trunk/common-build/project.xml 2007-02-11 20:10:10 UTC (rev 277) @@ -43,12 +43,12 @@ <siteAddress>pzfilereader.sourceforge.net</siteAddress> <siteDirectory/> <repository> - <url>http://svn.sourceforge.net/pzfilereader</url> + <url>http://pzfilereader.svn.sourceforge.net/pzfilereader</url> <connection> - scm:svn:https://svn.sourceforge.net/svnroot/pzfilereader/trunk + scm:svn:https://pzfilereader.svn.sourceforge.net/svnroot/pzfilereader/trunk </connection> <developerConnection> - scm:svn:https://svn.sourceforge.net/svnroot/pzfilereader/trunk + scm:svn:https://pzfilereader.svn.sourceforge.net/svnroot/pzfilereader/trunk </developerConnection> </repository> <developers> Modified: trunk/statsvn.bat =================================================================== --- trunk/statsvn.bat 2007-02-06 14:45:14 UTC (rev 276) +++ trunk/statsvn.bat 2007-02-11 20:10:10 UTC (rev 277) @@ -1,3 +1,3 @@ -svn log -v --xml https://svn.sourceforge.net/svnroot/pzfilereader/ > svn.log +rem svn log -v --xml https://pzfilereader.svn.sourceforge.net/svnroot/pzfilereader/ > svn.log rem mkdir target\docs\statsvn -java -jar c:\java\statsvn\statsvn.jar -format xdoc -verbose -tags "^release_2.2.0|^Root_v2_0_0|^Root_v1_0_5|^Root_V2_1_0|^Root_V2_2_0_0/" -output-dir src\site\statsvn -title PZFileReader -exclude "**/SampleCSV.csv|**/qalab.xml" -viewvc http://svn.sourceforge.net/viewvc/pzfilereader/trunk ./svn.log . +java -jar c:\java\statsvn\statsvn.jar -xdoc -verbose -tags "^release_2.2.0|^Root_v2_0_0|^Root_v1_0_5|^Root_V2_1_0|^Root_V2_2_0_0/" -output-dir src\site\statsvn -title PZFileReader -exclude "**/SampleCSV.csv|**/qalab.xml" -viewvc http://pzfilereader.svn.sourceforge.net/viewvc/pzfilereader/trunk ./svn.log . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2007-02-11 21:19:15
|
Revision: 278 http://svn.sourceforge.net/pzfilereader/?rev=278&view=rev Author: benoitx Date: 2007-02-11 13:19:14 -0800 (Sun, 11 Feb 2007) Log Message: ----------- tidy up press release and added a RSS feed for news. Modified Paths: -------------- trunk/PZFileReader/qalab.xml trunk/PZFileReaderSamples/qalab.xml trunk/src/site/index.xml trunk/src/site/press/index.xml Added Paths: ----------- trunk/src/site/news.rss trunk/src/site/press/press-release-2.3.0.txt trunk/src/site/press/press-release-3.0.0.txt Removed Paths: ------------- trunk/src/site/press/press-release-2.3.0.txt Modified: trunk/PZFileReader/qalab.xml =================================================================== --- trunk/PZFileReader/qalab.xml 2007-02-11 20:10:10 UTC (rev 277) +++ trunk/PZFileReader/qalab.xml 2007-02-11 21:19:14 UTC (rev 278) @@ -189,6 +189,16 @@ project="default" statvalue="35" type="cobertura-branch"/> <summaryresult date="2007-01-18" filecount="3" module="default" project="default" statvalue="4" type="pmd"/> + <summaryresult date="2007-02-11" filecount="42" module="default" + project="default" statvalue="9" type="checkstyle"/> + <summaryresult date="2007-02-11" filecount="5" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-02-11" filecount="35" module="default" + project="default" statvalue="27" type="cobertura-line"/> + <summaryresult date="2007-02-11" filecount="35" module="default" + project="default" statvalue="36" type="cobertura-branch"/> + <summaryresult date="2007-02-11" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> </summary> <file id="default-default-com_pz_reader_ordering_package.html" module="default" path="com/pz/reader/ordering/package.html" project="default"> @@ -511,6 +521,7 @@ <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DataSet.java" module="default" path="net/sf/pzfilereader/DataSet.java" project="default"> @@ -548,6 +559,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_LargeDataSet.java" module="default" path="net/sf/pzfilereader/LargeDataSet.java" project="default"> @@ -620,6 +633,9 @@ <result date="2007-01-18" statvalue="4" type="checkstyle"/> <result date="2007-01-18" statvalue="53" type="cobertura-line"/> <result date="2007-01-18" statvalue="64" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="4" type="checkstyle"/> + <result date="2007-02-11" statvalue="54" type="cobertura-line"/> + <result date="2007-02-11" statvalue="64" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_xml_PZMapParser.java" module="default" path="net/sf/pzfilereader/xml/PZMapParser.java" project="default"> @@ -676,6 +692,7 @@ <result date="2006-12-16" statvalue="42" type="cobertura-line"/> <result date="2006-12-16" statvalue="33" type="cobertura-branch"/> <result date="2007-01-18" statvalue="45" type="cobertura-line"/> + <result date="2007-02-11" statvalue="45" type="cobertura-line"/> </file> <file id="default-default-net_sf_pzfilereader_structure_ColumnMetaData.java" @@ -699,6 +716,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="66" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="66" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_Version.java" module="default" path="net/sf/pzfilereader/Version.java" project="default"> @@ -711,6 +730,7 @@ <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_xml_XMLRecordElement.java" @@ -729,6 +749,7 @@ <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_AbstractDelimiterPZParser.java" @@ -753,6 +774,9 @@ <result date="2007-01-18" statvalue="1" type="findbugs"/> <result date="2007-01-18" statvalue="56" type="cobertura-line"/> <result date="2007-01-18" statvalue="66" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="3" type="checkstyle"/> + <result date="2007-02-11" statvalue="56" type="cobertura-line"/> + <result date="2007-02-11" statvalue="66" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DelimiterPZParser.java" @@ -771,6 +795,8 @@ <result date="2006-12-16" statvalue="75" type="cobertura-branch"/> <result date="2007-01-18" statvalue="37" type="cobertura-line"/> <result date="2007-01-18" statvalue="75" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="37" type="cobertura-line"/> + <result date="2007-02-11" statvalue="75" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_FixedLengthPZParser.java" @@ -812,6 +838,7 @@ <result date="2006-12-16" statvalue="2" type="pmd"/> <result date="2007-01-18" statvalue="2" type="checkstyle"/> <result date="2007-01-18" statvalue="2" type="pmd"/> + <result date="2007-02-11" statvalue="2" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_util_FixedWidthParserUtils.java" @@ -832,6 +859,8 @@ <result date="2006-12-16" statvalue="16" type="cobertura-branch"/> <result date="2007-01-18" statvalue="30" type="cobertura-line"/> <result date="2007-01-18" statvalue="16" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="30" type="cobertura-line"/> + <result date="2007-02-11" statvalue="16" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_util_RegExParser.java" module="default" @@ -873,6 +902,8 @@ <result date="2006-12-16" statvalue="50" type="cobertura-branch"/> <result date="2007-01-18" statvalue="43" type="cobertura-line"/> <result date="2007-01-18" statvalue="50" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="43" type="cobertura-line"/> + <result date="2007-02-11" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DefaultDataSet.java" module="default" path="net/sf/pzfilereader/DefaultDataSet.java" project="default"> @@ -889,6 +920,8 @@ <result date="2006-12-16" statvalue="12" type="cobertura-branch"/> <result date="2007-01-18" statvalue="22" type="cobertura-line"/> <result date="2007-01-18" statvalue="11" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="22" type="cobertura-line"/> + <result date="2007-02-11" statvalue="11" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_DefaultPZParserFactory.java" @@ -904,6 +937,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="33" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="33" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_PZParser.java" module="default" path="net/sf/pzfilereader/PZParser.java" project="default"> @@ -917,6 +952,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_PZParserFactory.java" module="default" path="net/sf/pzfilereader/PZParserFactory.java" project="default"> @@ -930,6 +967,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_InitialisationException.java" @@ -940,6 +979,7 @@ <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_package.html" @@ -959,6 +999,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_ConvertBigDecimal.java" @@ -971,6 +1013,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_PZConvertException.java" @@ -980,6 +1024,7 @@ <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_brparse_package.html" module="default" path="net/sf/pzfilereader/brparse/package.html" project="default"> @@ -1007,6 +1052,7 @@ <result date="2006-12-15" statvalue="6" type="pmd"/> <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_converter_ConvertDouble.java" @@ -1018,6 +1064,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_converter_ConvertInteger.java" @@ -1029,6 +1077,8 @@ <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-line"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-line"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_brparse_BuffReaderPZParseFactory.java" @@ -1037,6 +1087,7 @@ <result date="2006-12-15" statvalue="100" type="cobertura-branch"/> <result date="2006-12-16" statvalue="100" type="cobertura-branch"/> <result date="2007-01-18" statvalue="100" type="cobertura-branch"/> + <result date="2007-02-11" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_pzfilereader_brparse_BuffReaderPZDataSet.java" @@ -1048,5 +1099,6 @@ path="net/sf/pzfilereader/brparse/BuffReaderFixedPZParser.java" project="default"> <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> </qalab> Modified: trunk/PZFileReaderSamples/qalab.xml =================================================================== --- trunk/PZFileReaderSamples/qalab.xml 2007-02-11 20:10:10 UTC (rev 277) +++ trunk/PZFileReaderSamples/qalab.xml 2007-02-11 21:19:14 UTC (rev 278) @@ -93,6 +93,14 @@ project="default" statvalue="92" type="simian"/> <summaryresult date="2007-01-18" filecount="10" module="default" project="default" statvalue="10" type="pmd"/> + <summaryresult date="2007-02-11" filecount="34" module="default" + project="default" statvalue="163" type="checkstyle"/> + <summaryresult date="2007-02-11" filecount="8" module="default" + project="default" statvalue="12" type="findbugs"/> + <summaryresult date="2007-02-11" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-02-11" filecount="10" module="default" + project="default" statvalue="10" type="pmd"/> </summary> <file id="default-default-com_pz_reader_examples_numericsanddates_package.html" @@ -305,6 +313,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" @@ -318,6 +327,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" @@ -331,6 +341,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_package.html" @@ -344,6 +355,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" @@ -357,6 +369,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" @@ -370,6 +383,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_package.html" @@ -383,6 +397,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" @@ -396,6 +411,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_package.html" @@ -409,6 +425,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" @@ -422,6 +439,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" @@ -435,6 +453,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_package.html" @@ -448,6 +467,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_package.html" @@ -461,6 +481,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" @@ -474,6 +495,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" @@ -487,6 +509,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" @@ -500,6 +523,7 @@ <result date="2006-11-22" statvalue="1" type="checkstyle"/> <result date="2006-12-16" statvalue="1" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_Examples.java" @@ -520,6 +544,8 @@ <result date="2006-12-16" statvalue="1" type="findbugs"/> <result date="2007-01-18" statvalue="14" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="findbugs"/> + <result date="2007-02-11" statvalue="14" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" @@ -549,6 +575,9 @@ <result date="2007-01-18" statvalue="7" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="findbugs"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="7" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="findbugs"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" @@ -562,6 +591,7 @@ <result date="2006-11-22" statvalue="17" type="checkstyle"/> <result date="2006-12-16" statvalue="17" type="checkstyle"/> <result date="2007-01-18" statvalue="17" type="checkstyle"/> + <result date="2007-02-11" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" @@ -587,6 +617,9 @@ <result date="2007-01-18" statvalue="17" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="findbugs"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="17" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="findbugs"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" @@ -605,6 +638,7 @@ <result date="2006-12-16" statvalue="7" type="checkstyle"/> <result date="2006-12-16" statvalue="2" type="pmd"/> <result date="2007-01-18" statvalue="5" type="checkstyle"/> + <result date="2007-02-11" statvalue="5" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" @@ -622,6 +656,8 @@ <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="14" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="14" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" @@ -639,6 +675,8 @@ <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="14" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="14" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" @@ -656,6 +694,8 @@ <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="4" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="4" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" @@ -673,6 +713,8 @@ <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="4" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="4" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" @@ -690,6 +732,8 @@ <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="18" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="18" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" @@ -707,6 +751,8 @@ <result date="2006-12-16" statvalue="1" type="findbugs"/> <result date="2007-01-18" statvalue="4" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="findbugs"/> + <result date="2007-02-11" statvalue="4" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" @@ -724,6 +770,8 @@ <result date="2006-12-16" statvalue="1" type="findbugs"/> <result date="2007-01-18" statvalue="3" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="findbugs"/> + <result date="2007-02-11" statvalue="3" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" @@ -745,6 +793,8 @@ <result date="2006-12-16" statvalue="3" type="findbugs"/> <result date="2007-01-18" statvalue="9" type="checkstyle"/> <result date="2007-01-18" statvalue="3" type="findbugs"/> + <result date="2007-02-11" statvalue="9" type="checkstyle"/> + <result date="2007-02-11" statvalue="3" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" @@ -774,6 +824,9 @@ <result date="2007-01-18" statvalue="5" type="checkstyle"/> <result date="2007-01-18" statvalue="2" type="findbugs"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="5" type="checkstyle"/> + <result date="2007-02-11" statvalue="2" type="findbugs"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" @@ -791,6 +844,8 @@ <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="5" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="5" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" @@ -808,6 +863,8 @@ <result date="2006-12-16" statvalue="1" type="pmd"/> <result date="2007-01-18" statvalue="7" type="checkstyle"/> <result date="2007-01-18" statvalue="1" type="pmd"/> + <result date="2007-02-11" statvalue="7" type="checkstyle"/> + <result date="2007-02-11" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_ConsoleMenu.java" @@ -821,5 +878,6 @@ <result date="2006-11-22" statvalue="2" type="findbugs"/> <result date="2006-12-16" statvalue="2" type="findbugs"/> <result date="2007-01-18" statvalue="2" type="findbugs"/> + <result date="2007-02-11" statvalue="2" type="findbugs"/> </file> </qalab> Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2007-02-11 20:10:10 UTC (rev 277) +++ trunk/src/site/index.xml 2007-02-11 21:19:14 UTC (rev 278) @@ -20,6 +20,11 @@ </head> <body> <!-- The body of the document contains a number of sections --> + <section name="StatSVN News"> + <p>Get the RSS feed of the news <a href="news.rss"><img src="images/rss.png"></img></a></p> + <p>Feb 11, 2007: PZFileReader 3.0.0 is released, new interfaces (not backward compatible) but great performance improvements (order of magnitude).</p> + </section> + <section name="PZFileReader Introduction"> <p>PZFileReader came out of the frustration of having to mix file parsing logic with business logic.</p> Added: trunk/src/site/news.rss =================================================================== --- trunk/src/site/news.rss (rev 0) +++ trunk/src/site/news.rss 2007-02-11 21:19:14 UTC (rev 278) @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<rss version="1.0"> + <channel> + <title>PZFileReader News</title> + <link>http://pzfilereader.sourceforge.net</link> + <description>PZFileReader News</description> + <language>en-us</language> + <copyright>Copyright 2007 PZFileReader Sourceforge Development Group & ObjectLab</copyright> + + <item> + <title>PZFileReader 3.0.0 is released.</title> + <description><![CDATA[ +<p>This is a major release with new interfaces and massive performance gains (orders of magnitude).</p> + ]]></description> + </item> + + </channel> +</rss> \ No newline at end of file Modified: trunk/src/site/press/index.xml =================================================================== --- trunk/src/site/press/index.xml 2007-02-11 20:10:10 UTC (rev 277) +++ trunk/src/site/press/index.xml 2007-02-11 21:19:14 UTC (rev 278) @@ -19,7 +19,7 @@ </head> <body> <!-- The body of the document contains a number of sections --> - <section name="Release 2.3.0. Oct 2006"> + <section name="Release 3.0.0. Feb 2007"> <p> @@ -27,7 +27,7 @@ <subsection name="On the web"> <ul> - <li><a href="press-release-2.3.0.txt">Oct 2006 'press' release</a></li> + <li><a href="press-release-3.0.0.txt">Feb 2007 'press' release</a></li> </ul> </subsection> Deleted: trunk/src/site/press/press-release-2.3.0.txt =================================================================== --- trunk/src/site/press/press-release-2.3.0.txt 2007-02-11 20:10:10 UTC (rev 277) +++ trunk/src/site/press/press-release-2.3.0.txt 2007-02-11 21:19:14 UTC (rev 278) @@ -1,46 +0,0 @@ -Paul Zepernick and ObjectLab are pleased to announce release 2.3.0 of -PZFileReader for Java 1.4+. - -Open Source flat file parser (CSV, Fixed Length, Custom) using XML -to configure formats. - -http://pzfilereader.sourceforge.net - -PZFileReader is released under the business friendly Apache License v2.0. - -It is available immediately for download via SourceForge or the Maven Central -Repository (both Maven 1 and Maven 2). The homepage has some very -quick examples. - -The library is small, lightweight and does not force you to adopt a -framework. - -The implementation is useful to any business that deal with flat files. -The library allow you to define an XML mapping (or in a database) of -the format of your file. Once this is done, the parsed data can be accessed -via a simple name lookup mechanism. - -It is our aim to publish at some point some well know file formats for -your immediate use. - -ObjectLab is not new to the open-source community having used numerous OS -projects, It has recently launched the ObjectLab Kit family, including: -- QALab (http://qalab.sourceforge.net), a tool that keeps track over-time - of the static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc. -- DateCalculators (http://objectlabkit.sourceforge.net), a set of generic - lightweight and thread-safe Date calculators for Business and Finance. -- JTreeMap, (http://jtreemap.sourceforge.net), probably the only Java Open - Source implementation of treemap/heatmaps, available as a Swing or SWT - component. - -We would like to thanks our friends and colleagues at XXXX for their help, -reviews and suggestions. - -Sorry for the long email... - -Feel free to pass on to people who may be interested. - -Enjoy!! - -Paul Zepernick and The ObjectLab Team (Benoit Xhenseval, Marcin Jekot) - Added: trunk/src/site/press/press-release-2.3.0.txt =================================================================== --- trunk/src/site/press/press-release-2.3.0.txt (rev 0) +++ trunk/src/site/press/press-release-2.3.0.txt 2007-02-11 21:19:14 UTC (rev 278) @@ -0,0 +1,46 @@ +Paul Zepernick and ObjectLab are pleased to announce release 2.3.0 of +PZFileReader for Java 1.4+. + +Open Source flat file parser (CSV, Fixed Length, Custom) using XML +to configure formats. + +http://pzfilereader.sourceforge.net + +PZFileReader is released under the business friendly Apache License v2.0. + +It is available immediately for download via SourceForge or the Maven Central +Repository (both Maven 1 and Maven 2). The homepage has some very +quick examples. + +The library is small, lightweight and does not force you to adopt a +framework. + +The implementation is useful to any business that deal with flat files. +The library allow you to define an XML mapping (or in a database) of +the format of your file. Once this is done, the parsed data can be accessed +via a simple name lookup mechanism. + +It is our aim to publish at some point some well know file formats for +your immediate use. + +ObjectLab is not new to the open-source community having used numerous OS +projects, It has recently launched the ObjectLab Kit family, including: +- QALab (http://qalab.sourceforge.net), a tool that keeps track over-time + of the static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc. +- DateCalculators (http://objectlabkit.sourceforge.net), a set of generic + lightweight and thread-safe Date calculators for Business and Finance. +- JTreeMap, (http://jtreemap.sourceforge.net), probably the only Java Open + Source implementation of treemap/heatmaps, available as a Swing or SWT + component. + +We would like to thanks our friends and colleagues at XXXX for their help, +reviews and suggestions. + +Sorry for the long email... + +Feel free to pass on to people who may be interested. + +Enjoy!! + +Paul Zepernick and The ObjectLab Team (Benoit Xhenseval, Marcin Jekot) + Added: trunk/src/site/press/press-release-3.0.0.txt =================================================================== --- trunk/src/site/press/press-release-3.0.0.txt (rev 0) +++ trunk/src/site/press/press-release-3.0.0.txt 2007-02-11 21:19:14 UTC (rev 278) @@ -0,0 +1,49 @@ +Paul Zepernick and ObjectLab are pleased to announce release 3.0.0 of +PZFileReader for Java 1.4+. + +Open Source flat file parser (CSV, Fixed Length, Custom) using XML +to configure formats. + +http://pzfilereader.sourceforge.net + +This is a major release with re-designed interfaces and performance gains +of, in some cases, SEVERAL order of magnitude. + +PZFileReader is released under the business friendly Apache License v2.0. + +It is available immediately for download via SourceForge or the Maven Central +Repository (both Maven 1 and Maven 2). The homepage has some very +quick examples. + +The library is small, lightweight and does not force you to adopt a +framework. + +The implementation is useful to any business that deal with flat files. +The library allow you to define an XML mapping (or in a database) of +the format of your file. Once this is done, the parsed data can be accessed +via a simple name lookup mechanism. + +It is our aim to publish at some point some well know file formats for +your immediate use. + +ObjectLab is not new to the open-source community having used numerous OS +projects, It has recently launched the ObjectLab Kit family, including: +- QALab (http://qalab.sourceforge.net), a tool that keeps track over-time + of the static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc. +- DateCalculators (http://objectlabkit.sourceforge.net), a set of generic + lightweight and thread-safe Date calculators for Business and Finance. +- JTreeMap, (http://jtreemap.sourceforge.net), probably the only Java Open + Source implementation of treemap/heatmaps, available as a Swing or SWT + component. +- StatSVN, (http://www.statsvn.org), statistics for your Subversion repo. + +We would like to thanks our friends and colleagues for their help, +reviews and suggestions. + +Sorry for the long email... + +Feel free to pass on to people who may be interested. + +Enjoy!! + +Paul Zepernick and The ObjectLab Team (Benoit Xhenseval, Marcin Jekot) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |