From: <be...@us...> - 2007-09-05 19:10:14
|
Revision: 347 http://flatpack.svn.sourceforge.net/flatpack/?rev=347&view=rev Author: benoitx Date: 2007-09-05 12:10:14 -0700 (Wed, 05 Sep 2007) Log Message: ----------- Update site. Modified Paths: -------------- trunk/flatpack-samples/qalab.xml trunk/src/site/changes.xml trunk/src/site/index.xml Modified: trunk/flatpack-samples/qalab.xml =================================================================== --- trunk/flatpack-samples/qalab.xml 2007-09-05 19:09:25 UTC (rev 346) +++ trunk/flatpack-samples/qalab.xml 2007-09-05 19:10:14 UTC (rev 347) @@ -149,6 +149,22 @@ project="default" statvalue="92" type="simian"/> <summaryresult date="2007-08-30" filecount="2" module="default" project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-09-04" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-09-04" filecount="6" module="default" + project="default" statvalue="9" type="findbugs"/> + <summaryresult date="2007-09-04" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-09-04" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-09-05" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-09-05" filecount="6" module="default" + project="default" statvalue="9" type="findbugs"/> + <summaryresult date="2007-09-05" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-09-05" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> </summary> <file id="default-default-com_pz_reader_examples_numericsanddates_package.html" @@ -368,6 +384,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" @@ -388,6 +406,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" @@ -408,6 +428,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_package.html" @@ -428,6 +450,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" @@ -448,6 +472,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" @@ -468,6 +494,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_package.html" @@ -488,6 +516,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" @@ -508,6 +538,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_package.html" @@ -528,6 +560,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" @@ -548,6 +582,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" @@ -568,6 +604,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_package.html" @@ -588,6 +626,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_package.html" @@ -608,6 +648,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" @@ -628,6 +670,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" @@ -648,6 +692,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" @@ -668,6 +714,8 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_Examples.java" @@ -702,6 +750,10 @@ <result date="2007-08-21" statvalue="1" type="findbugs"/> <result date="2007-08-30" statvalue="14" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="findbugs"/> + <result date="2007-09-04" statvalue="14" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="findbugs"/> + <result date="2007-09-05" statvalue="14" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" @@ -752,6 +804,12 @@ <result date="2007-08-30" statvalue="7" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="findbugs"/> <result date="2007-08-30" statvalue="1" type="pmd"/> + <result date="2007-09-04" statvalue="7" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="findbugs"/> + <result date="2007-09-04" statvalue="1" type="pmd"/> + <result date="2007-09-05" statvalue="7" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="findbugs"/> + <result date="2007-09-05" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" @@ -772,6 +830,8 @@ <result date="2007-08-20" statvalue="17" type="checkstyle"/> <result date="2007-08-21" statvalue="17" type="checkstyle"/> <result date="2007-08-30" statvalue="17" type="checkstyle"/> + <result date="2007-09-04" statvalue="17" type="checkstyle"/> + <result date="2007-09-05" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" @@ -814,6 +874,10 @@ <result date="2007-08-21" statvalue="1" type="findbugs"/> <result date="2007-08-30" statvalue="16" type="checkstyle"/> <result date="2007-08-30" statvalue="1" type="findbugs"/> + <result date="2007-09-04" statvalue="16" type="checkstyle"/> + <result date="2007-09-04" statvalue="1" type="findbugs"/> + <result date="2007-09-05" statvalue="16" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" @@ -839,6 +903,8 @@ <result date="2007-08-20" statvalue="5" type="checkstyle"/> <result date="2007-08-21" statvalue="5" type="checkstyle"/> <result date="2007-08-30" statvalue="5" type="checkstyle"/> + <result date="2007-09-04" statvalue="5" type="checkstyle"/> + <result date="2007-09-05" statvalue="5" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" @@ -866,6 +932,8 @@ <result date="2007-08-20" statvalue="13" type="checkstyle"/> <result date="2007-08-21" statvalue="13" type="checkstyle"/> <result date="2007-08-30" statvalue="13" type="checkstyle"/> + <result date="2007-09-04" statvalue="13" type="checkstyle"/> + <result date="2007-09-05" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" @@ -893,6 +961,8 @@ <result date="2007-08-20" statvalue="13" type="checkstyle"/> <result date="2007-08-21" statvalue="13" type="checkstyle"/> <result date="2007-08-30" statvalue="13" type="checkstyle"/> + <result date="2007-09-04" statvalue="13" type="checkstyle"/> + <result date="2007-09-05" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" @@ -920,6 +990,8 @@ <result date="2007-08-20" statvalue="3" type="checkstyle"/> <result date="2007-08-21" statvalue="3" type="checkstyle"/> <result date="2007-08-30" statvalue="3" type="checkstyle"/> + <result date="2007-09-04" statvalue="3" type="checkstyle"/> + <result date="2007-09-05" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" @@ -947,6 +1019,8 @@ <result date="2007-08-20" statvalue="3" type="checkstyle"/> <result date="2007-08-21" statvalue="3" type="checkstyle"/> <result date="2007-08-30" statvalue="3" type="checkstyle"/> + <result date="2007-09-04" statvalue="3" type="checkstyle"/> + <result date="2007-09-05" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" @@ -974,6 +1048,8 @@ <result date="2007-08-20" statvalue="17" type="checkstyle"/> <result date="2007-08-21" statvalue="17" type="checkstyle"/> <result date="2007-08-30" statvalue="17" type="checkstyle"/> + <result date="2007-09-04" statvalue="17" type="checkstyle"/> + <result date="2007-09-05" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" @@ -1004,6 +1080,8 @@ <result date="2007-08-21" statvalue="4" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="findbugs"/> <result date="2007-08-30" statvalue="4" type="checkstyle"/> + <result date="2007-09-04" statvalue="4" type="checkstyle"/> + <result date="2007-09-05" statvalue="4" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" @@ -1034,6 +1112,8 @@ <result date="2007-08-21" statvalue="3" type="checkstyle"/> <result date="2007-08-21" statvalue="1" type="findbugs"/> <result date="2007-08-30" statvalue="3" type="checkstyle"/> + <result date="2007-09-04" statvalue="3" type="checkstyle"/> + <result date="2007-09-05" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" @@ -1069,6 +1149,10 @@ <result date="2007-08-21" statvalue="3" type="findbugs"/> <result date="2007-08-30" statvalue="9" type="checkstyle"/> <result date="2007-08-30" statvalue="2" type="findbugs"/> + <result date="2007-09-04" statvalue="9" type="checkstyle"/> + <result date="2007-09-04" statvalue="2" type="findbugs"/> + <result date="2007-09-05" statvalue="9" type="checkstyle"/> + <result date="2007-09-05" statvalue="2" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" @@ -1119,6 +1203,12 @@ <result date="2007-08-30" statvalue="5" type="checkstyle"/> <result date="2007-08-30" statvalue="2" type="findbugs"/> <result date="2007-08-30" statvalue="1" type="pmd"/> + <result date="2007-09-04" statvalue="5" type="checkstyle"/> + <result date="2007-09-04" statvalue="2" type="findbugs"/> + <result date="2007-09-04" statvalue="1" type="pmd"/> + <result date="2007-09-05" statvalue="5" type="checkstyle"/> + <result date="2007-09-05" statvalue="2" type="findbugs"/> + <result date="2007-09-05" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" @@ -1146,6 +1236,8 @@ <result date="2007-08-20" statvalue="4" type="checkstyle"/> <result date="2007-08-21" statvalue="4" type="checkstyle"/> <result date="2007-08-30" statvalue="4" type="checkstyle"/> + <result date="2007-09-04" statvalue="4" type="checkstyle"/> + <result date="2007-09-05" statvalue="4" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" @@ -1173,6 +1265,8 @@ <result date="2007-08-20" statvalue="6" type="checkstyle"/> <result date="2007-08-21" statvalue="6" type="checkstyle"/> <result date="2007-08-30" statvalue="6" type="checkstyle"/> + <result date="2007-09-04" statvalue="6" type="checkstyle"/> + <result date="2007-09-05" statvalue="6" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_ConsoleMenu.java" @@ -1193,5 +1287,7 @@ <result date="2007-08-20" statvalue="2" type="findbugs"/> <result date="2007-08-21" statvalue="2" type="findbugs"/> <result date="2007-08-30" statvalue="2" type="findbugs"/> + <result date="2007-09-04" statvalue="2" type="findbugs"/> + <result date="2007-09-05" statvalue="2" type="findbugs"/> </file> </qalab> Modified: trunk/src/site/changes.xml =================================================================== --- trunk/src/site/changes.xml 2007-09-05 19:09:25 UTC (rev 346) +++ trunk/src/site/changes.xml 2007-09-05 19:10:14 UTC (rev 347) @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- +<!-- --> <document> @@ -8,44 +8,46 @@ </properties> <body> <release version="3.1.0-SNAPSHOT" date="in svn" description="NAME CHANGE"> - <action dev="zepernick" type="change">added contains() method to DataSet to check for the existance of + <action dev="benoitx" type="add">Paul and I would like to thank Dirk Holmes and Holger Hoffstatte from MuleSource for the initial contribution to the writer package. + The writer package will let you EXPORT a DataSet in a fixed length or Delimited (csv, etc) format. Thanks guys!</action> + <action dev="zepernick" type="change">added contains() method to DataSet to check for the existance of a column name on the current row. DataSet must be on a valid row.</action> <action dev="zepernick" type="change">Added clearRows(), clearErrors(), and clearAll() methods to DataSet</action> <action dev="benoitx" type="change">Goodbye PZFileReader, Hello FlatPack!!!</action> <action dev="zepernick" type="change">Moved package strcuture from net.sf.pzfilereader to net.sf.flatpack</action> <action dev="zepernick" type="change">XML mapping dtd renamed from pzfilereader.dtd to flatpack.dtd</action> - <action dev="zepernick" type="change">pzconvert.properties renamed to fpconvert.properties</action> - <action dev="zepernick" type="change">The following classes had the "PZ" removed from their name; - PZMapParser, PZMetaData, BuffReaderDelimPZParser, BuffReaderFixedPZParser, BuffReaderPZDataSet, - BuffReaderPZParseFactory, AbstractDelimiterPZParser, AbstractFixedLengthPZParser, AbstractPZParser, - DBDelimiterPZParser, DBFixedLengthPZParser, DefaultPZParserFactory, DelimiterPZParser, + <action dev="zepernick" type="change">pzconvert.properties renamed to fpconvert.properties</action> + <action dev="zepernick" type="change">The following classes had the "PZ" removed from their name; + PZMapParser, PZMetaData, BuffReaderDelimPZParser, BuffReaderFixedPZParser, BuffReaderPZDataSet, + BuffReaderPZParseFactory, AbstractDelimiterPZParser, AbstractFixedLengthPZParser, AbstractPZParser, + DBDelimiterPZParser, DBFixedLengthPZParser, DefaultPZParserFactory, DelimiterPZParser, FixedLengthPZParser, PZParser, PZParserFactory, PZConverter</action> - <action dev="zepernick" type="change">The following classes had the "PZ" changed to "FP" in their name; - PZConstants, PZStringUtils, PZConvertException</action> + <action dev="zepernick" type="change">The following classes had the "PZ" changed to "FP" in their name; + PZConstants, PZStringUtils, PZConvertException</action> <action dev="benoitx" type="change">Created a PZMetaData class for internal use, it contains the list of column names and index for fast access.</action> <action dev="zepernick" type="change">Feature Request 1596087. Added attribute "elementCount" on record element mapping, which can determine a header, trailer, or detail record by the number of elements contained on the record. This only applies to delimited files.</action> - <action dev="zepernick" type="change">Feature Request 1569891. Added setNullEmptyStrings to the + <action dev="zepernick" type="change">Feature Request 1569891. Added setNullEmptyStrings to the PZParser. This will make the DataSet.getString() return null if the column is empty.</action> <action dev="zepernick" type="change">Added option to the PZParser setIgnoreParseWarnings(boolean). When true, the parser will not log warning into the error collection in the DataSet. The default is false.</action> <action dev="zepernick" type="change">Removing deprecated methods in ParserUtils; isMultiLine(), splitLine(), getCMDKeyForFixedLengthFile()</action> - <action dev="zepernick" type="change">Added option to PZParser setColumnNamesCaseSensitive(). + <action dev="zepernick" type="change">Added option to PZParser setColumnNamesCaseSensitive(). This will force the user to lookup the column value in the exact same case as the column was specified in the mapping or file. Deprecated the current method signatures for;ParserUtils.buidColumnIndexMap, - ParserUtils.getColumnIndex,ParserUtils.getColumnMDFromFile. Added PZParser parameter to new signatures, + ParserUtils.getColumnIndex,ParserUtils.getColumnMDFromFile. Added PZParser parameter to new signatures, however, this parameter CAN BE null. Registered PZParser with the DefaultDataSet. This will provide the ability to see what options were set pertaining to data retrieval.</action> - <action dev="zepernick" type="change">Changing the PZParseFactory to use java.io.Reader instead of File + <action dev="zepernick" type="change">Changing the PZParseFactory to use java.io.Reader instead of File or InputStream. The File and InputStream methods are still available, but are now deprecated.</action> - <action dev="zepernick" type="change">Removed deprecated PZMapParser.parse(File). + <action dev="zepernick" type="change">Removed deprecated PZMapParser.parse(File). Added PZMapParser.parse(Reader). Deprecated PZMapParser.parse(InputStream). </action> <action dev="zepernick" type="fix">Stopped column lookup from being case sensitive</action> <action dev="zepernick" type="change">Feature Request 1566626. Added setIgnoreExtraColumns() method to the PZParser. - Added the ability to ignore extra columns/bytes from delimited & fixed width files. Data is truncated when it goes + Added the ability to ignore extra columns/bytes from delimited & fixed width files. Data is truncated when it goes outside of the column definition.</action> </release> <release version="3.0.0" date="2007-02-11" description="Move to Maven and Subversion"> @@ -54,10 +56,10 @@ <action dev="zepernick" type="change">DataSet.getDate() will now return a null on empty Strings</action> <action dev="zepernick" type="change">Removed ParserUtils.getColumnMDFromFile(InputStream, String, String) this method was deprecated in 2.2</action> - <action dev="zepernick" type="change">Removed setters and default constructor from DataError. Error properties + <action dev="zepernick" type="change">Removed setters and default constructor from DataError. Error properties are set through the new constructor.</action> <action dev="zepernick" type="add">added the ability to limit the column which are exported to Excel in the ExcelTransformer class</action> - <action dev="zepernick" type="add">added getObject(String column, Class toConvert) method. PZFileReader will ship with + <action dev="zepernick" type="add">added getObject(String column, Class toConvert) method. PZFileReader will ship with default classes to handle conversions. Custom conversions can be easily added by adding to the pzconvert.properties</action> <action dev="zepernick" type="add">Unqualified elements have leading and trailing whitespace removed in a delimited parse</action> <action dev="zepernick" type="add">Ability to issue an OrderBy On DataSet's containing record mapping elements</action> @@ -95,9 +97,9 @@ <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> @@ -105,14 +107,14 @@ <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 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. @@ -133,7 +135,7 @@ </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 + <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). @@ -154,7 +156,7 @@ 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 + 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 @@ -163,7 +165,7 @@ </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 + "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 @@ -178,7 +180,7 @@ <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 + <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> @@ -198,7 +200,7 @@ <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/>"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> Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2007-09-05 19:09:25 UTC (rev 346) +++ trunk/src/site/index.xml 2007-09-05 19:10:14 UTC (rev 347) @@ -21,50 +21,53 @@ <body> <!-- The body of the document contains a number of sections --> <section name="News"> - <p style="margin-top:10px; margin-bottom:0; padding-bottom:0; text-align:center; line-height:0"><a href="http://feeds.feedburner.com/~r/ObjectlabOpenSourceNews/~6/1"><img src="http://feeds.feedburner.com/ObjectlabOpenSourceNews.1.gif" alt="ObjectLab Open Source News" style="border:0"/></a></p><p style="margin-top:5px; padding-top:0; font-size:x-small; text-align:center"><a href="http://www.feedburner.com/fb/a/headlineanimator/install?id=829470&w=1" onclick="window.open(this.href, 'haHowto', 'width=520,height=600,toolbar=no,address=no,resizable=yes,scrollbars'); return false" target="_blank">Grab this Headline Animator</a></p> + <p style="margin-top:10px; margin-bottom:0; padding-bottom:0; text-align:center; line-height:0"><a href="http://feeds.feedburner.com/~r/ObjectlabOpenSourceNews/~6/1"><img src="http://feeds.feedburner.com/ObjectlabOpenSourceNews.1.gif" alt="ObjectLab Open Source News" style="border:0"/></a></p><p style="margin-top:5px; padding-top:0; font-size:x-small; text-align:center"><a href="http://www.feedburner.com/fb/a/headlineanimator/install?id=829470&w=1" onclick="window.open(this.href, 'haHowto', 'width=520,height=600,toolbar=no,address=no,resizable=yes,scrollbars'); return false" target="_blank">Grab this Headline Animator</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> + <p>Sept 14, 2007: FlatPack 3.1.0 is released, it is a very significant release, see the <a href="changes-report.html">change log</a>.</p> </section> <section name="FlatPack Introduction"> <p>FlatPack came out of the frustration of having to mix file parsing logic with business logic.</p> - + <p>FlatPack 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, + + <p>Starting at release 3.1, FlatPack introduces <b>exporters</b> via the writer package. This mechanism allows you to export a DataSet to a fixed length or delimited format. A big thank you to Dirk and Holger from the <a href="http://www.mulesource.org">Mule project</a> + for the initial code contribution. FlatPack should integrate nicely with Mule, the open source choice for integration and SOA.</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.</p> - + <p>A manual is available as <a href="documentation/flatpack-manual.doc">Word</a> document or a <a href="documentation/flatpack-manual.pdf">PDF</a>.</p> - + <p>FlatPack 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%20FlatPack%2E&bodytext=FlatPack%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> + <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 FlatPack?"> <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>FlatPack provides a sorting mechanism for your flat files. This allows for your data to be properly sorted before processing your business logic.</li></ul> - + <li><strong>Bad Numeric Data?</strong></li> - <ul><li>Do you often receive numeric data with dollar signs, or commas? FlatPack has the ability to strip these out and return as a double or int. + <ul><li>Do you often receive numeric data with dollar signs, or commas? FlatPack 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> <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 + <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?"> <p>1.4 and up</p> </subsection> - + <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> @@ -74,7 +77,7 @@ </subsection> </section> - + <section name="How do I use it?"> <p>Basic Steps</p> <ol> @@ -85,9 +88,9 @@ <li>Process columns; DataSet.getString("colname"), getInt("colname"), getDouble("colname"), getDate("colname"), etc</li> <li>Check for parse errors; DataSet.getErrors()</li> </ol> - + <subsection name="Reading Delimited File With Column Mapping"> - + <div class="source"><pre> //Obtain the proper parser for your needs Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( @@ -96,73 +99,73 @@ ',', //delimiter '"', //text qualfier false); //ignore the first record (may need to be done if first record contain column names) - + //obtain DataSet DataSet ds = parser.parse(); - + while (ds.next()){ //loop through file ds.getString("mycolumnName"); } </pre></div> - + </subsection> - + <subsection name="Reading Delimited File Column Names In First Record Of File"> - + <div class="source"><pre> //Obtain the proper parser for your needs Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( new FileReader("DataFile.txt"), //txt file to parse ',', //delimiter '"'); //text qualifier - + //obtain DataSet DataSet ds = parser.parse(); - + while (ds.next()){ //loop through file ds.getString("mycolumnName"); } </pre></div> - + </subsection> - + <subsection name="Reading Fixed Width File"> - + <div class="source"><pre> - //Obtain the proper parser for your needs + //Obtain the proper parser for your needs Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( new File("map.pzmap.xml"), //fixed with column map new File("DataFile.txt")); //txt file to parse - + //obtain DataSet DataSet ds = parser.parse(); - + while (ds.next()){ //loop through file ds.getString("mycolumnName"); } </pre></div> - + </subsection> <subsection name="Reading a Message of Fixed Width"> - + <div class="source"><pre> ... coming soon </pre></div> - + </subsection> <subsection name="Using SLF4J With FlatPack"> - + <div class="source"><pre> - Slf4j is utilized to capture logging information that occurred during a parse. - By default, this information will be logged to the console. SLF supports the following loggers; log4j, jcl, nop, and jdk1.4. + Slf4j is utilized to capture logging information that occurred during a parse. + By default, this information will be logged to the console. SLF supports the following loggers; log4j, jcl, nop, and jdk1.4. Please go to http://www.slf4j.org to download the proper jar for your logging preference. Here is a typical SLF4j setup: - SLF-api-XXX.jar + SLF-MyLoggerPreference.jar + MyLogger.jar (lo4j.jar for example) + SLF-api-XXX.jar + SLF-MyLoggerPreference.jar + MyLogger.jar (lo4j.jar for example) Here are the steps that would need to be taken for log4j: @@ -172,7 +175,7 @@ 4. Install SLF-log4j12-XXX.jar </pre></div> - + </subsection> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |