You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(112) |
Nov
(44) |
Dec
(49) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(14) |
Feb
(12) |
Mar
(12) |
Apr
(12) |
May
(6) |
Jun
(11) |
Jul
(10) |
Aug
(6) |
Sep
(17) |
Oct
(3) |
Nov
(22) |
Dec
|
2008 |
Jan
(3) |
Feb
(7) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
(9) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(2) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2012 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <zep...@us...> - 2007-11-04 00:42:49
|
Revision: 368 http://flatpack.svn.sourceforge.net/flatpack/?rev=368&view=rev Author: zepernick Date: 2007-11-03 17:42:54 -0700 (Sat, 03 Nov 2007) Log Message: ----------- bug fix [ 1818818 ] ClassCastException when accessing header or trailer records Modified Paths: -------------- trunk/src/site/changes.xml Modified: trunk/src/site/changes.xml =================================================================== --- trunk/src/site/changes.xml 2007-11-04 00:37:04 UTC (rev 367) +++ trunk/src/site/changes.xml 2007-11-04 00:42:54 UTC (rev 368) @@ -8,9 +8,10 @@ </properties> <body> <release version="3.1.1-SNAPSHOT" date="2007-10-01" description="Fix"> + <action dev="zepernick" type="fix">[1818818] ClassCastException when accessing header or trailer records</action> <action dev="zepernick" type="fix">Fixed bug in delimited parse when using Reader for data and map. Parameters were being reversed in the code.</action> - <action dev="zepernick" type="fix">Bug 1811210 When parsing multi-line delimited files, blank lines inside the + <action dev="zepernick" type="fix">[1811210] When parsing multi-line delimited files, blank lines inside the elements were being removed from the result of the parse. Blank lines inside a delimited element were also causing a StringIndexOutOfBoundsException.</action> </release> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-11-04 00:37:04
|
Revision: 367 http://flatpack.svn.sourceforge.net/flatpack/?rev=367&view=rev Author: zepernick Date: 2007-11-03 17:37:04 -0700 (Sat, 03 Nov 2007) Log Message: ----------- bug fix [ 1818818 ] ClassCastException when accessing header or trailer records Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/xml/MetaData.java Modified: trunk/flatpack/src/main/java/net/sf/flatpack/xml/MetaData.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/xml/MetaData.java 2007-11-03 01:55:52 UTC (rev 366) +++ trunk/flatpack/src/main/java/net/sf/flatpack/xml/MetaData.java 2007-11-04 00:37:04 UTC (rev 367) @@ -67,7 +67,7 @@ public int getColumnIndex(final String key, final String columnName) { int idx = -1; if (key != null && !key.equals(FPConstants.DETAIL_ID) && !key.equals(FPConstants.COL_IDX)) { - idx = ((XMLRecordElement) getListColumnsForRecord(key)).getColumnIndex(columnName); + idx = ((XMLRecordElement) xmlRecordElements.get(key)).getColumnIndex(columnName); } else if (key == null || key.equals(FPConstants.DETAIL_ID)) { final Integer i = (Integer) columnIndexMap.get(columnName); if (i != null) { //happens when the col name does not exist in the mapping This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-11-03 01:55:48
|
Revision: 366 http://flatpack.svn.sourceforge.net/flatpack/?rev=366&view=rev Author: zepernick Date: 2007-11-02 18:55:52 -0700 (Fri, 02 Nov 2007) Log Message: ----------- Fixed bug 1811210 Modified Paths: -------------- trunk/src/site/changes.xml Modified: trunk/src/site/changes.xml =================================================================== --- trunk/src/site/changes.xml 2007-11-03 01:55:33 UTC (rev 365) +++ trunk/src/site/changes.xml 2007-11-03 01:55:52 UTC (rev 366) @@ -8,8 +8,11 @@ </properties> <body> <release version="3.1.1-SNAPSHOT" date="2007-10-01" description="Fix"> - <action dex="zepernick" type="fix">Fixed bug in delimited parse when using Reader for data and map. Parameters + <action dev="zepernick" type="fix">Fixed bug in delimited parse when using Reader for data and map. Parameters were being reversed in the code.</action> + <action dev="zepernick" type="fix">Bug 1811210 When parsing multi-line delimited files, blank lines inside the + elements were being removed from the result of the parse. Blank lines inside a delimited element + were also causing a StringIndexOutOfBoundsException.</action> </release> <release version="3.1.0" date="2007-09-10" description="Name and structure change and new writers"> <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. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-11-03 01:55:34
|
Revision: 365 http://flatpack.svn.sourceforge.net/flatpack/?rev=365&view=rev Author: zepernick Date: 2007-11-02 18:55:33 -0700 (Fri, 02 Nov 2007) Log Message: ----------- Fixed bug 1811210 Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java trunk/flatpack/src/test/java/net/sf/flatpack/parserutils/ParserUtilsSplitLineTest.java Modified: trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java 2007-10-02 00:51:22 UTC (rev 364) +++ trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java 2007-11-03 01:55:33 UTC (rev 365) @@ -215,11 +215,13 @@ protected String fetchNextRecord(final BufferedReader br, final char qual, final char delim) throws IOException { String line = null; final StringBuffer lineData = new StringBuffer(); + final String linebreak = System.getProperty("line.separator"); boolean processingMultiLine = false; while ((line = br.readLine()) != null) { lineCount++; final String trimmed = line.trim(); + final int trimmedLen = trimmed.length(); if (!processingMultiLine && trimmed.length() == 0) { //empty line skip past it, as long as it //is not part of the multiline @@ -240,7 +242,7 @@ // the record final String trimmedLineData = lineData.toString().trim(); - if (processingMultiLine && trimmedLineData.length() > 0) { + if (processingMultiLine && trimmedLineData.length() > 0 && trimmedLen > 0) { // need to do one last check here. it is possible that the " // could be part of the data // excel will escape these with another quote; here is some @@ -250,11 +252,11 @@ // it is safe to assume we have reached the end of the // line break processingMultiLine = false; - lineData.append("\r\n").append(line); + lineData.append(linebreak).append(line); } else { // check to see if this is the last line of the record // looking for a qualifier followed by a delimiter - lineData.append("\r\n").append(line); + lineData.append(linebreak).append(line); boolean qualiFound = false; for (int i = 0; i < chrArry.length; i++) { if (qualiFound) { @@ -296,7 +298,9 @@ } } else { // throw the line into lineData var. - lineData.append(line); + //need to check to see if we need to insert a line break. + //The buffered reader excludes the breaks + lineData.append(trimmedLen == 0 ? linebreak : line); if (processingMultiLine) { continue; // if we are working on a multiline rec, get // the data on the next line Modified: trunk/flatpack/src/test/java/net/sf/flatpack/parserutils/ParserUtilsSplitLineTest.java =================================================================== --- trunk/flatpack/src/test/java/net/sf/flatpack/parserutils/ParserUtilsSplitLineTest.java 2007-10-02 00:51:22 UTC (rev 364) +++ trunk/flatpack/src/test/java/net/sf/flatpack/parserutils/ParserUtilsSplitLineTest.java 2007-11-03 01:55:33 UTC (rev 365) @@ -85,6 +85,12 @@ (String) splitLineResults.get(j)); } } + + ParserUtils.splitLine("26,\"10726/1996\",551,\"Extra\",08/04/2005 00:00:00,0,0,,\"The unanimous judgement of the Team is that:\n" + + "\n" + + "(i) The members have to pay the amount on time. \n" + + "\n" + + "(ii) There would be regular meeting biweekly. \"", ',', '"', 10); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-10-02 00:51:19
|
Revision: 364 http://flatpack.svn.sourceforge.net/flatpack/?rev=364&view=rev Author: zepernick Date: 2007-10-01 17:51:22 -0700 (Mon, 01 Oct 2007) Log Message: ----------- added section for 3.1.1 Modified Paths: -------------- trunk/src/site/changes.xml Modified: trunk/src/site/changes.xml =================================================================== --- trunk/src/site/changes.xml 2007-10-02 00:33:27 UTC (rev 363) +++ trunk/src/site/changes.xml 2007-10-02 00:51:22 UTC (rev 364) @@ -7,6 +7,10 @@ <title>Changes</title> </properties> <body> + <release version="3.1.1-SNAPSHOT" date="2007-10-01" description="Fix"> + <action dex="zepernick" type="fix">Fixed bug in delimited parse when using Reader for data and map. Parameters + were being reversed in the code.</action> + </release> <release version="3.1.0" date="2007-09-10" description="Name and structure change and new writers"> <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> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-10-02 00:33:24
|
Revision: 363 http://flatpack.svn.sourceforge.net/flatpack/?rev=363&view=rev Author: zepernick Date: 2007-10-01 17:33:27 -0700 (Mon, 01 Oct 2007) Log Message: ----------- readers were reversed on the delimited file parse version needed to be updated to 3.1 Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java Modified: trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java 2007-10-01 02:00:15 UTC (rev 362) +++ trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java 2007-10-02 00:33:27 UTC (rev 363) @@ -160,7 +160,7 @@ public Parser newDelimitedParser(final Reader pzmapXML, final Reader dataSource, final char delimiter, final char qualifier, final boolean ignoreFirstRecord) { - return new DelimiterParser(pzmapXML, dataSource, delimiter, qualifier, ignoreFirstRecord); + return new DelimiterParser(dataSource, pzmapXML, delimiter, qualifier, ignoreFirstRecord); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-10-01 02:00:11
|
Revision: 362 http://flatpack.svn.sourceforge.net/flatpack/?rev=362&view=rev Author: zepernick Date: 2007-09-30 19:00:15 -0700 (Sun, 30 Sep 2007) Log Message: ----------- missed some old pz stuff...sorry Modified Paths: -------------- trunk/src/site/index.xml Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2007-09-30 17:02:44 UTC (rev 361) +++ trunk/src/site/index.xml 2007-10-01 02:00:15 UTC (rev 362) @@ -81,9 +81,9 @@ <section name="How do I use it?"> <p>Basic Steps</p> <ol> - <li>Obtain a PZParser from a parser factory (DefaultPZParserFactory) witha File, InputStream, or a reader(coming soon)</li> - <li>Set additional PZParser options, PZParser.setAnOption()</li> - <li>Obtain a DataSet PZParser.parse()</li> + <li>Obtain a Parser from a parser factory (DefaultParserFactory) witha File, InputStream, or a reader(coming soon)</li> + <li>Set additional Parser options, Parser.setAnOption()</li> + <li>Obtain a DataSet Parser.parse()</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> @@ -94,7 +94,7 @@ <div class="source"><pre> //Obtain the proper parser for your needs Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( - new FileReader("map.pzmap.xml"), //xml column mapping + new FileReader("map.fpmap.xml"), //xml column mapping new FileReader("DataFile.txt"), //txt file to parse ',', //delimiter '"', //text qualfier @@ -135,7 +135,7 @@ <div class="source"><pre> //Obtain the proper parser for your needs Parser parser = DefaultParserFactory.getInstance().newFixedLengthParser( - new FileReader("map.pzmap.xml"), //fixed with column map + new FileReader("map.fpmap.xml"), //fixed with column map new FileReader("DataFile.txt")); //txt file to parse //obtain DataSet @@ -154,7 +154,7 @@ final String msg = "data data2 data3 data4" //Obtain the proper parser for your needs Parser parser = DefaultParserFactory.getInstance().newFixedLengthParser( - new FileReader("map.pzmap.xml"), //fixed with column map to bind col names + new FileReader("map.fpmap.xml"), //fixed with column map to bind col names new StringReader(mag)); //data to parse //obtain DataSet This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2007-09-30 17:02:40
|
Revision: 361 http://flatpack.svn.sourceforge.net/flatpack/?rev=361&view=rev Author: benoitx Date: 2007-09-30 10:02:44 -0700 (Sun, 30 Sep 2007) Log Message: ----------- Here you go: release 3.1.0, first of FlatPack! Added Paths: ----------- tags/3.1.0/ Copied: tags/3.1.0 (from rev 360, trunk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2007-09-30 17:01:36
|
Revision: 360 http://flatpack.svn.sourceforge.net/flatpack/?rev=360&view=rev Author: benoitx Date: 2007-09-30 10:01:31 -0700 (Sun, 30 Sep 2007) Log Message: ----------- build for 3.1.0 Modified Paths: -------------- trunk/flatpack/qalab.xml trunk/flatpack-samples/qalab.xml Modified: trunk/flatpack/qalab.xml =================================================================== --- trunk/flatpack/qalab.xml 2007-09-30 16:44:48 UTC (rev 359) +++ trunk/flatpack/qalab.xml 2007-09-30 17:01:31 UTC (rev 360) @@ -309,6 +309,14 @@ project="default" statvalue="31" type="cobertura-line"/> <summaryresult date="2007-09-29" filecount="45" module="default" project="default" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2007-09-30" filecount="53" module="default" + project="default" statvalue="11" type="checkstyle"/> + <summaryresult date="2007-09-30" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-09-30" filecount="45" module="default" + project="default" statvalue="31" type="cobertura-line"/> + <summaryresult date="2007-09-30" filecount="45" module="default" + project="default" statvalue="23" type="cobertura-branch"/> </summary> <file id="default-default-com_pz_reader_ordering_package.html" module="default" path="com/pz/reader/ordering/package.html" project="default"> @@ -647,6 +655,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DataSet.java" module="default" path="net/sf/flatpack/DataSet.java" project="default"> @@ -718,6 +727,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_LargeDataSet.java" module="default" path="net/sf/flatpack/LargeDataSet.java" project="default"> @@ -824,6 +835,9 @@ <result date="2007-09-29" statvalue="6" type="checkstyle"/> <result date="2007-09-29" statvalue="28" type="cobertura-line"/> <result date="2007-09-29" statvalue="25" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="6" type="checkstyle"/> + <result date="2007-09-30" statvalue="28" type="cobertura-line"/> + <result date="2007-09-30" statvalue="25" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_PZMapParser.java" module="default" path="net/sf/flatpack/xml/PZMapParser.java" project="default"> @@ -866,6 +880,8 @@ <result date="2007-09-09" statvalue="50" type="cobertura-branch"/> <result date="2007-09-29" statvalue="71" type="cobertura-line"/> <result date="2007-09-29" statvalue="50" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="71" type="cobertura-line"/> + <result date="2007-09-30" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_structure_Row.java" module="default" path="net/sf/flatpack/structure/Row.java" project="default"> @@ -898,6 +914,7 @@ <result date="2007-09-05" statvalue="45" type="cobertura-line"/> <result date="2007-09-09" statvalue="45" type="cobertura-line"/> <result date="2007-09-29" statvalue="45" type="cobertura-line"/> + <result date="2007-09-30" statvalue="45" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_structure_ColumnMetaData.java" @@ -945,6 +962,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="54" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="54" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Version.java" module="default" path="net/sf/flatpack/Version.java" project="default"> @@ -969,6 +988,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_XMLRecordElement.java" module="default" @@ -983,6 +1003,7 @@ <result date="2007-09-05" statvalue="54" type="cobertura-line"/> <result date="2007-09-09" statvalue="54" type="cobertura-line"/> <result date="2007-09-29" statvalue="54" type="cobertura-line"/> + <result date="2007-09-30" statvalue="54" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_util_PZConstants.java" module="default" path="net/sf/flatpack/util/PZConstants.java" project="default"> @@ -1105,6 +1126,7 @@ <result date="2007-09-05" statvalue="2" type="checkstyle"/> <result date="2007-09-09" statvalue="2" type="checkstyle"/> <result date="2007-09-29" statvalue="2" type="checkstyle"/> + <result date="2007-09-30" statvalue="2" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_util_FixedWidthParserUtils.java" @@ -1230,6 +1252,8 @@ <result date="2007-09-09" statvalue="5" type="cobertura-branch"/> <result date="2007-09-29" statvalue="19" type="cobertura-line"/> <result date="2007-09-29" statvalue="5" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="19" type="cobertura-line"/> + <result date="2007-09-30" statvalue="5" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultPZParserFactory.java" @@ -1315,6 +1339,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="25" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="25" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_package.html" module="default" path="net/sf/flatpack/converter/package.html" project="default"> @@ -1370,6 +1396,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_PZConvertException.java" @@ -1441,6 +1468,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_ConvertInteger.java" @@ -1472,6 +1500,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderPZParseFactory.java" @@ -1545,6 +1574,9 @@ <result date="2007-09-29" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="56" type="cobertura-line"/> <result date="2007-09-29" statvalue="40" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="56" type="cobertura-line"/> + <result date="2007-09-30" statvalue="40" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPStringUtils.java" module="default" path="net/sf/flatpack/util/FPStringUtils.java" project="default"> @@ -1591,6 +1623,8 @@ <result date="2007-09-09" statvalue="6" type="cobertura-branch"/> <result date="2007-09-29" statvalue="16" type="cobertura-line"/> <result date="2007-09-29" statvalue="6" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="16" type="cobertura-line"/> + <result date="2007-09-30" statvalue="6" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_AbstractParser.java" module="default" path="net/sf/flatpack/AbstractParser.java" project="default"> @@ -1612,6 +1646,8 @@ <result date="2007-09-09" statvalue="35" type="cobertura-branch"/> <result date="2007-09-29" statvalue="55" type="cobertura-line"/> <result date="2007-09-29" statvalue="35" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="55" type="cobertura-line"/> + <result date="2007-09-30" statvalue="35" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultParserFactory.java" module="default" @@ -1634,6 +1670,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="23" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="23" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DelimiterParser.java" module="default" path="net/sf/flatpack/DelimiterParser.java" project="default"> @@ -1655,6 +1693,8 @@ <result date="2007-09-09" statvalue="42" type="cobertura-branch"/> <result date="2007-09-29" statvalue="38" type="cobertura-line"/> <result date="2007-09-29" statvalue="42" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="38" type="cobertura-line"/> + <result date="2007-09-30" statvalue="42" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Parser.java" module="default" path="net/sf/flatpack/Parser.java" project="default"> @@ -1676,6 +1716,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_ParserFactory.java" module="default" path="net/sf/flatpack/ParserFactory.java" project="default"> @@ -1699,6 +1741,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_Converter.java" module="default" path="net/sf/flatpack/converter/Converter.java" project="default"> @@ -1720,6 +1764,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderParseFactory.java" @@ -1734,6 +1780,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_FPConvertException.java" @@ -1748,6 +1795,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPConstants.java" module="default" path="net/sf/flatpack/util/FPConstants.java" project="default"> @@ -1760,6 +1808,7 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_columninfile_DelimitedColumnNamesInFileTest.java" @@ -1790,6 +1839,8 @@ <result date="2007-09-09" statvalue="83" type="cobertura-branch"/> <result date="2007-09-29" statvalue="84" type="cobertura-line"/> <result date="2007-09-29" statvalue="83" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="84" type="cobertura-line"/> + <result date="2007-09-30" statvalue="83" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_AbstractWriterFactory.java" @@ -1804,6 +1855,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_DelimiterWriter.java" @@ -1818,6 +1871,8 @@ <result date="2007-09-09" statvalue="90" type="cobertura-branch"/> <result date="2007-09-29" statvalue="89" type="cobertura-line"/> <result date="2007-09-29" statvalue="90" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="89" type="cobertura-line"/> + <result date="2007-09-30" statvalue="90" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_DelimiterWriterFactory.java" @@ -1832,6 +1887,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="75" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="75" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_FixedLengthWriter.java" @@ -1846,6 +1903,8 @@ <result date="2007-09-09" statvalue="94" type="cobertura-branch"/> <result date="2007-09-29" statvalue="93" type="cobertura-line"/> <result date="2007-09-29" statvalue="94" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="93" type="cobertura-line"/> + <result date="2007-09-30" statvalue="94" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_FixedWriterFactory.java" @@ -1860,6 +1919,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="66" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="66" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_Writer.java" module="default" path="net/sf/flatpack/writer/Writer.java" project="default"> @@ -1875,6 +1936,9 @@ <result date="2007-09-29" statvalue="2" type="checkstyle"/> <result date="2007-09-29" statvalue="100" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="2" type="checkstyle"/> + <result date="2007-09-30" statvalue="100" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_WriterFactory.java" module="default" @@ -1888,6 +1952,8 @@ <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> <result date="2007-09-29" statvalue="100" type="cobertura-line"/> <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="100" type="cobertura-line"/> + <result date="2007-09-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_MapParser.java" module="default" path="net/sf/flatpack/xml/MapParser.java" project="default"> @@ -1899,5 +1965,7 @@ <result date="2007-09-09" statvalue="38" type="cobertura-branch"/> <result date="2007-09-29" statvalue="50" type="cobertura-line"/> <result date="2007-09-29" statvalue="38" type="cobertura-branch"/> + <result date="2007-09-30" statvalue="50" type="cobertura-line"/> + <result date="2007-09-30" statvalue="38" type="cobertura-branch"/> </file> </qalab> Modified: trunk/flatpack-samples/qalab.xml =================================================================== --- trunk/flatpack-samples/qalab.xml 2007-09-30 16:44:48 UTC (rev 359) +++ trunk/flatpack-samples/qalab.xml 2007-09-30 17:01:31 UTC (rev 360) @@ -181,6 +181,14 @@ project="default" statvalue="92" type="simian"/> <summaryresult date="2007-09-29" filecount="2" module="default" project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-09-30" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-09-30" filecount="9" module="default" + project="default" statvalue="13" type="findbugs"/> + <summaryresult date="2007-09-30" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-09-30" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> </summary> <file id="default-default-com_pz_reader_examples_numericsanddates_package.html" @@ -404,6 +412,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_largedataset_largecsvperformancetest_package.html" @@ -428,6 +437,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_multilinedelimitedrecord_package.html" @@ -452,6 +462,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_numericsanddates_package.html" @@ -476,6 +487,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_delimitedcolumnnamesinfile_package.html" @@ -500,6 +512,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_delimiteddynamiccolumns_package.html" @@ -524,6 +537,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_exporttoexcel_package.html" @@ -548,6 +562,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_largedataset_fixedlengthdynamiccolumns_package.html" @@ -572,6 +587,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_createsamplecsv_package.html" @@ -596,6 +612,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_fixedlengthdynamiccolumns_package.html" @@ -620,6 +637,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_largedataset_delimiteddynamiccolumns_package.html" @@ -644,6 +662,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_csvperformancetest_package.html" @@ -668,6 +687,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_lowlevelparse_package.html" @@ -692,6 +712,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_delimiteddynamiccolumnswitherrors_package.html" @@ -716,6 +737,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_fixedlengthheaderandtrailer_package.html" @@ -740,6 +762,7 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_csvheaderandtrailer_package.html" @@ -764,9 +787,9 @@ <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="checkstyle"/> </file> - <file - id="default-default-net_sf_flatpack_examples_Examples.java" + <file id="default-default-net_sf_flatpack_examples_Examples.java" module="default" path="net/sf/pzfilereader/examples/Examples.java" project="default"> <result date="2006-10-17" statvalue="21" type="checkstyle"/> @@ -806,6 +829,8 @@ <result date="2007-09-09" statvalue="1" type="findbugs"/> <result date="2007-09-29" statvalue="14" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="findbugs"/> + <result date="2007-09-30" statvalue="14" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_flatpack_examples_createsamplecsv_CSVTestFileCreator.java" @@ -868,6 +893,9 @@ <result date="2007-09-29" statvalue="7" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="findbugs"/> <result date="2007-09-29" statvalue="1" type="pmd"/> + <result date="2007-09-30" statvalue="7" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="findbugs"/> + <result date="2007-09-30" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_flatpack_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" @@ -892,6 +920,7 @@ <result date="2007-09-05" statvalue="17" type="checkstyle"/> <result date="2007-09-09" statvalue="17" type="checkstyle"/> <result date="2007-09-29" statvalue="17" type="checkstyle"/> + <result date="2007-09-30" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_csvperformancetest_CSVPerformanceTest.java" @@ -942,6 +971,8 @@ <result date="2007-09-09" statvalue="1" type="findbugs"/> <result date="2007-09-29" statvalue="16" type="checkstyle"/> <result date="2007-09-29" statvalue="1" type="findbugs"/> + <result date="2007-09-30" statvalue="16" type="checkstyle"/> + <result date="2007-09-30" statvalue="2" type="findbugs"/> </file> <file id="default-default-net_sf_flatpack_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" @@ -971,6 +1002,8 @@ <result date="2007-09-05" statvalue="5" type="checkstyle"/> <result date="2007-09-09" statvalue="5" type="checkstyle"/> <result date="2007-09-29" statvalue="5" type="checkstyle"/> + <result date="2007-09-30" statvalue="5" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_flatpack_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" @@ -1002,6 +1035,7 @@ <result date="2007-09-05" statvalue="13" type="checkstyle"/> <result date="2007-09-09" statvalue="13" type="checkstyle"/> <result date="2007-09-29" statvalue="13" type="checkstyle"/> + <result date="2007-09-30" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" @@ -1033,6 +1067,7 @@ <result date="2007-09-05" statvalue="13" type="checkstyle"/> <result date="2007-09-09" statvalue="13" type="checkstyle"/> <result date="2007-09-29" statvalue="13" type="checkstyle"/> + <result date="2007-09-30" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_exporttoexcel_DelimitedFileExportToExcel.java" @@ -1064,6 +1099,7 @@ <result date="2007-09-05" statvalue="3" type="checkstyle"/> <result date="2007-09-09" statvalue="3" type="checkstyle"/> <result date="2007-09-29" statvalue="3" type="checkstyle"/> + <result date="2007-09-30" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" @@ -1095,6 +1131,7 @@ <result date="2007-09-05" statvalue="3" type="checkstyle"/> <result date="2007-09-09" statvalue="3" type="checkstyle"/> <result date="2007-09-29" statvalue="3" type="checkstyle"/> + <result date="2007-09-30" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" @@ -1126,6 +1163,7 @@ <result date="2007-09-05" statvalue="17" type="checkstyle"/> <result date="2007-09-09" statvalue="17" type="checkstyle"/> <result date="2007-09-29" statvalue="17" type="checkstyle"/> + <result date="2007-09-30" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" @@ -1160,6 +1198,8 @@ <result date="2007-09-05" statvalue="4" type="checkstyle"/> <result date="2007-09-09" statvalue="4" type="checkstyle"/> <result date="2007-09-29" statvalue="4" type="checkstyle"/> + <result date="2007-09-30" statvalue="4" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_flatpack_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" @@ -1194,6 +1234,8 @@ <result date="2007-09-05" statvalue="3" type="checkstyle"/> <result date="2007-09-09" statvalue="3" type="checkstyle"/> <result date="2007-09-29" statvalue="3" type="checkstyle"/> + <result date="2007-09-30" statvalue="3" type="checkstyle"/> + <result date="2007-09-30" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_flatpack_examples_largedataset_largecsvperformancetest_CSVLarge.java" @@ -1237,6 +1279,8 @@ <result date="2007-09-09" statvalue="2" type="findbugs"/> <result date="2007-09-29" statvalue="9" type="checkstyle"/> <result date="2007-09-29" statvalue="2" type="findbugs"/> + <result date="2007-09-30" statvalue="9" type="checkstyle"/> + <result date="2007-09-30" statvalue="2" type="findbugs"/> </file> <file id="default-default-net_sf_flatpack_examples_lowlevelparse_LowLevelParse.java" @@ -1299,6 +1343,9 @@ <result date="2007-09-29" statvalue="5" type="checkstyle"/> <result date="2007-09-29" statvalue="2" type="findbugs"/> <result date="2007-09-29" statvalue="1" type="pmd"/> + <result date="2007-09-30" statvalue="5" type="checkstyle"/> + <result date="2007-09-30" statvalue="2" type="findbugs"/> + <result date="2007-09-30" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_flatpack_examples_multilinedelimitedrecord_DelimitedMultiLine.java" @@ -1330,6 +1377,7 @@ <result date="2007-09-05" statvalue="4" type="checkstyle"/> <result date="2007-09-09" statvalue="4" type="checkstyle"/> <result date="2007-09-29" statvalue="4" type="checkstyle"/> + <result date="2007-09-30" statvalue="4" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_examples_numericsanddates_NumericsAndDates.java" @@ -1361,9 +1409,9 @@ <result date="2007-09-05" statvalue="6" type="checkstyle"/> <result date="2007-09-09" statvalue="6" type="checkstyle"/> <result date="2007-09-29" statvalue="6" type="checkstyle"/> + <result date="2007-09-30" statvalue="6" type="checkstyle"/> </file> - <file - id="default-default-net_sf_flatpack_examples_ConsoleMenu.java" + <file id="default-default-net_sf_flatpack_examples_ConsoleMenu.java" module="default" path="net/sf/pzfilereader/examples/ConsoleMenu.java" project="default"> <result date="2006-10-17" statvalue="2" type="findbugs"/> @@ -1385,5 +1433,6 @@ <result date="2007-09-05" statvalue="2" type="findbugs"/> <result date="2007-09-09" statvalue="2" type="findbugs"/> <result date="2007-09-29" statvalue="2" type="findbugs"/> + <result date="2007-09-30" statvalue="2" type="findbugs"/> </file> </qalab> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2007-09-30 16:44:45
|
Revision: 359 http://flatpack.svn.sourceforge.net/flatpack/?rev=359&view=rev Author: benoitx Date: 2007-09-30 09:44:48 -0700 (Sun, 30 Sep 2007) Log Message: ----------- Changed package for the Examples. Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/DBDelimiterParser.java trunk/flatpack/src/main/java/net/sf/flatpack/DBFixedLengthParser.java trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java trunk/flatpack/src/main/java/net/sf/flatpack/DelimiterParser.java trunk/flatpack/src/main/java/net/sf/flatpack/FixedLengthParser.java trunk/flatpack/src/main/java/net/sf/flatpack/InitialisationException.java trunk/flatpack/src/main/java/net/sf/flatpack/Parser.java trunk/flatpack/src/main/java/net/sf/flatpack/ParserFactory.java trunk/flatpack/src/main/java/net/sf/flatpack/Version.java trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderDelimParser.java trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderFixedParser.java trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderParseFactory.java trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertDouble.java trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertInteger.java trunk/flatpack/src/main/java/net/sf/flatpack/converter/Converter.java trunk/flatpack/src/main/java/net/sf/flatpack/converter/FPConvertException.java trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderBy.java trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderColumn.java trunk/flatpack/src/main/java/net/sf/flatpack/util/FPConstants.java trunk/flatpack/src/main/java/net/sf/flatpack/util/FixedWidthParserUtils.java trunk/flatpack/src/main/java/net/sf/flatpack/util/ParserUtils.java trunk/flatpack/src/main/java/net/sf/flatpack/xml/MapParser.java trunk/flatpack/src/main/java/net/sf/flatpack/xml/ResolveLocalDTD.java trunk/flatpack/src/test/java/net/sf/flatpack/writer/RoundTripTestCase.java trunk/flatpack-samples/qalab.xml trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/ConsoleMenu.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/Examples.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/Repeater.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/createsamplecsv/CSVTestFileCreator.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/csvheaderandtrailer/CSVHeaderAndTrailer.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/csvperformancetest/CSVPerformanceTest.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/delimitedcolumnnamesinfile/DelimitedColumnNamesInFile.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/delimiteddynamiccolumns/DelimitedWithPZMap.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/delimiteddynamiccolumnswitherrors/DelimitedWithPZMapErrors.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/exporttoexcel/DelimitedFileExportToExcel.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/fixedlengthdynamiccolumns/FixedLengthWithPZMap.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/fixedlengthheaderandtrailer/FixedLengthHeaderAndTrailer.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/jsptableexample/readme.txt trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/largedataset/delimiteddynamiccolumns/LargeDelimitedWithPZMap.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/largedataset/fixedlengthdynamiccolumns/LargeFixedLengthWithPZMap.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/largedataset/largecsvperformancetest/CSVLarge.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/lowlevelparse/LowLevelParse.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/multilinedelimitedrecord/DelimitedMultiLine.java trunk/flatpack-samples/src/main/java/net/sf/flatpack/examples/numericsanddates/NumericsAndDates.java trunk/flatpack-samples/src/main/script/run-examples.bat trunk/src/site/press/press-release-3.1.0.txt Modified: trunk/flatpack/src/main/java/net/sf/flatpack/DBDelimiterParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/DBDelimiterParser.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/DBDelimiterParser.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -45,7 +45,7 @@ /** * @author xhensevb * @author zepernick - * + * */ public class DBDelimiterParser extends AbstractDelimiterParser { private Connection con; @@ -67,7 +67,7 @@ protected void init() { try { - //check to see if the user is using a InputStream. This is + //check to see if the user is using a InputStream. This is //here for backwards compatability if (dataSourceStream != null) { final Reader r = new InputStreamReader(dataSourceStream); Modified: trunk/flatpack/src/main/java/net/sf/flatpack/DBFixedLengthParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/DBFixedLengthParser.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/DBFixedLengthParser.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -47,12 +47,12 @@ /** * @author xhensevb * @author zepernick - * + * */ public class DBFixedLengthParser extends AbstractFixedLengthParser { private Connection con; - //this InputStream and file can be removed after support for + //this InputStream and file can be removed after support for //file and inputstream is removed from the parserfactory. The //methods have been deprecated..pz private InputStream dataSourceStream = null; @@ -80,7 +80,7 @@ protected void init() { try { - //check to see if the user is using a File or InputStream. This is + //check to see if the user is using a File or InputStream. This is //here for backwards compatability if (dataSourceStream != null) { final Reader r = new InputStreamReader(dataSourceStream); Modified: trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -53,7 +53,7 @@ /** * @author Benoit Xhenseval * @author Paul Zepernick - * + * */ public class DefaultDataSet implements DataSet { private final List rows = new ArrayList(); @@ -96,7 +96,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getColumns() */ public String[] getColumns() { @@ -118,7 +118,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getColumns(java.lang.String) */ public String[] getColumns(final String recordID) { @@ -138,7 +138,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getDate(java.lang.String) */ public Date getDate(final String column) throws ParseException { @@ -147,7 +147,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getDate(java.lang.String, * java.text.SimpleDateFormat) */ @@ -162,7 +162,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getDouble(java.lang.String) */ public double getDouble(final String column) { @@ -191,7 +191,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getErrorCount() */ public int getErrorCount() { @@ -204,7 +204,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getErrors() */ public List getErrors() { @@ -213,7 +213,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getIndex() */ public int getIndex() { @@ -222,7 +222,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getInt(java.lang.String) */ public int getInt(final String column) { @@ -237,7 +237,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getRowCount() */ public int getRowCount() { @@ -246,7 +246,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getRowNo() */ public int getRowNo() { @@ -255,7 +255,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#getString(java.lang.String) */ public String getString(final String column) { @@ -288,7 +288,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#goBottom() */ public void goBottom() { @@ -297,7 +297,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#goTop() */ public void goTop() { @@ -306,7 +306,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#isAnError(int) */ public boolean isAnError(final int lineNo) { @@ -320,7 +320,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#next() */ public boolean next() { @@ -333,7 +333,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#orderRows(net.sf.flatpack.ordering.OrderBy) */ public void orderRows(final OrderBy ob) throws Exception { @@ -354,7 +354,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#previous() */ public boolean previous() { @@ -383,7 +383,7 @@ /** * Checks to see if the row has the given <RECORD> id - * + * * @param recordID * @return boolean */ @@ -398,7 +398,7 @@ /** * Sets the absolute position of the record pointer - * + * * @param localPointer - * int * @exception IndexOutOfBoundsException @@ -417,7 +417,7 @@ * remove any non numeric charcter from the field. The remaining numeric * chars's will be returned. If it is an empty string,or there are no * numeric chars, 0 will be returned for getInt() and getDouble() - * + * * @param strictNumericParse * The strictNumericParse to set. */ @@ -427,7 +427,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.IDataSet#remove() */ public void remove() { Modified: trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/DefaultParserFactory.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -39,7 +39,7 @@ /** * @author xhensevb - * + * */ public class DefaultParserFactory implements ParserFactory { private static final DefaultParserFactory INSTANCE = new DefaultParserFactory(); @@ -50,7 +50,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newFixedWidthParser(java.sql.Connection, * java.io.File, java.lang.String) */ @@ -60,7 +60,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newFixedWidthParser(java.sql.Connection, * java.io.InputStream, java.lang.String) */ @@ -70,7 +70,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.File, * java.io.File) */ @@ -80,7 +80,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.InputStream, * java.io.InputStream) */ @@ -98,7 +98,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.sql.Connection, * java.io.InputStream, java.lang.String, char, char, boolean) */ @@ -109,7 +109,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.File, * java.io.File, char, char, boolean) */ @@ -120,7 +120,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.InputStream, * java.io.InputStream, char, char, boolean) */ @@ -131,7 +131,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.File, char, * char) */ @@ -141,7 +141,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.InputStream, * char, char) */ Modified: trunk/flatpack/src/main/java/net/sf/flatpack/DelimiterParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/DelimiterParser.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/DelimiterParser.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -45,14 +45,14 @@ /** * @author xhensevb - * + * */ public class DelimiterParser extends AbstractDelimiterParser { private InputStream pzmapXMLStream = null; private File pzmapXML = null; private Reader pzmapReader; - //this InputStream and file can be removed after support for + //this InputStream and file can be removed after support for //file and inputstream is removed from the parserfactory. The //methods have been deprecated..pz private InputStream dataSourceStream = null; @@ -93,7 +93,7 @@ protected void init() { try { - //check to see if the user is using a File or InputStream. This is + //check to see if the user is using a File or InputStream. This is //here for backwards compatability if (dataSourceStream != null) { final Reader r = new InputStreamReader(dataSourceStream); Modified: trunk/flatpack/src/main/java/net/sf/flatpack/FixedLengthParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/FixedLengthParser.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/FixedLengthParser.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -46,7 +46,7 @@ /** * @author xhensevb * @author zepernick - * + * */ public class FixedLengthParser extends AbstractFixedLengthParser { private InputStream pzmapXMLStream; @@ -55,7 +55,7 @@ private Reader pzmapReader; - //this InputStream and file can be removed after support for + //this InputStream and file can be removed after support for //file and inputstream is removed from the parserfactory. The //methods have been deprecated..pz private InputStream dataSourceStream = null; @@ -81,7 +81,7 @@ protected void init() { try { - //check to see if the user is using a File or InputStream. This is + //check to see if the user is using a File or InputStream. This is //here for backwards compatability if (dataSourceStream != null) { final Reader r = new InputStreamReader(dataSourceStream); Modified: trunk/flatpack/src/main/java/net/sf/flatpack/InitialisationException.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/InitialisationException.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/InitialisationException.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -34,13 +34,13 @@ /** * @author xhensevb - * + * */ public class InitialisationException extends RuntimeException { private static final long serialVersionUID = -4181701730609348676L; /** - * + * */ public InitialisationException() { } Modified: trunk/flatpack/src/main/java/net/sf/flatpack/Parser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/Parser.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/Parser.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -36,7 +36,7 @@ * PZParser is ready to parse the data and return an object that can then be * traversed. The default parser should NOT handle short lines, the user can * change it prior to calling parse. - * + * * @author Benoit Xhenseval */ public interface Parser { @@ -44,7 +44,7 @@ /** * Start the parsing. Will return "null" if the * parse fails and the DataSet cannot be created - * + * * @return the data set resulting from parsing */ DataSet parse(); @@ -64,7 +64,7 @@ void setHandlingShortLines(final boolean handleShortLines); /** - * + * * @return true, detail lines with a length or column count > the mapping * definition will be truncated and the reader will NOT register these * lines as erros in the DataError collection. @@ -72,17 +72,17 @@ boolean isIgnoreExtraColumns(); /** - * - * @param ignoreExtraColumns when true, detail lines with a length or column - * count > the mapping definition will be truncated and the reader + * + * @param ignoreExtraColumns when true, detail lines with a length or column + * count > the mapping definition will be truncated and the reader * will NOT register these lines as erros in the DataError collection. */ void setIgnoreExtraColumns(final boolean ignoreExtraColumns); /** * Default is false - * - * @return true, column names will have to be an exact match when retrieving the value of a column. + * + * @return true, column names will have to be an exact match when retrieving the value of a column. * Example when true: Column name = AColumnName ; getString("acolumnname") would fail * Example when false: Column name = AColumnName ; getString("acolumnname") would pass */ @@ -90,9 +90,9 @@ /** * Default is false - * - * @param columnNamesCaseSensitive when true, column names will have to be an exact match when retrieving - * the value of a column. + * + * @param columnNamesCaseSensitive when true, column names will have to be an exact match when retrieving + * the value of a column. * Example when true: Column name = AColumnName ; getString("acolumnname") would fail * Example when false: Column name = AColumnName ; getString("acolumnname") would pass */ @@ -100,26 +100,26 @@ /** * Default is false - * + * * @return true, warnings encountered durring parsing will not be included in the DataSet errors */ boolean isIgnoreParseWarnings(); /** - * - * @param ignoreParseWarnings when true, warnings encountered durring parsing will not be included + * + * @param ignoreParseWarnings when true, warnings encountered durring parsing will not be included * in the DataSet errors */ void setIgnoreParseWarnings(final boolean ignoreParseWarnings); /** - * + * * @return true, empty Strings will get returned as NULL when calling DataSet.getString() */ boolean isNullEmptyStrings(); /** - * + * * @param nullEmptyStrings when true, empty Strings will get returned as NULL when calling DataSet.getString() */ void setNullEmptyStrings(final boolean nullEmptyStrings); Modified: trunk/flatpack/src/main/java/net/sf/flatpack/ParserFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/ParserFactory.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/ParserFactory.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -41,16 +41,16 @@ * Factory definitions for creating a PZParser (delimiter or fixed length). The * creation of a parser will not start the parsing. It should not fail either * (unless DB issues etc). - * + * * @author Benoit Xhenseval */ public interface ParserFactory { /** * Constructs a new DataSet using the database table file layout method. * This is used for a FIXED LENGTH text file. - * + * * The user is responsible for closing the DB connection. - * + * * @param con - * Connection to database with DATAFILE and DATASTRUCTURE tables, * user is responsible for closing it. @@ -68,9 +68,9 @@ /** * Constructs a new DataSet using the database table file layout method. * This is used for a FIXED LENGTH text file. - * + * * The user is responsible for closing the DB connection and InputStream. - * + * * @param con - * Connection to database with DATAFILE and DATASTRUCTURE tables, * user is responsible for closing it. @@ -88,7 +88,7 @@ /** * 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 - @@ -102,9 +102,9 @@ /** * 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. - * + * * The user is responsible for closing the InputStreams. - * + * * @param pzmapXMLStream - * Reference to the xml file InputStream holding the pzmap, user * must close them after use. @@ -120,9 +120,9 @@ /** * Constructs a new DataSet using the database table file layout method. * This is used for a FIXED LENGTH text file. - * + * * The user is responsible for closing the DB connection. - * + * * @param con - * Connection to database with DATAFILE and DATASTRUCTURE tables, * user is responsible for closing it. @@ -138,9 +138,9 @@ /** * New constructor based on Reader. Constructs a new DataSet using the * PZMAP XML file layout method. This is used for a FIXED LENGTH text file. - * + * * The user is responsible for closing the Readers. - * + * * @param pzmapXMLStream - * Reference to the xml Reader holding the pzmap, user * must close them after use. @@ -165,9 +165,9 @@ * \b backspace <br> * \r return <br> * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * + * * The user is responsible for closing the DB connection and InputStream. - * + * * @param con - * Connection to database with DATAFILE and DATASTRUCTURE tables, * user must close it when done. @@ -183,7 +183,7 @@ * Char text is qualified by * @param ignoreFirstRecord - * skips the first line that contains data in the file - * @deprecated Please use the newDelimitedParser(Connection, Reader, String, char, char, boolean). + * @deprecated Please use the newDelimitedParser(Connection, Reader, String, char, char, boolean). * The InputStream can be wrapped in a "new InputStreamReader(InputStream)" * @return PZParser */ @@ -198,9 +198,9 @@ * \b backspace <br> * \r return <br> * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * + * * The user is responsible for closing the DB connection and InputStream. - * + * * @param con - * Connection to database with DATAFILE and DATASTRUCTURE tables, * user must close it when done. @@ -218,7 +218,7 @@ * skips the first line that contains data in the file * @return PZParser */ - Parser newDelimitedParser(final Connection con, final Reader dataSource, final String dataDefinition, final char delimiter, + Parser newDelimitedParser(final Connection con, final Reader dataSource, final String dataDefinition, final char delimiter, final char qualifier, final boolean ignoreFirstRecord); /** @@ -229,7 +229,7 @@ * \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 - @@ -240,7 +240,7 @@ * Char text is qualified by * @param ignoreFirstRecord - * skips the first line that contains data in the file - * @deprecated Please use the newDelimitedParser(Reader, Reader, String, char, char, boolean). + * @deprecated Please use the newDelimitedParser(Reader, Reader, String, char, char, boolean). * The File can be wrapped in a "new FileReader(File)" * @return PZParser */ @@ -255,7 +255,7 @@ * \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 - @@ -279,9 +279,9 @@ * \b backspace <br> * \r return <br> * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * + * * The user is responsible for closing the InputStreams. - * + * * @param pzmapXMLStream - * Reference to the xml file holding the pzmap, user must close * it when done. @@ -294,7 +294,7 @@ * Char text is qualified by * @param ignoreFirstRecord - * skips the first line that contains data in the file - * @deprecated Please use the newDelimitedParser(Reader, Reader, String, char, char, boolean). + * @deprecated Please use the newDelimitedParser(Reader, Reader, String, char, char, boolean). * The InputStream can be wrapped in a "new InputStreamReader(InputStream)" * @return PZParser */ @@ -309,14 +309,14 @@ * \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 - * @deprecated Please use the newDelimitedParser(Reader, char, char, boolean). + * @deprecated Please use the newDelimitedParser(Reader, char, char, boolean). * The InputStream can be wrapped in a "new FileReader(File)" * @return PZParser */ @@ -330,7 +330,7 @@ * \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 - @@ -349,9 +349,9 @@ * \b backspace <br> * \r return <br> * \f form feed <br> \\ backslash <br> \' single quote <br> \" double quote - * + * * The user must close the InputStream when done (after parsing). - * + * * @param dataSource - * text file InputStream to read from, user must close it when * done. @@ -359,7 +359,7 @@ * Char the file is delimited By * @param qualifier - * Char text is qualified by - * @deprecated Please use the newDelimitedParser(Reader, char, char, boolean). + * @deprecated Please use the newDelimitedParser(Reader, char, char, boolean). * The InputStream can be wrapped in a "new InputStreamReader(InputStream)" * @return PZParser */ Modified: trunk/flatpack/src/main/java/net/sf/flatpack/Version.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/Version.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/Version.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,23 +1,23 @@ /* 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 + 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 net.sf.flatpack; /** - * - * Static class which stores the version of this pzFileReader + * + * Static class which stores the version of this FlatPack */ public class Version { - public static final String VERSION = "3.0.0"; + public static final String VERSION = "3.1.0"; } Modified: trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderDelimParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderDelimParser.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderDelimParser.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -103,7 +103,7 @@ /** * Reads in the next record on the file and return a row - * + * * @param ds * @return Row * @throws IOException Modified: trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderFixedParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderFixedParser.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderFixedParser.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -93,7 +93,7 @@ /** * Reads in the next record on the file and return a row - * + * * @param ds * @return Row * @throws IOException Modified: trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderParseFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderParseFactory.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/brparse/BuffReaderParseFactory.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -44,13 +44,13 @@ * Provides a PZParser which obtains records directly from * a BufferedReader as an alternative to reading the * entire file into memory. - * + * * Database column mappings are not supported by this factory * at the present time. This class is meant to mimic the LargeDataSet * class of pre 3.0 versions, which did not support database mappings * either. A RuntimeExcpetion will be thrown if trying to obtain a parser * for a database map. - * + * * @author Paul Zepernick */ public class BuffReaderParseFactory implements ParserFactory { @@ -76,7 +76,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.File, * java.io.File) */ @@ -97,7 +97,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.InputStream, * java.io.InputStream) */ @@ -115,7 +115,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.File, * java.io.File, char, char, boolean) */ @@ -126,7 +126,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.InputStream, * java.io.InputStream, char, char, boolean) */ @@ -137,7 +137,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.File, char, * char) */ @@ -147,7 +147,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParserFactory#newParser(java.io.InputStream, * char, char) */ Modified: trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertDouble.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertDouble.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertDouble.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -39,14 +39,14 @@ * Returns a Double * Non numeric chars are removed from the string * before converting - * + * * @author Paul Zepernick */ public class ConvertDouble implements Converter { /* * (non-Javadoc) - * + * * @see net.sf.flatpack.converter#convertValue(java.lang.String) */ public Object convertValue(final String valueToConvert) { Modified: trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertInteger.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertInteger.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/converter/ConvertInteger.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -39,14 +39,14 @@ * Returns a Integer * Non numeric chars are removed from the string * before converting - * + * * @author Paul Zepernick */ public class ConvertInteger implements Converter { /* * (non-Javadoc) - * + * * @see net.sf.flatpack.converter#convertValue(java.lang.String) */ public Object convertValue(final String valueToConvert) { Modified: trunk/flatpack/src/main/java/net/sf/flatpack/converter/Converter.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/converter/Converter.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/converter/Converter.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -35,15 +35,15 @@ /** * Responsible for converting a column in IDataSet * to the desired Object. - * + * * @author Paul Zepernick */ public interface Converter { /** - * Returns the converted object from the + * Returns the converted object from the * column in IDataSet - * + * * @param valueToConvert * @return Object */ Modified: trunk/flatpack/src/main/java/net/sf/flatpack/converter/FPConvertException.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/converter/FPConvertException.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/converter/FPConvertException.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -35,14 +35,14 @@ /** * Exception thrown when a conversion error occurs - * + * * @author Paul Zepernick */ public class FPConvertException extends RuntimeException { private static final long serialVersionUID = 1L; /** - * + * */ public FPConvertException() { } Modified: trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderBy.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderBy.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderBy.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -44,10 +44,10 @@ /** * @author paul zepernick - * + * * resorts an array of objects. Arrays get sorted by OrderElements. Right now, * this class will only handle string comparisons. - * + * * @version 2.0 */ public class OrderBy implements Comparator, Serializable { @@ -61,7 +61,7 @@ /** * Adds an order element to the sort. - * + * * @param oc - * OrderColumn */ @@ -71,9 +71,9 @@ /** * overridden from the Comparator class. - * + * * Performs the sort - * + * * @return int */ public int compare(final Object arg0, final Object arg1) { Modified: trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderColumn.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderColumn.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/ordering/OrderColumn.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -34,10 +34,10 @@ /** * @author paul zepernick - * + * * Used in conjunction with the OrderBy class. Holds the name of the column to * order by and the direction the order should go, ASC, DESC. - * + * * @version 2.0 */ public class OrderColumn { @@ -49,7 +49,7 @@ /** * Constructs a new order by element - * + * * @param columnName - * column to sort by * @param desc - Modified: trunk/flatpack/src/main/java/net/sf/flatpack/util/FPConstants.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/util/FPConstants.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/util/FPConstants.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -34,7 +34,7 @@ /** * @author xhensevb - * + * */ public final class FPConstants { public static final String DETAIL_ID = "detail"; Modified: trunk/flatpack/src/main/java/net/sf/flatpack/util/FixedWidthParserUtils.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/util/FixedWidthParserUtils.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/util/FixedWidthParserUtils.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -44,7 +44,7 @@ /** * Collection of parser utilities related to the parsing of fixed width files. - * + * * @author paul zepernick */ public final class FixedWidthParserUtils { @@ -53,7 +53,7 @@ /** * Splits up a fixed width line of text - * + * * @param columnMetaData * Collection of ColumnMetaData to parse the line * @param lineToParse @@ -76,8 +76,8 @@ /** * Returns the key to the list of ColumnMetaData objects. Returns the * correct MetaData per the mapping file and the data contained on the line - * - * + * + * * @param columnMD * @param line * @return List - ColumMetaData @@ -123,8 +123,8 @@ /** * Returns the key to the list of ColumnMetaData objects. Returns the * correct MetaData per the mapping file and the data contained on the line - * - * + * + * * @param columnMD * @param line * @return List - ColumMetaData Modified: trunk/flatpack/src/main/java/net/sf/flatpack/util/ParserUtils.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/util/ParserUtils.java 2007-09-30 16:32:10 UTC (rev 358) +++ trunk/flatpack/src/main/java/net/sf/flatpack/util/ParserUtils.java 2007-09-30 16:44:48 UTC (rev 359) @@ -1,9 +1,9 @@ /* - * ObjectLab, http://www.objectlab.co.uk/open is supporting PZFileReader. - * - * Based in London, we are world leaders in the design and development + * ObjectLab, http://www.objectlab.co.uk/open is supporting FlatPack. + * + * Based in London, we are world leaders in the design and development * of bespoke applications for the securities financing markets. - * + * * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> * ___ _ _ _ _ _ * / _ \| |__ (_) ___ ___| |_| | __ _| |__ @@ -15,7 +15,7 @@ * www.ObjectLab.co.uk * * $Id: ColorProvider.java 74 2006-10-24 22:19:05Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -67,7 +67,7 @@ * Static utilities that are used to perform parsing in the * DataSet class These can also be used for low level parsing, if not * wishing to use the DataSet class. - * + * * @author Paul Zepernick * @author Benoit Xhenseval */ @@ -83,7 +83,7 @@ * Elements which are not qualified will have leading and trailing white * space removed. This includes unqualified elements, which may be * contained in an unqualified parse: "data", data ,"data" - * + * * Special thanks to Benoit for contributing this much improved speedy parser :0) * * @author Benoit Xhenseval @@ -293,10 +293,10 @@ } /** - * Will return a null if the String is empty returns the + * Will return a null if the String is empty returns the * trimmed string otherwise. - * - * @param value + * + * @param value * to be trimmed * @return String */ @@ -359,7 +359,7 @@ * @param p * PZParser used to specify additional option when working witht the ColumnMetaData. Can be null * @return ArrayList - ColumnMetaData - * @deprecated use the getPZMetaDataFromFile + * @deprecated use the getPZMetaDataFromFile */ public static Map getColumnMDFromFile(final String line, final char delimiter, final char qualifier, final Parser p) { List lineData = null; @@ -894,7 +894,7 @@ * @author Paul Zepernick * @param columns * @param p - * Reference to Parser which can provide additional options on how the + * Reference to Parser which can provide additional options on how the * map should be build. This can ... [truncated message content] |
From: <be...@us...> - 2007-09-30 16:32:06
|
Revision: 358 http://flatpack.svn.sourceforge.net/flatpack/?rev=358&view=rev Author: benoitx Date: 2007-09-30 09:32:10 -0700 (Sun, 30 Sep 2007) Log Message: ----------- Renamed remotely Added Paths: ----------- trunk/flatpack-samples/src/main/java/net/sf/flatpack/ Removed Paths: ------------- trunk/flatpack-samples/src/main/java/net/sf/pzfilereader/ Copied: trunk/flatpack-samples/src/main/java/net/sf/flatpack (from rev 357, trunk/flatpack-samples/src/main/java/net/sf/pzfilereader) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2007-09-29 22:50:08
|
Revision: 357 http://flatpack.svn.sourceforge.net/flatpack/?rev=357&view=rev Author: benoitx Date: 2007-09-29 15:50:10 -0700 (Sat, 29 Sep 2007) Log Message: ----------- latest build. Modified Paths: -------------- trunk/flatpack/qalab.xml trunk/flatpack-samples/qalab.xml trunk/src/site/press/index.xml Added Paths: ----------- trunk/src/site/press/press-release-3.1.0.txt Modified: trunk/flatpack/qalab.xml =================================================================== --- trunk/flatpack/qalab.xml 2007-09-29 21:26:43 UTC (rev 356) +++ trunk/flatpack/qalab.xml 2007-09-29 22:50:10 UTC (rev 357) @@ -301,6 +301,14 @@ project="default" statvalue="31" type="cobertura-line"/> <summaryresult date="2007-09-09" filecount="45" module="default" project="default" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2007-09-29" filecount="53" module="default" + project="default" statvalue="11" type="checkstyle"/> + <summaryresult date="2007-09-29" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-09-29" filecount="45" module="default" + project="default" statvalue="31" type="cobertura-line"/> + <summaryresult date="2007-09-29" filecount="45" module="default" + project="default" statvalue="23" type="cobertura-branch"/> </summary> <file id="default-default-com_pz_reader_ordering_package.html" module="default" path="com/pz/reader/ordering/package.html" project="default"> @@ -638,6 +646,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DataSet.java" module="default" path="net/sf/flatpack/DataSet.java" project="default"> @@ -707,6 +716,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_LargeDataSet.java" module="default" path="net/sf/flatpack/LargeDataSet.java" project="default"> @@ -810,6 +821,9 @@ <result date="2007-09-09" statvalue="6" type="checkstyle"/> <result date="2007-09-09" statvalue="28" type="cobertura-line"/> <result date="2007-09-09" statvalue="25" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="6" type="checkstyle"/> + <result date="2007-09-29" statvalue="28" type="cobertura-line"/> + <result date="2007-09-29" statvalue="25" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_PZMapParser.java" module="default" path="net/sf/flatpack/xml/PZMapParser.java" project="default"> @@ -850,6 +864,8 @@ <result date="2007-09-05" statvalue="50" type="cobertura-branch"/> <result date="2007-09-09" statvalue="71" type="cobertura-line"/> <result date="2007-09-09" statvalue="50" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="71" type="cobertura-line"/> + <result date="2007-09-29" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_structure_Row.java" module="default" path="net/sf/flatpack/structure/Row.java" project="default"> @@ -881,6 +897,7 @@ <result date="2007-09-04" statvalue="45" type="cobertura-line"/> <result date="2007-09-05" statvalue="45" type="cobertura-line"/> <result date="2007-09-09" statvalue="45" type="cobertura-line"/> + <result date="2007-09-29" statvalue="45" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_structure_ColumnMetaData.java" @@ -926,6 +943,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="54" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="54" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Version.java" module="default" path="net/sf/flatpack/Version.java" project="default"> @@ -949,6 +968,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_XMLRecordElement.java" module="default" @@ -962,6 +982,7 @@ <result date="2007-09-04" statvalue="54" type="cobertura-line"/> <result date="2007-09-05" statvalue="54" type="cobertura-line"/> <result date="2007-09-09" statvalue="54" type="cobertura-line"/> + <result date="2007-09-29" statvalue="54" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_util_PZConstants.java" module="default" path="net/sf/flatpack/util/PZConstants.java" project="default"> @@ -1083,6 +1104,7 @@ <result date="2007-09-04" statvalue="2" type="checkstyle"/> <result date="2007-09-05" statvalue="2" type="checkstyle"/> <result date="2007-09-09" statvalue="2" type="checkstyle"/> + <result date="2007-09-29" statvalue="2" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_util_FixedWidthParserUtils.java" @@ -1206,6 +1228,8 @@ <result date="2007-09-05" statvalue="5" type="cobertura-branch"/> <result date="2007-09-09" statvalue="19" type="cobertura-line"/> <result date="2007-09-09" statvalue="5" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="19" type="cobertura-line"/> + <result date="2007-09-29" statvalue="5" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultPZParserFactory.java" @@ -1289,6 +1313,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="25" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="25" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_package.html" module="default" path="net/sf/flatpack/converter/package.html" project="default"> @@ -1343,6 +1369,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_PZConvertException.java" @@ -1413,6 +1440,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_ConvertInteger.java" @@ -1443,6 +1471,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderPZParseFactory.java" @@ -1513,6 +1542,9 @@ <result date="2007-09-09" statvalue="2" type="checkstyle"/> <result date="2007-09-09" statvalue="55" type="cobertura-line"/> <result date="2007-09-09" statvalue="40" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="56" type="cobertura-line"/> + <result date="2007-09-29" statvalue="40" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPStringUtils.java" module="default" path="net/sf/flatpack/util/FPStringUtils.java" project="default"> @@ -1557,6 +1589,8 @@ <result date="2007-09-05" statvalue="6" type="cobertura-branch"/> <result date="2007-09-09" statvalue="16" type="cobertura-line"/> <result date="2007-09-09" statvalue="6" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="16" type="cobertura-line"/> + <result date="2007-09-29" statvalue="6" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_AbstractParser.java" module="default" path="net/sf/flatpack/AbstractParser.java" project="default"> @@ -1576,6 +1610,8 @@ <result date="2007-09-05" statvalue="35" type="cobertura-branch"/> <result date="2007-09-09" statvalue="55" type="cobertura-line"/> <result date="2007-09-09" statvalue="35" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="55" type="cobertura-line"/> + <result date="2007-09-29" statvalue="35" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultParserFactory.java" module="default" @@ -1596,6 +1632,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="23" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="23" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DelimiterParser.java" module="default" path="net/sf/flatpack/DelimiterParser.java" project="default"> @@ -1615,6 +1653,8 @@ <result date="2007-09-05" statvalue="42" type="cobertura-branch"/> <result date="2007-09-09" statvalue="38" type="cobertura-line"/> <result date="2007-09-09" statvalue="42" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="38" type="cobertura-line"/> + <result date="2007-09-29" statvalue="42" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Parser.java" module="default" path="net/sf/flatpack/Parser.java" project="default"> @@ -1634,6 +1674,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_ParserFactory.java" module="default" path="net/sf/flatpack/ParserFactory.java" project="default"> @@ -1655,6 +1697,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_Converter.java" module="default" path="net/sf/flatpack/converter/Converter.java" project="default"> @@ -1674,6 +1718,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderParseFactory.java" @@ -1687,6 +1733,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_FPConvertException.java" @@ -1700,6 +1747,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPConstants.java" module="default" path="net/sf/flatpack/util/FPConstants.java" project="default"> @@ -1711,6 +1759,7 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_columninfile_DelimitedColumnNamesInFileTest.java" @@ -1739,6 +1788,8 @@ <result date="2007-09-05" statvalue="83" type="cobertura-branch"/> <result date="2007-09-09" statvalue="84" type="cobertura-line"/> <result date="2007-09-09" statvalue="83" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="84" type="cobertura-line"/> + <result date="2007-09-29" statvalue="83" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_AbstractWriterFactory.java" @@ -1751,6 +1802,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_DelimiterWriter.java" @@ -1763,6 +1816,8 @@ <result date="2007-09-05" statvalue="90" type="cobertura-branch"/> <result date="2007-09-09" statvalue="89" type="cobertura-line"/> <result date="2007-09-09" statvalue="90" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="89" type="cobertura-line"/> + <result date="2007-09-29" statvalue="90" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_DelimiterWriterFactory.java" @@ -1775,6 +1830,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="75" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="75" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_FixedLengthWriter.java" @@ -1787,6 +1844,8 @@ <result date="2007-09-05" statvalue="94" type="cobertura-branch"/> <result date="2007-09-09" statvalue="93" type="cobertura-line"/> <result date="2007-09-09" statvalue="94" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="93" type="cobertura-line"/> + <result date="2007-09-29" statvalue="94" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_FixedWriterFactory.java" @@ -1799,6 +1858,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="66" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="66" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_Writer.java" module="default" path="net/sf/flatpack/writer/Writer.java" project="default"> @@ -1811,6 +1872,9 @@ <result date="2007-09-09" statvalue="2" type="checkstyle"/> <result date="2007-09-09" statvalue="100" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="2" type="checkstyle"/> + <result date="2007-09-29" statvalue="100" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_WriterFactory.java" module="default" @@ -1822,6 +1886,8 @@ <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> <result date="2007-09-09" statvalue="100" type="cobertura-line"/> <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="100" type="cobertura-line"/> + <result date="2007-09-29" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_MapParser.java" module="default" path="net/sf/flatpack/xml/MapParser.java" project="default"> @@ -1831,5 +1897,7 @@ <result date="2007-09-05" statvalue="38" type="cobertura-branch"/> <result date="2007-09-09" statvalue="50" type="cobertura-line"/> <result date="2007-09-09" statvalue="38" type="cobertura-branch"/> + <result date="2007-09-29" statvalue="50" type="cobertura-line"/> + <result date="2007-09-29" statvalue="38" type="cobertura-branch"/> </file> </qalab> Modified: trunk/flatpack-samples/qalab.xml =================================================================== --- trunk/flatpack-samples/qalab.xml 2007-09-29 21:26:43 UTC (rev 356) +++ trunk/flatpack-samples/qalab.xml 2007-09-29 22:50:10 UTC (rev 357) @@ -173,6 +173,14 @@ project="default" statvalue="92" type="simian"/> <summaryresult date="2007-09-09" filecount="2" module="default" project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-09-29" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-09-29" filecount="6" module="default" + project="default" statvalue="9" type="findbugs"/> + <summaryresult date="2007-09-29" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-09-29" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> </summary> <file id="default-default-com_pz_reader_examples_numericsanddates_package.html" @@ -395,6 +403,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" @@ -418,6 +427,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" @@ -441,6 +451,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_package.html" @@ -464,6 +475,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" @@ -487,6 +499,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" @@ -510,6 +523,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_package.html" @@ -533,6 +547,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" @@ -556,6 +571,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_package.html" @@ -579,6 +595,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" @@ -602,6 +619,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" @@ -625,6 +643,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_package.html" @@ -648,6 +667,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_package.html" @@ -671,6 +691,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" @@ -694,6 +715,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" @@ -717,6 +739,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" @@ -740,6 +763,7 @@ <result date="2007-09-04" statvalue="1" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_Examples.java" @@ -780,6 +804,8 @@ <result date="2007-09-05" statvalue="1" type="findbugs"/> <result date="2007-09-09" statvalue="14" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="findbugs"/> + <result date="2007-09-29" statvalue="14" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" @@ -839,6 +865,9 @@ <result date="2007-09-09" statvalue="7" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="findbugs"/> <result date="2007-09-09" statvalue="1" type="pmd"/> + <result date="2007-09-29" statvalue="7" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="findbugs"/> + <result date="2007-09-29" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" @@ -862,6 +891,7 @@ <result date="2007-09-04" statvalue="17" type="checkstyle"/> <result date="2007-09-05" statvalue="17" type="checkstyle"/> <result date="2007-09-09" statvalue="17" type="checkstyle"/> + <result date="2007-09-29" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" @@ -910,6 +940,8 @@ <result date="2007-09-05" statvalue="1" type="findbugs"/> <result date="2007-09-09" statvalue="16" type="checkstyle"/> <result date="2007-09-09" statvalue="1" type="findbugs"/> + <result date="2007-09-29" statvalue="16" type="checkstyle"/> + <result date="2007-09-29" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" @@ -938,6 +970,7 @@ <result date="2007-09-04" statvalue="5" type="checkstyle"/> <result date="2007-09-05" statvalue="5" type="checkstyle"/> <result date="2007-09-09" statvalue="5" type="checkstyle"/> + <result date="2007-09-29" statvalue="5" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" @@ -968,6 +1001,7 @@ <result date="2007-09-04" statvalue="13" type="checkstyle"/> <result date="2007-09-05" statvalue="13" type="checkstyle"/> <result date="2007-09-09" statvalue="13" type="checkstyle"/> + <result date="2007-09-29" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" @@ -998,6 +1032,7 @@ <result date="2007-09-04" statvalue="13" type="checkstyle"/> <result date="2007-09-05" statvalue="13" type="checkstyle"/> <result date="2007-09-09" statvalue="13" type="checkstyle"/> + <result date="2007-09-29" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" @@ -1028,6 +1063,7 @@ <result date="2007-09-04" statvalue="3" type="checkstyle"/> <result date="2007-09-05" statvalue="3" type="checkstyle"/> <result date="2007-09-09" statvalue="3" type="checkstyle"/> + <result date="2007-09-29" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" @@ -1058,6 +1094,7 @@ <result date="2007-09-04" statvalue="3" type="checkstyle"/> <result date="2007-09-05" statvalue="3" type="checkstyle"/> <result date="2007-09-09" statvalue="3" type="checkstyle"/> + <result date="2007-09-29" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" @@ -1088,6 +1125,7 @@ <result date="2007-09-04" statvalue="17" type="checkstyle"/> <result date="2007-09-05" statvalue="17" type="checkstyle"/> <result date="2007-09-09" statvalue="17" type="checkstyle"/> + <result date="2007-09-29" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" @@ -1121,6 +1159,7 @@ <result date="2007-09-04" statvalue="4" type="checkstyle"/> <result date="2007-09-05" statvalue="4" type="checkstyle"/> <result date="2007-09-09" statvalue="4" type="checkstyle"/> + <result date="2007-09-29" statvalue="4" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" @@ -1154,6 +1193,7 @@ <result date="2007-09-04" statvalue="3" type="checkstyle"/> <result date="2007-09-05" statvalue="3" type="checkstyle"/> <result date="2007-09-09" statvalue="3" type="checkstyle"/> + <result date="2007-09-29" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" @@ -1195,6 +1235,8 @@ <result date="2007-09-05" statvalue="2" type="findbugs"/> <result date="2007-09-09" statvalue="9" type="checkstyle"/> <result date="2007-09-09" statvalue="2" type="findbugs"/> + <result date="2007-09-29" statvalue="9" type="checkstyle"/> + <result date="2007-09-29" statvalue="2" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" @@ -1254,6 +1296,9 @@ <result date="2007-09-09" statvalue="5" type="checkstyle"/> <result date="2007-09-09" statvalue="2" type="findbugs"/> <result date="2007-09-09" statvalue="1" type="pmd"/> + <result date="2007-09-29" statvalue="5" type="checkstyle"/> + <result date="2007-09-29" statvalue="2" type="findbugs"/> + <result date="2007-09-29" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" @@ -1284,6 +1329,7 @@ <result date="2007-09-04" statvalue="4" type="checkstyle"/> <result date="2007-09-05" statvalue="4" type="checkstyle"/> <result date="2007-09-09" statvalue="4" type="checkstyle"/> + <result date="2007-09-29" statvalue="4" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" @@ -1314,6 +1360,7 @@ <result date="2007-09-04" statvalue="6" type="checkstyle"/> <result date="2007-09-05" statvalue="6" type="checkstyle"/> <result date="2007-09-09" statvalue="6" type="checkstyle"/> + <result date="2007-09-29" statvalue="6" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_ConsoleMenu.java" @@ -1337,5 +1384,6 @@ <result date="2007-09-04" statvalue="2" type="findbugs"/> <result date="2007-09-05" statvalue="2" type="findbugs"/> <result date="2007-09-09" statvalue="2" type="findbugs"/> + <result date="2007-09-29" statvalue="2" type="findbugs"/> </file> </qalab> Modified: trunk/src/site/press/index.xml =================================================================== --- trunk/src/site/press/index.xml 2007-09-29 21:26:43 UTC (rev 356) +++ trunk/src/site/press/index.xml 2007-09-29 22:50:10 UTC (rev 357) @@ -27,6 +27,7 @@ <subsection name="On the web"> <ul> + <li><a href="press-release-3.1.0.txt">Sept 2007 'press' release</a></li> <li><a href="press-release-3.0.0.txt">Feb 2007 'press' release</a></li> </ul> </subsection> Added: trunk/src/site/press/press-release-3.1.0.txt =================================================================== --- trunk/src/site/press/press-release-3.1.0.txt (rev 0) +++ trunk/src/site/press/press-release-3.1.0.txt 2007-09-29 22:50:10 UTC (rev 357) @@ -0,0 +1,67 @@ +Paul Zepernick and ObjectLab are pleased to announce release 3.1.0 of +FlatPack for Java 1.4+. + +FlatPack is the new name for PZFileReader as the project has outgrown +the initial scope of reading files... + +Open Source flat file parser (CSV, Fixed Length, Custom) using XML +to configure formats. + +http://flatpack.sourceforge.net + +This is an important release with a new name and package structure. +Users of previous version should find it easy to migrate as most classes +have kept their original name. + +A major development is the experimental release of writers for exporting +DataSets. We would like to thank Dirk and Holger from the Mule Project +for their kind contribution to FlatPack. We're looking forward to the +result of using FlatPack in Mule, a great Open Source ESB. + +This release also adds a few convenience methods on a DataSet. + +FlatPack is released under the business friendly Apache License v2.0. + +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. +Not only it can parse very quickly some CSV or any-user defined delimiter, +this library can parse FIXED LENGTH 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. Please contribute if you have some standard files... + +It is available for download via SourceForge or the Maven Central +Repository (both Maven 1 and Maven 2). The homepage has some very +quick examples. + +Maven Repositories: +M1: http://objectlabkit.sf.net/m1-repo +M2: http://objectlabkit.sf.net/m2-repo + +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 Benoit Xhenseval This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2007-09-29 21:26:46
|
Revision: 356 http://flatpack.svn.sourceforge.net/flatpack/?rev=356&view=rev Author: benoitx Date: 2007-09-29 14:26:43 -0700 (Sat, 29 Sep 2007) Log Message: ----------- start the 3.1 release process. Modified Paths: -------------- trunk/common-build/project.xml trunk/flatpack/qalab.xml trunk/flatpack-samples/.classpath trunk/flatpack-samples/qalab.xml trunk/src/site/changes.xml Modified: trunk/common-build/project.xml =================================================================== --- trunk/common-build/project.xml 2007-09-29 16:32:27 UTC (rev 355) +++ trunk/common-build/project.xml 2007-09-29 21:26:43 UTC (rev 356) @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - /* + /* * ======================================================================== * $Id: project.xml 209 2006-10-12 10:17:42Z benoitx $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -27,7 +27,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> <pomVersion>3</pomVersion> <groupId>net.sf.flatpack</groupId> - <currentVersion>3.1.0-SNAPSHOT</currentVersion> + <currentVersion>3.1.0</currentVersion> <organization> <name>ObjectLab Financial Ltd</name> <url>http://www.objectlab.co.uk</url> @@ -198,9 +198,9 @@ <versions> <version> - <id>3.1.0-SNAPSHOT</id> - <name>3.1.0-SNAPSHOT</name> - <tag>3.1.0-SNAPSHOT</tag> + <id>3.1.0</id> + <name>3.1.0</name> + <tag>3.1.0</tag> </version> <version> <id>3.0.0</id> Modified: trunk/flatpack/qalab.xml =================================================================== --- trunk/flatpack/qalab.xml 2007-09-29 16:32:27 UTC (rev 355) +++ trunk/flatpack/qalab.xml 2007-09-29 21:26:43 UTC (rev 356) @@ -293,6 +293,14 @@ project="default" statvalue="31" type="cobertura-line"/> <summaryresult date="2007-09-05" filecount="45" module="default" project="default" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2007-09-09" filecount="53" module="default" + project="default" statvalue="13" type="checkstyle"/> + <summaryresult date="2007-09-09" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-09-09" filecount="45" module="default" + project="default" statvalue="31" type="cobertura-line"/> + <summaryresult date="2007-09-09" filecount="45" module="default" + project="default" statvalue="23" type="cobertura-branch"/> </summary> <file id="default-default-com_pz_reader_ordering_package.html" module="default" path="com/pz/reader/ordering/package.html" project="default"> @@ -629,6 +637,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DataSet.java" module="default" path="net/sf/flatpack/DataSet.java" project="default"> @@ -696,6 +705,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_LargeDataSet.java" module="default" path="net/sf/flatpack/LargeDataSet.java" project="default"> @@ -796,6 +807,9 @@ <result date="2007-09-05" statvalue="6" type="checkstyle"/> <result date="2007-09-05" statvalue="28" type="cobertura-line"/> <result date="2007-09-05" statvalue="25" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="6" type="checkstyle"/> + <result date="2007-09-09" statvalue="28" type="cobertura-line"/> + <result date="2007-09-09" statvalue="25" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_PZMapParser.java" module="default" path="net/sf/flatpack/xml/PZMapParser.java" project="default"> @@ -834,6 +848,8 @@ <result date="2007-09-04" statvalue="50" type="cobertura-branch"/> <result date="2007-09-05" statvalue="71" type="cobertura-line"/> <result date="2007-09-05" statvalue="50" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="71" type="cobertura-line"/> + <result date="2007-09-09" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_structure_Row.java" module="default" path="net/sf/flatpack/structure/Row.java" project="default"> @@ -864,6 +880,7 @@ <result date="2007-08-30" statvalue="54" type="cobertura-line"/> <result date="2007-09-04" statvalue="45" type="cobertura-line"/> <result date="2007-09-05" statvalue="45" type="cobertura-line"/> + <result date="2007-09-09" statvalue="45" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_structure_ColumnMetaData.java" @@ -907,6 +924,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="54" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="54" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Version.java" module="default" path="net/sf/flatpack/Version.java" project="default"> @@ -929,6 +948,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_XMLRecordElement.java" module="default" @@ -941,6 +961,7 @@ <result date="2007-08-20" statvalue="1" type="checkstyle"/> <result date="2007-09-04" statvalue="54" type="cobertura-line"/> <result date="2007-09-05" statvalue="54" type="cobertura-line"/> + <result date="2007-09-09" statvalue="54" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_util_PZConstants.java" module="default" path="net/sf/flatpack/util/PZConstants.java" project="default"> @@ -1061,6 +1082,7 @@ <result date="2007-08-30" statvalue="2" type="checkstyle"/> <result date="2007-09-04" statvalue="2" type="checkstyle"/> <result date="2007-09-05" statvalue="2" type="checkstyle"/> + <result date="2007-09-09" statvalue="2" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_util_FixedWidthParserUtils.java" @@ -1182,6 +1204,8 @@ <result date="2007-09-04" statvalue="5" type="cobertura-branch"/> <result date="2007-09-05" statvalue="19" type="cobertura-line"/> <result date="2007-09-05" statvalue="5" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="19" type="cobertura-line"/> + <result date="2007-09-09" statvalue="5" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultPZParserFactory.java" @@ -1263,6 +1287,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="25" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="25" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_package.html" module="default" path="net/sf/flatpack/converter/package.html" project="default"> @@ -1316,6 +1342,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_PZConvertException.java" @@ -1385,6 +1412,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_ConvertInteger.java" @@ -1414,6 +1442,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderPZParseFactory.java" @@ -1481,6 +1510,9 @@ <result date="2007-09-05" statvalue="2" type="checkstyle"/> <result date="2007-09-05" statvalue="55" type="cobertura-line"/> <result date="2007-09-05" statvalue="40" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="2" type="checkstyle"/> + <result date="2007-09-09" statvalue="55" type="cobertura-line"/> + <result date="2007-09-09" statvalue="40" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPStringUtils.java" module="default" path="net/sf/flatpack/util/FPStringUtils.java" project="default"> @@ -1501,6 +1533,7 @@ <result date="2007-08-30" statvalue="20" type="cobertura-branch"/> <result date="2007-09-04" statvalue="2" type="checkstyle"/> <result date="2007-09-05" statvalue="1" type="checkstyle"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_xml_MetaData.java" module="default" path="net/sf/flatpack/xml/MetaData.java" project="default"> @@ -1522,6 +1555,8 @@ <result date="2007-09-04" statvalue="6" type="cobertura-branch"/> <result date="2007-09-05" statvalue="16" type="cobertura-line"/> <result date="2007-09-05" statvalue="6" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="16" type="cobertura-line"/> + <result date="2007-09-09" statvalue="6" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_AbstractParser.java" module="default" path="net/sf/flatpack/AbstractParser.java" project="default"> @@ -1539,6 +1574,8 @@ <result date="2007-09-04" statvalue="35" type="cobertura-branch"/> <result date="2007-09-05" statvalue="55" type="cobertura-line"/> <result date="2007-09-05" statvalue="35" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="55" type="cobertura-line"/> + <result date="2007-09-09" statvalue="35" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultParserFactory.java" module="default" @@ -1557,6 +1594,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="23" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="23" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DelimiterParser.java" module="default" path="net/sf/flatpack/DelimiterParser.java" project="default"> @@ -1574,6 +1613,8 @@ <result date="2007-09-04" statvalue="42" type="cobertura-branch"/> <result date="2007-09-05" statvalue="38" type="cobertura-line"/> <result date="2007-09-05" statvalue="42" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="38" type="cobertura-line"/> + <result date="2007-09-09" statvalue="42" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Parser.java" module="default" path="net/sf/flatpack/Parser.java" project="default"> @@ -1591,6 +1632,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_ParserFactory.java" module="default" path="net/sf/flatpack/ParserFactory.java" project="default"> @@ -1610,6 +1653,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_Converter.java" module="default" path="net/sf/flatpack/converter/Converter.java" project="default"> @@ -1627,6 +1672,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderParseFactory.java" @@ -1639,6 +1686,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_FPConvertException.java" @@ -1651,6 +1699,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPConstants.java" module="default" path="net/sf/flatpack/util/FPConstants.java" project="default"> @@ -1661,6 +1710,7 @@ <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_columninfile_DelimitedColumnNamesInFileTest.java" @@ -1687,6 +1737,8 @@ <result date="2007-09-04" statvalue="83" type="cobertura-branch"/> <result date="2007-09-05" statvalue="84" type="cobertura-line"/> <result date="2007-09-05" statvalue="83" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="84" type="cobertura-line"/> + <result date="2007-09-09" statvalue="83" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_AbstractWriterFactory.java" @@ -1697,6 +1749,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_DelimiterWriter.java" @@ -1707,6 +1761,8 @@ <result date="2007-09-04" statvalue="90" type="cobertura-branch"/> <result date="2007-09-05" statvalue="89" type="cobertura-line"/> <result date="2007-09-05" statvalue="90" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="89" type="cobertura-line"/> + <result date="2007-09-09" statvalue="90" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_DelimiterWriterFactory.java" @@ -1717,6 +1773,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="75" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="75" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_FixedLengthWriter.java" @@ -1727,6 +1785,8 @@ <result date="2007-09-04" statvalue="94" type="cobertura-branch"/> <result date="2007-09-05" statvalue="93" type="cobertura-line"/> <result date="2007-09-05" statvalue="94" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="93" type="cobertura-line"/> + <result date="2007-09-09" statvalue="94" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_FixedWriterFactory.java" @@ -1737,6 +1797,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="66" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="66" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_Writer.java" module="default" path="net/sf/flatpack/writer/Writer.java" project="default"> @@ -1746,6 +1808,9 @@ <result date="2007-09-05" statvalue="2" type="checkstyle"/> <result date="2007-09-05" statvalue="100" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="2" type="checkstyle"/> + <result date="2007-09-09" statvalue="100" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_writer_WriterFactory.java" module="default" @@ -1755,6 +1820,8 @@ <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> <result date="2007-09-05" statvalue="100" type="cobertura-line"/> <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="100" type="cobertura-line"/> + <result date="2007-09-09" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_MapParser.java" module="default" path="net/sf/flatpack/xml/MapParser.java" project="default"> @@ -1762,5 +1829,7 @@ <result date="2007-09-04" statvalue="38" type="cobertura-branch"/> <result date="2007-09-05" statvalue="50" type="cobertura-line"/> <result date="2007-09-05" statvalue="38" type="cobertura-branch"/> + <result date="2007-09-09" statvalue="50" type="cobertura-line"/> + <result date="2007-09-09" statvalue="38" type="cobertura-branch"/> </file> </qalab> Modified: trunk/flatpack-samples/.classpath =================================================================== --- trunk/flatpack-samples/.classpath 2007-09-29 16:32:27 UTC (rev 355) +++ trunk/flatpack-samples/.classpath 2007-09-29 21:26:43 UTC (rev 356) @@ -2,7 +2,7 @@ <classpath> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="src" path="src/main/java"/> - <classpathentry kind="var" path="MAVEN_REPO/net.sf.flatpack/jars/flatpack-3.1.0-SNAPSHOT.jar"/> + <classpathentry kind="var" path="MAVEN_REPO/net.sf.flatpack/jars/flatpack-3.1.0.jar"/> <classpathentry kind="var" path="MAVEN_REPO/jdom/jars/jdom-1.0.jar"/> <classpathentry kind="var" path="MAVEN_REPO/jexcelapi/jars/jxl-2.4.2.jar"/> <classpathentry kind="var" path="MAVEN_REPO/org.slf4j/jars/slf4j-api-1.1.0-RC1.jar"/> Modified: trunk/flatpack-samples/qalab.xml =================================================================== --- trunk/flatpack-samples/qalab.xml 2007-09-29 16:32:27 UTC (rev 355) +++ trunk/flatpack-samples/qalab.xml 2007-09-29 21:26:43 UTC (rev 356) @@ -165,6 +165,14 @@ project="default" statvalue="92" type="simian"/> <summaryresult date="2007-09-05" filecount="2" module="default" project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-09-09" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-09-09" filecount="6" module="default" + project="default" statvalue="9" type="findbugs"/> + <summaryresult date="2007-09-09" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-09-09" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> </summary> <file id="default-default-com_pz_reader_examples_numericsanddates_package.html" @@ -386,6 +394,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" @@ -408,6 +417,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" @@ -430,6 +440,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_package.html" @@ -452,6 +463,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" @@ -474,6 +486,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" @@ -496,6 +509,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_package.html" @@ -518,6 +532,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" @@ -540,6 +555,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_package.html" @@ -562,6 +578,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" @@ -584,6 +601,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" @@ -606,6 +624,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_package.html" @@ -628,6 +647,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_package.html" @@ -650,6 +670,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" @@ -672,6 +693,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" @@ -694,6 +716,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" @@ -716,6 +739,7 @@ <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"/> + <result date="2007-09-09" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_Examples.java" @@ -754,6 +778,8 @@ <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"/> + <result date="2007-09-09" statvalue="14" type="checkstyle"/> + <result date="2007-09-09" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" @@ -810,6 +836,9 @@ <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"/> + <result date="2007-09-09" statvalue="7" type="checkstyle"/> + <result date="2007-09-09" statvalue="1" type="findbugs"/> + <result date="2007-09-09" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" @@ -832,6 +861,7 @@ <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"/> + <result date="2007-09-09" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" @@ -878,6 +908,8 @@ <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"/> + <result date="2007-09-09" statvalue="16" type="checkstyle"/> + <result date="2007-09-09" statvalue="1" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" @@ -905,6 +937,7 @@ <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"/> + <result date="2007-09-09" statvalue="5" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" @@ -934,6 +967,7 @@ <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"/> + <result date="2007-09-09" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" @@ -963,6 +997,7 @@ <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"/> + <result date="2007-09-09" statvalue="13" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" @@ -992,6 +1027,7 @@ <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"/> + <result date="2007-09-09" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" @@ -1021,6 +1057,7 @@ <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"/> + <result date="2007-09-09" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" @@ -1050,6 +1087,7 @@ <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"/> + <result date="2007-09-09" statvalue="17" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" @@ -1082,6 +1120,7 @@ <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"/> + <result date="2007-09-09" statvalue="4" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" @@ -1114,6 +1153,7 @@ <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"/> + <result date="2007-09-09" statvalue="3" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" @@ -1153,6 +1193,8 @@ <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"/> + <result date="2007-09-09" statvalue="9" type="checkstyle"/> + <result date="2007-09-09" statvalue="2" type="findbugs"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" @@ -1209,6 +1251,9 @@ <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"/> + <result date="2007-09-09" statvalue="5" type="checkstyle"/> + <result date="2007-09-09" statvalue="2" type="findbugs"/> + <result date="2007-09-09" statvalue="1" type="pmd"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" @@ -1238,6 +1283,7 @@ <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"/> + <result date="2007-09-09" statvalue="4" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" @@ -1267,6 +1313,7 @@ <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"/> + <result date="2007-09-09" statvalue="6" type="checkstyle"/> </file> <file id="default-default-net_sf_pzfilereader_examples_ConsoleMenu.java" @@ -1289,5 +1336,6 @@ <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"/> + <result date="2007-09-09" statvalue="2" type="findbugs"/> </file> </qalab> Modified: trunk/src/site/changes.xml =================================================================== --- trunk/src/site/changes.xml 2007-09-29 16:32:27 UTC (rev 355) +++ trunk/src/site/changes.xml 2007-09-29 21:26:43 UTC (rev 356) @@ -7,7 +7,7 @@ <title>Changes</title> </properties> <body> - <release version="3.1.0-SNAPSHOT" date="in svn" description="NAME CHANGE"> + <release version="3.1.0" date="2007-09-10" description="Name and structure change and new writers"> <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 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-09-29 16:32:25
|
Revision: 355 http://flatpack.svn.sourceforge.net/flatpack/?rev=355&view=rev Author: zepernick Date: 2007-09-29 09:32:27 -0700 (Sat, 29 Sep 2007) Log Message: ----------- updated docs. Only TODO is docs for writer Modified Paths: -------------- trunk/src/site/documentation/flatpack-manual.doc trunk/src/site/documentation/flatpack-manual.pdf Modified: trunk/src/site/documentation/flatpack-manual.doc =================================================================== (Binary files differ) Modified: trunk/src/site/documentation/flatpack-manual.pdf =================================================================== --- trunk/src/site/documentation/flatpack-manual.pdf 2007-09-29 15:12:39 UTC (rev 354) +++ trunk/src/site/documentation/flatpack-manual.pdf 2007-09-29 16:32:27 UTC (rev 355) @@ -1,1231 +1,802 @@ -%PDF-1.4 -%\xC7쏢 -5 0 obj -<</Length 6 0 R/Filter /FlateDecode>> -stream -x\x9C\xED]Ys\xC9߶창\xFF`\xDE\xDC\xED\xF0u~\xDB5\xB0,!\x96k\xC3\x83@\xC7" - `\xFE\x88\xAF\xB3\xAA\x8Fʞ\xA9\x91z\x84FS=\xD3Kl\x90\xF4\xD4\xD5U\xD9\xF9\xE5UUo'\x940>\xA1\xFEOC\x9E0\xC6U\xF8\x97\xA4t\xA2\x9C#\xCEi\xF8\x9B\x86\x9Fo<4\x93\x9B\xAF\xF7\xEC\xD1\xC9\xD7\xF0\xFF\xF3\xBD\xB7{\x96\xFF_\xA8\x82\xE9\xC3\xD3\xC9WP\xC1N\xA0\xF5\x83g{\xB2ԅ\xDFS31\xD4NN\xF7\x8AIy\xF0\xC3w\x9A8m&S\xAD\x81 -G{\x8F -VN\xA1\x96\xB2V(\xB44N -V\xDC/)ќ *\x8Bg%'B\xDB\xFCn\xA5p\x9Dz\xB6T\x94\xFE\xF7\xE0.\x8C\xC4\xD5#\x9A@G\xD4\xF7Q\xF5=\x95\xDA\xAF9e\x82ت\xEF۾ -\xA6\x8DR\xBA8)\xA7\x9C(\xA1\x9C)\x9ETM\xCAm\xF1>>\xFE\x95\xC6EKA\x982\xD6\xAFZ -\x8F\xF4UY-\x99i\x9Fsj\x8B\xE8yӍИ|\x83J\xFC=L\x82\xA3\xA2\xB8 \xF2Y$O"\xF9$\xDDnI\xBD -AC~WN1R\xAB\xE25\xAA\xF5\xD1gm\x89\xD8\xD6qK\xA1A\xBENVz\x8E\x9E\xCF!\xF0\xC5\xCAB\x8B4\xAFf̰g\x84[\x81a\xBD\x9C\x85\xB2@hʔ\x93\x87_'\x9F\xF5\xE1rF\x93ln\xF8D_\x97?*~\xE6Gj\x95\xA0\xA6\xF8y\xC9\x93\xF0q\xBF(\xA7\x82&8+~YN\x90\x92\xB1\xE2W\xF0\xBBb\xBC\xF3\xF3\xAF\xFD{U\xFC\xC67#\xAC\xA4B\xBFm\xDB\xB0\xC5c\x98I|K\xBA\xF8\xBD\xAF\x9F\x81\xE5\xA8\xE8|?\xC0\xED\xDC\xE0\xE6\x87\x89\x98?\x86jPO+V\xFC1L4s\x8A\xF2\xE2O\xFE\xE5\xCF\xE1)|\xCD\\xA3\xA7_TO\x99\xD3Z@\x93\xFEyB\xC3Ϧ\x85\xC5\xD4Ql\x84vY\xF8\x96\xAF"\xFA-IG\xA8\x8C\xBDX\x83\xBA\xD1\xBE\xA8j\xDD\xE0\xEBҰn\xFE\xAB\xA4DY,\xBAx\xE9'\x91\x81h1\x9E\xF1\xA1J\xF2V9.Mq\xD7\xFCl\xA5\xC0\xFA\x9E\xA9V\xFEۀH[\x9C\xFA\xB6\x94\xA6ֳm\xF8U9\xCF\xCC\xE1W>N \xCC\xC8\xE1\xCBhd\x84\x82m\xFAu\xAA\x98\xA3\x96 \xF7\xF5\xA1m\xE2$\xF7(\x96ŭ=\x8D\x8F\xD1 &%\xF3\x8B\xCE,\xB4\xE5g\xCA2\xDC1*\xBA\xA4]4Q3\\xA2i\xF70\xB6\x80\x87\x8E\xCA\xFEP\xBD\xBE\xE7\xBB\xF1i\x9C\x9E\xBA\xC3%̔&\xDCZ\xC0\xD4mݬaZ\xA6\x87\xF0S95$\xC8\xCBR\x81\xB0\xA1B\xE0I\x91~\xB3\xD8ً\xC0\xE2\Z\xF8>u,\x8F\x9A\xA9\xF1\xC3Z\xB2jOJ |
From: <zep...@us...> - 2007-09-29 15:12:43
|
Revision: 354 http://flatpack.svn.sourceforge.net/flatpack/?rev=354&view=rev Author: zepernick Date: 2007-09-29 08:12:39 -0700 (Sat, 29 Sep 2007) Log Message: ----------- ran eclipse format Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/AbstractParser.java Modified: trunk/flatpack/src/main/java/net/sf/flatpack/AbstractParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/AbstractParser.java 2007-09-28 18:50:36 UTC (rev 353) +++ trunk/flatpack/src/main/java/net/sf/flatpack/AbstractParser.java 2007-09-29 15:12:39 UTC (rev 354) @@ -44,36 +44,45 @@ /** * @author xhensevb * @author zepernick - * + * */ public abstract class AbstractParser implements Parser { private boolean handlingShortLines = false; + private boolean ignoreExtraColumns = false; + private boolean columnNamesCaseSensitive = false; + private boolean initialised = false; + private boolean ignoreParseWarnings = false; + private boolean nullEmptyStrings = false; /** Map of column metadata's */ - // private Map columnMD = null; + // private Map columnMD = null; private MetaData pzMetaData = null; + private String dataDefinition = null; + private Reader dataSourceReader = null; + private List readersToClose = null; protected AbstractParser(final Reader dataSourceReader) { this.dataSourceReader = dataSourceReader; } - protected AbstractParser(final Reader dataSourceReader, final String dataDefinition) { + protected AbstractParser(final Reader dataSourceReader, + final String dataDefinition) { this.dataSourceReader = dataSourceReader; this.dataDefinition = dataDefinition; } /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParser#isHandlingShortLines() */ public boolean isHandlingShortLines() { @@ -82,7 +91,7 @@ /* * (non-Javadoc) - * + * * @see net.sf.flatpack.PZParser#setHandlingShortLines(boolean) */ public void setHandlingShortLines(final boolean handleShortLines) { @@ -111,12 +120,14 @@ /** * @deprecated */ - // protected void setColumnMD(final Map map) { - // columnMD = map; - // } - //this is used for backward compatability. We are instantiating Readers from - //InputStream and File from previous versions. Close out any Readers in the - //readersToClose list. This can be removed after we remove the deprecated methods + // protected void setColumnMD(final Map map) { + // columnMD = map; + // } + // this is used for backward compatability. We are instantiating Readers + // from + // InputStream and File from previous versions. Close out any Readers in the + // readersToClose list. This can be removed after we remove the deprecated + // methods protected void closeReaders() throws IOException { if (readersToClose != null) { final Iterator readersToCloseIt = readersToClose.iterator(); @@ -127,8 +138,9 @@ } } - //adds a reader to the close list. the list will be processed after parsing is - //completed. + // adds a reader to the close list. the list will be processed after parsing + // is + // completed. protected void addToCloseReaderList(final Reader r) { if (readersToClose == null) { readersToClose = new ArrayList(); @@ -138,10 +150,12 @@ protected void addToMetaData(final List columns) { if (pzMetaData == null) { - pzMetaData = new MetaData(columns, ParserUtils.buidColumnIndexMap(columns, this)); + pzMetaData = new MetaData(columns, ParserUtils.buidColumnIndexMap( + columns, this)); } else { pzMetaData.setColumnsNames(columns); - pzMetaData.setColumnIndexMap(ParserUtils.buidColumnIndexMap(columns, this)); + pzMetaData.setColumnIndexMap(ParserUtils.buidColumnIndexMap( + columns, this)); } } @@ -164,7 +178,7 @@ /** * Adds a new error to this DataSet. These can be collected, and retreived * after processing - * + * * @param errorDesc - * String description of error * @param lineNo - @@ -172,9 +186,10 @@ * @param errorLevel - * int errorLevel 1,2,3 1=warning 2=error 3= severe error */ - protected void addError(final DefaultDataSet ds, final String errorDesc, final int lineNo, final int errorLevel) { + protected void addError(final DefaultDataSet ds, final String errorDesc, + final int lineNo, final int errorLevel) { if (errorLevel == 1 && isIgnoreParseWarnings()) { - //user has selected to not log warnings in the parser + // user has selected to not log warnings in the parser return; } final DataError de = new DataError(errorDesc, lineNo, errorLevel); @@ -189,7 +204,8 @@ } /** - * @param dataSourceReader the dataSourceReader to set + * @param dataSourceReader + * the dataSourceReader to set */ protected void setDataSourceReader(final Reader dataSourceReader) { this.dataSourceReader = dataSourceReader; @@ -199,7 +215,8 @@ return columnNamesCaseSensitive; } - public void setColumnNamesCaseSensitive(final boolean columnNamesCaseSensitive) { + public void setColumnNamesCaseSensitive( + final boolean columnNamesCaseSensitive) { this.columnNamesCaseSensitive = columnNamesCaseSensitive; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-09-28 18:50:35
|
Revision: 353 http://flatpack.svn.sourceforge.net/flatpack/?rev=353&view=rev Author: zepernick Date: 2007-09-28 11:50:36 -0700 (Fri, 28 Sep 2007) Log Message: ----------- fixed a couple problems with the examples Modified Paths: -------------- trunk/src/site/index.xml Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2007-09-28 18:44:03 UTC (rev 352) +++ trunk/src/site/index.xml 2007-09-28 18:50:36 UTC (rev 353) @@ -134,7 +134,7 @@ <div class="source"><pre> //Obtain the proper parser for your needs - Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( + Parser parser = DefaultParserFactory.getInstance().newFixedLengthParser( new FileReader("map.pzmap.xml"), //fixed with column map new FileReader("DataFile.txt")); //txt file to parse @@ -153,7 +153,7 @@ <div class="source"><pre> final String msg = "data data2 data3 data4" //Obtain the proper parser for your needs - Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( + Parser parser = DefaultParserFactory.getInstance().newFixedLengthParser( new FileReader("map.pzmap.xml"), //fixed with column map to bind col names new StringReader(mag)); //data to parse This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-09-28 18:44:01
|
Revision: 352 http://flatpack.svn.sourceforge.net/flatpack/?rev=352&view=rev Author: zepernick Date: 2007-09-28 11:44:03 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 3.1 user docs Modified Paths: -------------- trunk/src/site/documentation/flatpack-manual.doc trunk/src/site/documentation/flatpack-manual.pdf Modified: trunk/src/site/documentation/flatpack-manual.doc =================================================================== (Binary files differ) Modified: trunk/src/site/documentation/flatpack-manual.pdf =================================================================== --- trunk/src/site/documentation/flatpack-manual.pdf 2007-09-10 13:30:58 UTC (rev 351) +++ trunk/src/site/documentation/flatpack-manual.pdf 2007-09-28 18:44:03 UTC (rev 352) @@ -1,2307 +1,1231 @@ %PDF-1.4 -%\xC0\xC8\xCC\xD2 -1 0 obj -<< -/Title (r\xF8\xBD) -/Author (mޑ\xE4\xFET\xDAdM\xA4N\x8B\xE98j\xADQs\xF4\xFBRj]) -/Creator (R؝\xC7\xFCC\xE2j]\xFD\(\xB2\xF56$\xB9Oe\xB6\xABzx_\xBF\x9B\xFD \x84\xF0) -/Producer (R؝\xC7\xFCC\xE2j]\xFD\(\xB2\xF56$\xFC&\xA9\xFB6IP\xB0\x9C\xE68\x85_\x99\xBC\xF6\xCD\xDF\xCDK\xB2X \(\xFC\xAF\xB5\x96) -/CreationDate (f\x86ɱ\xAD\xA63\xB59Ѷa0\xF7"\xA9\xFC..) ->> -endobj -4 0 obj -<< -/Filter /FlateDecode -/Length 5 0 R ->> -stream -\xF8\x99-\x82Q\xEA|\xB9[\xB5\xBFz\x80\x93\xF66\xEB\xDEBi\xDCL\xE5 \xDDP\x8D\xF6\xE4\xE2\xA6LD\x9B\xF5/Q\xDE\xC6\xDF;îv휣\x84\x81\xD9G˱e\x92\xF6\xBEe\xAA\x8Egl\xDF˅ 9\xE8\x8F}\xEC\xF1\x9E\xFF\xCBH\xCB%s.\x86\xEA\xA3\xE6>\xB3\xD21_\xA1\xB4\xA3\xFFK]| |
From: <zep...@us...> - 2007-09-10 13:30:56
|
Revision: 351 http://flatpack.svn.sourceforge.net/flatpack/?rev=351&view=rev Author: zepernick Date: 2007-09-10 06:30:58 -0700 (Mon, 10 Sep 2007) Log Message: ----------- - added quick example for fixed width message. - Corrected missed reference to File instead of FileReader Modified Paths: -------------- trunk/src/site/index.xml Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2007-09-10 01:43:00 UTC (rev 350) +++ trunk/src/site/index.xml 2007-09-10 13:30:58 UTC (rev 351) @@ -135,8 +135,8 @@ <div class="source"><pre> //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 + new FileReader("map.pzmap.xml"), //fixed with column map + new FileReader("DataFile.txt")); //txt file to parse //obtain DataSet DataSet ds = parser.parse(); @@ -151,9 +151,18 @@ <subsection name="Reading a Message of Fixed Width"> <div class="source"><pre> + final String msg = "data data2 data3 data4" + //Obtain the proper parser for your needs + Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( + new FileReader("map.pzmap.xml"), //fixed with column map to bind col names + new StringReader(mag)); //data to parse -... coming soon + //obtain DataSet + DataSet ds = parser.parse(); + while (ds.next()){ //loop through file + ds.getString("mycolumnName"); + } </pre></div> </subsection> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-09-10 01:42:57
|
Revision: 350 http://flatpack.svn.sourceforge.net/flatpack/?rev=350&view=rev Author: zepernick Date: 2007-09-09 18:43:00 -0700 (Sun, 09 Sep 2007) Log Message: ----------- fixed javadoc tag Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/util/ExcelTransformer.java Modified: trunk/flatpack/src/main/java/net/sf/flatpack/util/ExcelTransformer.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/util/ExcelTransformer.java 2007-09-10 01:37:31 UTC (rev 349) +++ trunk/flatpack/src/main/java/net/sf/flatpack/util/ExcelTransformer.java 2007-09-10 01:43:00 UTC (rev 350) @@ -64,7 +64,7 @@ * Writes the Excel file to disk * * @throws IOException - * @thorws WriteException + * @throws WriteException */ public void writeExcelFile() throws IOException, WriteException { WritableWorkbook excelWrkBook = null; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-09-10 01:37:28
|
Revision: 349 http://flatpack.svn.sourceforge.net/flatpack/?rev=349&view=rev Author: zepernick Date: 2007-09-09 18:37:31 -0700 (Sun, 09 Sep 2007) Log Message: ----------- checkstyle fix Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java Modified: trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java 2007-09-10 01:19:52 UTC (rev 348) +++ trunk/flatpack/src/main/java/net/sf/flatpack/AbstractDelimiterParser.java 2007-09-10 01:37:31 UTC (rev 349) @@ -260,27 +260,34 @@ if (qualiFound) { if (chrArry[i] == ' ') { continue; - } else { + }else if (chrArry[i] == delim) { + processingMultiLine = ParserUtils.isMultiLine(chrArry, delim, qual); + break; + } + qualiFound = false; + //tried to replace the code below due to checkstyle error + //} else { // not a space, if this char is the // delimiter, then we have reached the end // of // the record - if (chrArry[i] == delim) { + // if (chrArry[i] == delim) { // processingMultiLine = false; // fix put in, setting to false caused // bug when processing multiple // multi-line // columns on the same record - processingMultiLine = ParserUtils.isMultiLine(chrArry, delim, qual); - break; - } - qualiFound = false; - continue; - } + // processingMultiLine = ParserUtils.isMultiLine(chrArry, delim, qual); + // break; + // } + // qualiFound = false; + // continue; + // } } else if (chrArry[i] == qual) { qualiFound = true; } } + // check to see if we are still in multi line mode, if // so grab the next line if (processingMultiLine) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <zep...@us...> - 2007-09-10 01:19:53
|
Revision: 348 http://flatpack.svn.sourceforge.net/flatpack/?rev=348&view=rev Author: zepernick Date: 2007-09-09 18:19:52 -0700 (Sun, 09 Sep 2007) Log Message: ----------- checkstyle fix Modified Paths: -------------- trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java Modified: trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java 2007-09-05 19:10:14 UTC (rev 347) +++ trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java 2007-09-10 01:19:52 UTC (rev 348) @@ -25,8 +25,8 @@ * @since 2.0 */ public static boolean isBlank(final String str) { - int strLen; - if (str == null || (strLen = str.length()) == 0) { + int strLen = str == null ? 0 : str.length(); + if (strLen == 0) { return true; } for (int i = 0; i < strLen; i++) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <be...@us...> - 2007-09-05 19:09:26
|
Revision: 346 http://flatpack.svn.sourceforge.net/flatpack/?rev=346&view=rev Author: benoitx Date: 2007-09-05 12:09:25 -0700 (Wed, 05 Sep 2007) Log Message: ----------- The writer package will let you EXPORT a DataSet in a fixed length or Delimited (csv, etc) format. Thanks to Dirk and Holger from MuleSource. Modified Paths: -------------- trunk/flatpack/project.xml trunk/flatpack/qalab.xml trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java trunk/flatpack/src/test/java/net/sf/flatpack/DataSetFunctionalityTest.java Added Paths: ----------- trunk/flatpack/src/main/java/net/sf/flatpack/writer/ trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriter.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriterFactory.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriter.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriterFactory.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedLengthWriter.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedWriterFactory.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/Writer.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/WriterFactory.java trunk/flatpack/src/main/java/net/sf/flatpack/writer/package.html trunk/flatpack/src/test/java/net/sf/flatpack/writer/ trunk/flatpack/src/test/java/net/sf/flatpack/writer/AllTests.java trunk/flatpack/src/test/java/net/sf/flatpack/writer/DelimiterWriterTestCase.java trunk/flatpack/src/test/java/net/sf/flatpack/writer/FixedLengthWriterTestCase.java trunk/flatpack/src/test/java/net/sf/flatpack/writer/PZWriterTestCase.java trunk/flatpack/src/test/java/net/sf/flatpack/writer/RoundTripTestCase.java trunk/flatpack/src/test/resources/ trunk/flatpack/src/test/resources/BrokenMapping.pzmap.xml trunk/flatpack/src/test/resources/DelimitedWithHeader.pzmap.xml trunk/flatpack/src/test/resources/FixedLength.pzmap.xml trunk/flatpack/src/test/resources/log4j.properties Modified: trunk/flatpack/project.xml =================================================================== --- trunk/flatpack/project.xml 2007-09-05 17:18:20 UTC (rev 345) +++ trunk/flatpack/project.xml 2007-09-05 19:09:25 UTC (rev 346) @@ -77,11 +77,20 @@ <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory> <unitTest> <includes> - <include>**/*Test.java</include> + <include>**/*Test?.java</include> </includes> <excludes> <exclude>**/Abstract*.java</exclude> </excludes> + <resources> + <resource> + <directory>src/test/resources</directory> + <includes> + <include>**/*.xml</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> </unitTest> <resources> <resource> Modified: trunk/flatpack/qalab.xml =================================================================== --- trunk/flatpack/qalab.xml 2007-09-05 17:18:20 UTC (rev 345) +++ trunk/flatpack/qalab.xml 2007-09-05 19:09:25 UTC (rev 346) @@ -277,6 +277,22 @@ project="default" statvalue="29" type="cobertura-line"/> <summaryresult date="2007-08-30" filecount="37" module="default" project="default" statvalue="32" type="cobertura-branch"/> + <summaryresult date="2007-09-04" filecount="53" module="default" + project="default" statvalue="47" type="checkstyle"/> + <summaryresult date="2007-09-04" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-09-04" filecount="45" module="default" + project="default" statvalue="31" type="cobertura-line"/> + <summaryresult date="2007-09-04" filecount="45" module="default" + project="default" statvalue="23" type="cobertura-branch"/> + <summaryresult date="2007-09-05" filecount="53" module="default" + project="default" statvalue="13" type="checkstyle"/> + <summaryresult date="2007-09-05" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-09-05" filecount="45" module="default" + project="default" statvalue="31" type="cobertura-line"/> + <summaryresult date="2007-09-05" filecount="45" module="default" + project="default" statvalue="23" type="cobertura-branch"/> </summary> <file id="default-default-com_pz_reader_ordering_package.html" module="default" path="com/pz/reader/ordering/package.html" project="default"> @@ -611,6 +627,8 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="45" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DataSet.java" module="default" path="net/sf/flatpack/DataSet.java" project="default"> @@ -674,6 +692,10 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_LargeDataSet.java" module="default" path="net/sf/flatpack/LargeDataSet.java" project="default"> @@ -768,6 +790,12 @@ <result date="2007-08-30" statvalue="6" type="checkstyle"/> <result date="2007-08-30" statvalue="45" type="cobertura-line"/> <result date="2007-08-30" statvalue="50" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="6" type="checkstyle"/> + <result date="2007-09-04" statvalue="28" type="cobertura-line"/> + <result date="2007-09-04" statvalue="25" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="6" type="checkstyle"/> + <result date="2007-09-05" statvalue="28" type="cobertura-line"/> + <result date="2007-09-05" statvalue="25" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_PZMapParser.java" module="default" path="net/sf/flatpack/xml/PZMapParser.java" project="default"> @@ -802,6 +830,10 @@ <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"/> + <result date="2007-09-04" statvalue="71" type="cobertura-line"/> + <result date="2007-09-04" statvalue="50" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="71" type="cobertura-line"/> + <result date="2007-09-05" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_structure_Row.java" module="default" path="net/sf/flatpack/structure/Row.java" project="default"> @@ -830,6 +862,8 @@ <result date="2007-08-20" statvalue="54" type="cobertura-line"/> <result date="2007-08-21" statvalue="54" type="cobertura-line"/> <result date="2007-08-30" statvalue="54" type="cobertura-line"/> + <result date="2007-09-04" statvalue="45" type="cobertura-line"/> + <result date="2007-09-05" statvalue="45" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_structure_ColumnMetaData.java" @@ -869,6 +903,10 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="54" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="54" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="54" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Version.java" module="default" path="net/sf/flatpack/Version.java" project="default"> @@ -889,6 +927,8 @@ <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_XMLRecordElement.java" module="default" @@ -899,6 +939,8 @@ <result date="2007-06-30" statvalue="1" type="checkstyle"/> <result date="2007-08-17" statvalue="1" type="checkstyle"/> <result date="2007-08-20" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="54" type="cobertura-line"/> + <result date="2007-09-05" statvalue="54" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_util_PZConstants.java" module="default" path="net/sf/flatpack/util/PZConstants.java" project="default"> @@ -1017,6 +1059,8 @@ <result date="2007-08-20" statvalue="2" type="checkstyle"/> <result date="2007-08-21" statvalue="2" type="checkstyle"/> <result date="2007-08-30" statvalue="2" type="checkstyle"/> + <result date="2007-09-04" statvalue="2" type="checkstyle"/> + <result date="2007-09-05" statvalue="2" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_util_FixedWidthParserUtils.java" @@ -1134,6 +1178,10 @@ <result date="2007-08-21" statvalue="28" type="cobertura-branch"/> <result date="2007-08-30" statvalue="34" type="cobertura-line"/> <result date="2007-08-30" statvalue="28" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="19" type="cobertura-line"/> + <result date="2007-09-04" statvalue="5" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="19" type="cobertura-line"/> + <result date="2007-09-05" statvalue="5" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultPZParserFactory.java" @@ -1211,6 +1259,10 @@ <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="25" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="25" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_package.html" module="default" path="net/sf/flatpack/converter/package.html" project="default"> @@ -1262,6 +1314,8 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_PZConvertException.java" @@ -1329,6 +1383,8 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_ConvertInteger.java" @@ -1356,6 +1412,8 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderPZParseFactory.java" @@ -1417,6 +1475,12 @@ <result date="2007-08-30" statvalue="2" type="checkstyle"/> <result date="2007-08-30" statvalue="59" type="cobertura-line"/> <result date="2007-08-30" statvalue="46" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="2" type="checkstyle"/> + <result date="2007-09-04" statvalue="55" type="cobertura-line"/> + <result date="2007-09-04" statvalue="40" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="2" type="checkstyle"/> + <result date="2007-09-05" statvalue="55" type="cobertura-line"/> + <result date="2007-09-05" statvalue="40" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPStringUtils.java" module="default" path="net/sf/flatpack/util/FPStringUtils.java" project="default"> @@ -1435,6 +1499,8 @@ <result date="2007-08-30" statvalue="2" type="checkstyle"/> <result date="2007-08-30" statvalue="22" type="cobertura-line"/> <result date="2007-08-30" statvalue="20" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="2" type="checkstyle"/> + <result date="2007-09-05" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_xml_MetaData.java" module="default" path="net/sf/flatpack/xml/MetaData.java" project="default"> @@ -1452,6 +1518,10 @@ <result date="2007-08-21" statvalue="31" type="cobertura-branch"/> <result date="2007-08-30" statvalue="36" type="cobertura-line"/> <result date="2007-08-30" statvalue="31" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="16" type="cobertura-line"/> + <result date="2007-09-04" statvalue="6" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="16" type="cobertura-line"/> + <result date="2007-09-05" statvalue="6" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_AbstractParser.java" module="default" path="net/sf/flatpack/AbstractParser.java" project="default"> @@ -1465,6 +1535,10 @@ <result date="2007-08-21" statvalue="64" type="cobertura-branch"/> <result date="2007-08-30" statvalue="76" type="cobertura-line"/> <result date="2007-08-30" statvalue="64" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="55" type="cobertura-line"/> + <result date="2007-09-04" statvalue="35" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="55" type="cobertura-line"/> + <result date="2007-09-05" statvalue="35" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultParserFactory.java" module="default" @@ -1479,6 +1553,10 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="29" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="23" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="23" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DelimiterParser.java" module="default" path="net/sf/flatpack/DelimiterParser.java" project="default"> @@ -1492,6 +1570,10 @@ <result date="2007-08-21" statvalue="50" type="cobertura-branch"/> <result date="2007-08-30" statvalue="42" type="cobertura-line"/> <result date="2007-08-30" statvalue="50" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="38" type="cobertura-line"/> + <result date="2007-09-04" statvalue="42" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="38" type="cobertura-line"/> + <result date="2007-09-05" statvalue="42" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Parser.java" module="default" path="net/sf/flatpack/Parser.java" project="default"> @@ -1505,6 +1587,10 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_ParserFactory.java" module="default" path="net/sf/flatpack/ParserFactory.java" project="default"> @@ -1520,6 +1606,10 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_Converter.java" module="default" path="net/sf/flatpack/converter/Converter.java" project="default"> @@ -1533,6 +1623,10 @@ <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-line"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderParseFactory.java" @@ -1543,6 +1637,8 @@ <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_FPConvertException.java" @@ -1553,6 +1649,8 @@ <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPConstants.java" module="default" path="net/sf/flatpack/util/FPConstants.java" project="default"> @@ -1561,6 +1659,8 @@ <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_columninfile_DelimitedColumnNamesInFileTest.java" @@ -1574,4 +1674,93 @@ id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_pzparser_PZParserOptsTest.java" module="default" path="C:/project/flatpack/flatpack/src/test/java/net/sf/flatpack/pzparser/PZParserOptsTest.java" project="default"/> + <file id="default-default-net_sf_flatpack_writer_package.html" + module="default" path="net/sf/flatpack/writer/package.html" project="default"> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + </file> + <file + id="default-default-net_sf_flatpack_writer_AbstractWriter.java" + module="default" + path="net/sf/flatpack/writer/AbstractWriter.java" project="default"> + <result date="2007-09-04" statvalue="2" type="checkstyle"/> + <result date="2007-09-04" statvalue="84" type="cobertura-line"/> + <result date="2007-09-04" statvalue="83" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="84" type="cobertura-line"/> + <result date="2007-09-05" statvalue="83" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_flatpack_writer_AbstractWriterFactory.java" + module="default" + path="net/sf/flatpack/writer/AbstractWriterFactory.java" project="default"> + <result date="2007-09-04" statvalue="2" type="checkstyle"/> + <result date="2007-09-04" statvalue="100" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_flatpack_writer_DelimiterWriter.java" + module="default" + path="net/sf/flatpack/writer/DelimiterWriter.java" project="default"> + <result date="2007-09-04" statvalue="5" type="checkstyle"/> + <result date="2007-09-04" statvalue="89" type="cobertura-line"/> + <result date="2007-09-04" statvalue="90" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="89" type="cobertura-line"/> + <result date="2007-09-05" statvalue="90" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_flatpack_writer_DelimiterWriterFactory.java" + module="default" + path="net/sf/flatpack/writer/DelimiterWriterFactory.java" project="default"> + <result date="2007-09-04" statvalue="14" type="checkstyle"/> + <result date="2007-09-04" statvalue="75" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="75" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_flatpack_writer_FixedLengthWriter.java" + module="default" + path="net/sf/flatpack/writer/FixedLengthWriter.java" project="default"> + <result date="2007-09-04" statvalue="4" type="checkstyle"/> + <result date="2007-09-04" statvalue="93" type="cobertura-line"/> + <result date="2007-09-04" statvalue="94" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="93" type="cobertura-line"/> + <result date="2007-09-05" statvalue="94" type="cobertura-branch"/> + </file> + <file + id="default-default-net_sf_flatpack_writer_FixedWriterFactory.java" + module="default" + path="net/sf/flatpack/writer/FixedWriterFactory.java" project="default"> + <result date="2007-09-04" statvalue="4" type="checkstyle"/> + <result date="2007-09-04" statvalue="66" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="66" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + </file> + <file id="default-default-net_sf_flatpack_writer_Writer.java" + module="default" path="net/sf/flatpack/writer/Writer.java" project="default"> + <result date="2007-09-04" statvalue="2" type="checkstyle"/> + <result date="2007-09-04" statvalue="100" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="2" type="checkstyle"/> + <result date="2007-09-05" statvalue="100" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + </file> + <file id="default-default-net_sf_flatpack_writer_WriterFactory.java" + module="default" + path="net/sf/flatpack/writer/WriterFactory.java" project="default"> + <result date="2007-09-04" statvalue="1" type="checkstyle"/> + <result date="2007-09-04" statvalue="100" type="cobertura-line"/> + <result date="2007-09-04" statvalue="100" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="100" type="cobertura-line"/> + <result date="2007-09-05" statvalue="100" type="cobertura-branch"/> + </file> + <file id="default-default-net_sf_flatpack_xml_MapParser.java" + module="default" path="net/sf/flatpack/xml/MapParser.java" project="default"> + <result date="2007-09-04" statvalue="50" type="cobertura-line"/> + <result date="2007-09-04" statvalue="38" type="cobertura-branch"/> + <result date="2007-09-05" statvalue="50" type="cobertura-line"/> + <result date="2007-09-05" statvalue="38" type="cobertura-branch"/> + </file> </qalab> Modified: trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java 2007-09-05 17:18:20 UTC (rev 345) +++ trunk/flatpack/src/main/java/net/sf/flatpack/DefaultDataSet.java 2007-09-05 19:09:25 UTC (rev 346) @@ -478,7 +478,7 @@ return buf.toString(); } - public boolean contains(String column) { + public boolean contains(final String column) { if (pointer == -1) { throw new IndexOutOfBoundsException("dataset on invalid row. need to call next()"); } Modified: trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java 2007-09-05 17:18:20 UTC (rev 345) +++ trunk/flatpack/src/main/java/net/sf/flatpack/util/FPStringUtils.java 2007-09-05 19:09:25 UTC (rev 346) @@ -30,7 +30,7 @@ return true; } for (int i = 0; i < strLen; i++) { - if ((Character.isWhitespace(str.charAt(i)) == false)) { + if (!Character.isWhitespace(str.charAt(i))) { return false; } } Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriter.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriter.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriter.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,84 @@ +package net.sf.flatpack.writer; + +import java.io.BufferedWriter; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +/** + * This class encapsulates the writer that's used to output the data. + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public abstract class AbstractWriter extends Object implements Writer { + private BufferedWriter writer; + private Map rowMap; + + public AbstractWriter(final java.io.Writer output) { + super(); + writer = new BufferedWriter(output); + } + + public void addRecordEntry(final String columnName, final Object value) { + if (rowMap == null) { + rowMap = new HashMap(); + } + + if (!validateColumnTitle(columnName)) { + throw new IllegalArgumentException("unknown column: \"" + columnName + "\""); + } + rowMap.put(columnName, value); + } + + /** + * Subclasses must implement this method to perform validation of + * <code>columnTitle</code>. + * + * @param columnTitle title of the column to be filled + * @return <code>true</code> if the column title is valid else return + * <code>false</code>. + */ + protected abstract boolean validateColumnTitle(String columnTitle); + + /** + * Writes a newline to the output and discards the <code>rowMap</code>. + * <p> + * This method must be overridden by subclasses to write out the record data + * stored in <code>rowMap</code>. Overriders <b>must</b> call + * <code>super.nextRecord()</code> as the last call in their implementation. + */ + public void nextRecord() throws IOException { + // the row should have been written out by the subclass so it's safe to + // discard it here + rowMap = null; + writer.newLine(); + } + + protected void write(Object value) throws IOException { + if (value == null) { + value = ""; + } + // TODO DO: converter/formatter for converting value to string? + writer.write(value.toString()); + } + + protected void write(final char character) throws IOException { + writer.write(character); + } + + protected void write(final char[] characters) throws IOException { + writer.write(characters); + } + + public void flush() throws IOException { + writer.flush(); + } + + public void close() throws IOException { + writer.flush(); + writer.close(); + } + + protected Map getRowMap() { + return rowMap; + } +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriterFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriterFactory.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/AbstractWriterFactory.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,53 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; +import java.io.Reader; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; + +import net.sf.flatpack.InitialisationException; +import net.sf.flatpack.util.FPConstants; +import net.sf.flatpack.xml.MapParser; + +import org.jdom.JDOMException; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public abstract class AbstractWriterFactory extends Object implements WriterFactory { + private Map mapping; + + protected AbstractWriterFactory() { + super(); + + mapping = new HashMap(); + mapping.put(FPConstants.DETAIL_ID, new ArrayList()); + mapping.put(FPConstants.COL_IDX, new HashMap()); + } + + protected AbstractWriterFactory(final Map mapping) { + super(); + this.mapping = mapping; + } + + protected AbstractWriterFactory(final Reader mappingSrc) throws IOException { + this(); + + try { + mapping = MapParser.parse(mappingSrc, null); + } catch (final JDOMException jde) { + throw new InitialisationException(jde); + } + } + + protected Map getColumnMapping() { + // TODO DO: return deep mutable clone here or better: make the Map a first class + // citizen of the library + return Collections.unmodifiableMap(mapping); + } + + public abstract Writer createWriter(java.io.Writer out) throws IOException; +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriter.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriter.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriter.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,118 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.Map; + +import net.sf.flatpack.structure.ColumnMetaData; +import net.sf.flatpack.util.FPConstants; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public class DelimiterWriter extends AbstractWriter { + private char delimiter; + private char qualifier; + private List columnTitles = null; + private boolean columnTitlesWritten = false; + + protected DelimiterWriter(final Map columnMapping, final java.io.Writer output, final char delimiter, final char qualifier) throws IOException { + super(output); + this.delimiter = delimiter; + this.qualifier = qualifier; + + columnTitles = new ArrayList(); + final List columns = (List) columnMapping.get(FPConstants.DETAIL_ID); + final Iterator columnIter = columns.iterator(); + while (columnIter.hasNext()) { + final ColumnMetaData element = (ColumnMetaData) columnIter.next(); + columnTitles.add(element.getColName()); + } + // write the column headers + this.nextRecord(); + } + + protected void writeWithDelimiter(final Object value) throws IOException { + this.write(value); + this.write(delimiter); + } + + protected void write(final Object value) throws IOException { + String stringValue = ""; + + if (value != null) { + // TODO DO: format the value + stringValue = value.toString(); + } + + final boolean needsQuoting = (stringValue.indexOf(delimiter) != -1); + + if (needsQuoting) { + super.write(qualifier); + } + + super.write(stringValue); + + if (needsQuoting) { + super.write(qualifier); + } + } + + protected void addColumnTitle(final String string) { + if (string == null) { + throw new IllegalArgumentException("column title may not be null"); + } + columnTitles.add(string); + } + + protected void writeColumnTitles() throws IOException { + final Iterator titleIter = columnTitles.iterator(); + while (titleIter.hasNext()) { + final String title = (String) titleIter.next(); + + if (titleIter.hasNext()) { + this.writeWithDelimiter(title); + } else { + this.write(title); + } + } + } + + protected void writeRow() throws IOException { + final Iterator titlesIter = columnTitles.iterator(); + while (titlesIter.hasNext()) { + final String columnTitle = (String) titlesIter.next(); + if (titlesIter.hasNext()) { + this.writeWithDelimiter(this.getRowMap().get(columnTitle)); + } else { + this.write(this.getRowMap().get(columnTitle)); + } + } + } + + public void nextRecord() throws IOException { + if (!columnTitlesWritten) { + this.writeColumnTitles(); + columnTitlesWritten = true; + } else { + this.writeRow(); + } + + super.nextRecord(); + } + + public void printFooter() { + // TODO DO: implement footer handling + } + + public void printHeader() { + // TODO DO: implement header handling + } + + protected boolean validateColumnTitle(final String columnTitle) { + return columnTitles.contains(columnTitle); + } +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriterFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriterFactory.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/DelimiterWriterFactory.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,83 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; +import java.io.Reader; +import java.util.List; +import java.util.Map; + +import net.sf.flatpack.structure.ColumnMetaData; +import net.sf.flatpack.util.FPConstants; + +import org.jdom.JDOMException; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public class DelimiterWriterFactory extends AbstractWriterFactory { + public static final char DEFAULT_DELIMITER = ';'; + public static final char DEFAULT_QUALIFIER = '"'; + + private final char delimiter; + private final char qualifier; + + public DelimiterWriterFactory(final char delimiter, final char qualifier) { + super(); + this.delimiter = delimiter; + this.qualifier = qualifier; + } + + public DelimiterWriterFactory(final Reader mappingSrc) throws IOException, JDOMException { + this(mappingSrc, DEFAULT_DELIMITER); + } + + public DelimiterWriterFactory(final Reader mappingSrc, final char delimiter) throws IOException, JDOMException { + this(mappingSrc, delimiter, DEFAULT_QUALIFIER); + } + + public DelimiterWriterFactory(final Reader mappingSrc, final char delimiter, final char qualifier) throws IOException { + super(mappingSrc); + this.delimiter = delimiter; + this.qualifier = qualifier; + } + + public DelimiterWriterFactory(final Map mapping) { + this(mapping, DEFAULT_DELIMITER, DEFAULT_QUALIFIER); + } + + public DelimiterWriterFactory(final Map mapping, final char delimiter) { + this(mapping, delimiter, DEFAULT_QUALIFIER); + } + + public DelimiterWriterFactory(final Map mapping, final char delimiter, final char qualifier) { + super(mapping); + this.delimiter = delimiter; + this.qualifier = qualifier; + } + + public char getDelimiter() { + return delimiter; + } + + public char getQualifier() { + return qualifier; + } + + public Writer createWriter(final java.io.Writer out) throws IOException { + return new DelimiterWriter(this.getColumnMapping(), out, delimiter, qualifier); + } + + // TODO DO: check that no column titles can be added after first nextRecord + public void addColumnTitle(final String columnTitle) { + final Map columnMapping = this.getColumnMapping(); + final List columnMetaDatas = (List) columnMapping.get(FPConstants.DETAIL_ID); + final Map columnIndices = (Map) columnMapping.get(FPConstants.COL_IDX); + + final ColumnMetaData metaData = new ColumnMetaData(); + metaData.setColName(columnTitle); + columnMetaDatas.add(metaData); + + final Integer columnIndex = new Integer(columnMetaDatas.indexOf(metaData)); + columnIndices.put(columnIndex, columnTitle); + } +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedLengthWriter.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedLengthWriter.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedLengthWriter.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,120 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; +import java.util.Arrays; +import java.util.Iterator; +import java.util.List; +import java.util.Map; + +import net.sf.flatpack.structure.ColumnMetaData; +import net.sf.flatpack.util.FPConstants; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public class FixedLengthWriter extends AbstractWriter { + private static final int MAX_CHAR_TO_USE_LOOP = 8; + private final Map columnMapping; + private final char padChar; + + protected FixedLengthWriter(final Map parsedMapping, final java.io.Writer output, final char padChar) throws IOException { + super(output); + this.columnMapping = parsedMapping; + this.padChar = padChar; + } + + public void addRecordEntry(final String columnName, final Object value) { + if (value != null) { + final ColumnMetaData metaData = this.getColumnMetaData(columnName); + + final String valueString = value.toString(); + if (valueString.length() > metaData.getColLength()) { + throw new IllegalArgumentException(valueString + " exceeds the maximum length for column " + columnName + "(" + + metaData.getColLength() + ")"); + } + } + super.addRecordEntry(columnName, value); + } + + public void nextRecord() throws IOException { + final Iterator columnIter = this.getColumnMetaData().iterator(); + while (columnIter.hasNext()) { + final ColumnMetaData element = (ColumnMetaData) columnIter.next(); + final Object value = this.getRowMap().get(element.getColName()); + this.write(this.formattedValue(value, element)); + } + + super.nextRecord(); + } + + protected char[] formattedValue(Object value, final ColumnMetaData element) { + if (value == null) { + // TODO DO: maybe have a way to substitute default values here? + value = ""; + } + + // TODO DO: add formatting of values + final String stringValue = value.toString(); + final int stringLength = stringValue.length(); + + final int columnLength = element.getColLength(); + final char[] formattedValue = new char[columnLength]; + + /* + * Copy the contents of the original string; for Strings up to ~8-10 + * characters this loop is consistently faster than String.getChars(). Short + * Strings are usually the majority of values in fixed-width data columns. + */ + final int numCharacters = Math.min(stringLength, columnLength); + if (numCharacters < MAX_CHAR_TO_USE_LOOP) { + for (int i = 0; i < numCharacters; i++) { + formattedValue[i] = stringValue.charAt(i); + } + } else { + stringValue.getChars(0, numCharacters, formattedValue, 0); + } + + if (stringLength < columnLength) { + // pad if necessary + Arrays.fill(formattedValue, stringLength, columnLength, padChar); + } + + return formattedValue; + } + + protected boolean validateColumnTitle(final String columnTitle) { + final Map columnNameToIndex = (Map) columnMapping.get(FPConstants.COL_IDX); + return columnNameToIndex.keySet().contains(columnTitle); + } + + public void printFooter() { + // TODO DO: implement footer handling + + } + + public void printHeader() { + // TODO DO: implement header handling + + } + + /** + * @return List of ColumnMetaData objects describing the mapping defined in the + * XML file. + */ + private List getColumnMetaData() { + return (List) columnMapping.get(FPConstants.DETAIL_ID); + } + + private ColumnMetaData getColumnMetaData(final String columnName) { + final Iterator metaDataIter = this.getColumnMetaData().iterator(); + while (metaDataIter.hasNext()) { + final ColumnMetaData element = (ColumnMetaData) metaDataIter.next(); + if (element.getColName().equals(columnName)) { + return element; + } + } + + throw new IllegalArgumentException("Column \"" + columnName + "\" unknown"); + } +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedWriterFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedWriterFactory.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/FixedWriterFactory.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,35 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; +import java.io.Reader; +import java.util.Map; + +import org.jdom.JDOMException; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public class FixedWriterFactory extends AbstractWriterFactory { + public static final char DEFAULT_PADDING_CHARACTER = ' '; + + private final char pad; + + public FixedWriterFactory(final Map mapping) { + super(mapping); + this.pad = DEFAULT_PADDING_CHARACTER; + } + + public FixedWriterFactory(final Reader mappingSrc) throws IOException, JDOMException { + this(mappingSrc, DEFAULT_PADDING_CHARACTER); + } + + public FixedWriterFactory(final Reader mappingSrc, final char fillChar) throws IOException { + super(mappingSrc); + this.pad = fillChar; + } + + public Writer createWriter(final java.io.Writer output) throws IOException { + return new FixedLengthWriter(this.getColumnMapping(), output, pad); + } +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/Writer.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/Writer.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/Writer.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,23 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public interface Writer { + /** put writer into header mode. TODO: how to handle multiple header lines? */ + void printHeader(); + + /** put writer into footer mode. TODO: how to handle multiple footer lines? */ + void printFooter(); + + void addRecordEntry(String columnName, Object value); + + void nextRecord() throws IOException; + + void flush() throws IOException; + + void close() throws IOException; +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/WriterFactory.java =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/WriterFactory.java (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/WriterFactory.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,11 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public interface WriterFactory { + Writer createWriter(java.io.Writer out) throws IOException; +} Added: trunk/flatpack/src/main/java/net/sf/flatpack/writer/package.html =================================================================== --- trunk/flatpack/src/main/java/net/sf/flatpack/writer/package.html (rev 0) +++ trunk/flatpack/src/main/java/net/sf/flatpack/writer/package.html 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,25 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>net.sf.flatpack.util package</title> + <!-- + Copyright 2006 Paul Zepernick and ObjectLab + + 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. + + --> + </head> + <body bgcolor="white"> + Provides some Writers to export a DataSet to a fixed length or delimited format. Thanks to Dirk and Holger from MuleSource for the + initial contribution. + </body> +</html> \ No newline at end of file Modified: trunk/flatpack/src/test/java/net/sf/flatpack/DataSetFunctionalityTest.java =================================================================== --- trunk/flatpack/src/test/java/net/sf/flatpack/DataSetFunctionalityTest.java 2007-09-05 17:18:20 UTC (rev 345) +++ trunk/flatpack/src/test/java/net/sf/flatpack/DataSetFunctionalityTest.java 2007-09-05 19:09:25 UTC (rev 346) @@ -15,7 +15,7 @@ public void testContains() { DataSet ds; final String cols = "column1,column2,column3\r\n value1,value2,value3"; - Parser p = DefaultParserFactory.getInstance().newDelimitedParser(new StringReader(cols), ',', FPConstants.NO_QUALIFIER); + final Parser p = DefaultParserFactory.getInstance().newDelimitedParser(new StringReader(cols), ',', FPConstants.NO_QUALIFIER); ds = p.parse(); ds.next(); assertEquals("column should NOT be found...", false, ds.contains("shouldnotcontain")); Added: trunk/flatpack/src/test/java/net/sf/flatpack/writer/AllTests.java =================================================================== --- trunk/flatpack/src/test/java/net/sf/flatpack/writer/AllTests.java (rev 0) +++ trunk/flatpack/src/test/java/net/sf/flatpack/writer/AllTests.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,21 @@ +package net.sf.flatpack.writer; + +import junit.framework.Test; +import junit.framework.TestSuite; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public class AllTests { + + public static Test suite() { + final TestSuite suite = new TestSuite("Test for net.sf.flatpack.writer"); + //$JUnit-BEGIN$ + suite.addTestSuite(DelimiterWriterTestCase.class); + suite.addTestSuite(FixedLengthWriterTestCase.class); + //$JUnit-END$ + return suite; + } + +} Added: trunk/flatpack/src/test/java/net/sf/flatpack/writer/DelimiterWriterTestCase.java =================================================================== --- trunk/flatpack/src/test/java/net/sf/flatpack/writer/DelimiterWriterTestCase.java (rev 0) +++ trunk/flatpack/src/test/java/net/sf/flatpack/writer/DelimiterWriterTestCase.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,120 @@ +package net.sf.flatpack.writer; + +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; +import java.io.StringWriter; +import java.util.Map; + +import junit.framework.Assert; + +import net.sf.flatpack.writer.DelimiterWriterFactory; +import net.sf.flatpack.writer.Writer; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public class DelimiterWriterTestCase extends PZWriterTestCase { + public void testWriteCsvNoMappingFile() throws Exception { + final StringWriter out = new StringWriter(); + + final DelimiterWriterFactory factory = new DelimiterWriterFactory(';', '"'); + factory.addColumnTitle("FIRSTNAME"); + factory.addColumnTitle("LASTNAME"); + factory.addColumnTitle("ADDRESS"); + factory.addColumnTitle("CITY"); + factory.addColumnTitle("STATE"); + factory.addColumnTitle("ZIP"); + + final Writer writer = factory.createWriter(out); + // write one line of data ... not in the correct order of fields + writer.addRecordEntry("LASTNAME", "ANAME"); + writer.addRecordEntry("FIRSTNAME", "JOHN"); + writer.addRecordEntry("ZIP", "44035"); + writer.addRecordEntry("CITY", "ELYRIA"); + writer.addRecordEntry("STATE", "OH"); + writer.addRecordEntry("ADDRESS", "1234 CIRCLE CT"); + writer.nextRecord(); + writer.flush(); + + // make sure the tests work on Windows and on Linux + final String expected = this.joinLines("FIRSTNAME;LASTNAME;ADDRESS;CITY;STATE;ZIP", "JOHN;ANAME;1234 CIRCLE CT;ELYRIA;OH;44035"); + + Assert.assertEquals(expected, out.toString()); + } + + public void testWriteCsvWithMappingFile() throws Exception { + final InputStream mapping = this.getClass().getClassLoader().getResourceAsStream("DelimitedWithHeader.pzmap.xml"); + final Reader mappingReader = new InputStreamReader(mapping); + final StringWriter out = new StringWriter(); + + final Writer writer = new DelimiterWriterFactory(mappingReader, ';', '"').createWriter(out); + writer.addRecordEntry("LASTNAME", "ANAME"); + writer.addRecordEntry("FIRSTNAME", "JOHN"); + writer.addRecordEntry("ZIP", "44035"); + writer.addRecordEntry("CITY", "ELYRIA"); + writer.addRecordEntry("STATE", "OH"); + writer.addRecordEntry("ADDRESS", "1234 CIRCLE CT"); + writer.nextRecord(); + writer.flush(); + + final String expected = this.joinLines("FIRSTNAME;LASTNAME;ADDRESS;CITY;STATE;ZIP", "JOHN;ANAME;1234 CIRCLE CT;ELYRIA;OH;44035"); + + Assert.assertEquals(expected, out.toString()); + } + + public void testWriteCsvWithMissingColumns() throws Exception { + final InputStream mapping = this.getClass().getClassLoader().getResourceAsStream("DelimitedWithHeader.pzmap.xml"); + final InputStreamReader mappingReader = new InputStreamReader(mapping); + final StringWriter out = new StringWriter(); + + final Writer writer = new DelimiterWriterFactory(mappingReader, ';', '"').createWriter(out); + // note that we do not provide values for FIRSTNAME and ADDRESS + writer.addRecordEntry("LASTNAME", "ANAME"); + writer.addRecordEntry("ZIP", "44035"); + writer.addRecordEntry("CITY", "ELYRIA"); + writer.addRecordEntry("STATE", "OH"); + writer.nextRecord(); + writer.flush(); + + final String expected = this.joinLines("FIRSTNAME;LASTNAME;ADDRESS;CITY;STATE;ZIP", ";ANAME;;ELYRIA;OH;44035"); + + Assert.assertEquals(expected, out.toString()); + } + + public void testCreateWriterWithoutColumnMapping() throws Exception { + try { + final Writer writer = new DelimiterWriterFactory(';', '"').createWriter(new StringWriter()); + writer.addRecordEntry("ThisColumnDoesNotExist", "foo"); + Assert.fail("Writing to a DelimiterWriter without column mapping is not supported"); + } catch (final IllegalArgumentException iae) { + // exception was expected + } + } + + public void testCreateWriterWithNullOutputStream() throws IOException { + try { + new DelimiterWriterFactory((Map) null).createWriter(null); + } catch (final NullPointerException npe) { + // this one was expected + } + } + + public void testWriteValueWithQualifier() throws Exception { + final DelimiterWriterFactory factory = new DelimiterWriterFactory(';', '"'); + factory.addColumnTitle("col1"); + factory.addColumnTitle("col2"); + + final StringWriter out = new StringWriter(); + final Writer writer = factory.createWriter(out); + writer.addRecordEntry("col1", "value;with;delimiter"); + writer.addRecordEntry("col2", "normal value"); + writer.nextRecord(); + writer.flush(); + + final String expected = this.joinLines("col1;col2", "\"value;with;delimiter\";normal value"); + Assert.assertEquals(expected, out.toString()); + } +} Added: trunk/flatpack/src/test/java/net/sf/flatpack/writer/FixedLengthWriterTestCase.java =================================================================== --- trunk/flatpack/src/test/java/net/sf/flatpack/writer/FixedLengthWriterTestCase.java (rev 0) +++ trunk/flatpack/src/test/java/net/sf/flatpack/writer/FixedLengthWriterTestCase.java 2007-09-05 19:09:25 UTC (rev 346) @@ -0,0 +1,103 @@ +package net.sf.flatpack.writer; + +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; +import java.io.StringWriter; + +import junit.framework.Assert; + +import net.sf.flatpack.InitialisationException; +import net.sf.flatpack.writer.FixedWriterFactory; +import net.sf.flatpack.writer.Writer; + +/** + * + * @author Dirk Holmes and Holger Holger Hoffstatte + */ +public class FixedLengthWriterTestCase extends PZWriterTestCase { + public void testWriteFixedLength() throws Exception { + final StringWriter out = new StringWriter(); + final Writer writer = new FixedWriterFactory(this.getMapping()).createWriter(out); + + writer.addRecordEntry("LASTNAME", "DOE"); + writer.addRecordEntry("ADDRESS", "1234 CIRCLE CT"); + writer.addRecordEntry("STATE", "OH"); + writer.addRecordEntry("ZIP", "44035"); + writer.addRecordEntry("FIRSTNAME", "JOHN"); + writer.addRecordEntry("CITY", "ELYRIA"); + writer.nextRecord(); + writer.flush(); + + final String expected = + this + .normalizeLineEnding("JOHN DOE 1234 CIRCLE CT ELYRIA OH44035"); + Assert.assertEquals(expected, out.toString()); + } + + public void testWriterWithDifferentFillChar() throws Exception { + final StringWriter out = new StringWriter(); + final Writer writer = new FixedWriterFactory(this.getMapping(), '.').createWriter(out); + + writer.addRecordEntry("LASTNAME", "DOE"); + writer.addRecordEntry("ADDRESS", "1234 CIRCLE CT"); + writer.addRecordEntry("STATE", "OH"); + writer.addRecordEntry("ZIP", "44035"); + writer.addRecordEntry("FIRSTNAME", "JOHN"); + writer.addRecordEntry("CITY", "ELYRIA"); + writer.nextRecord(); + writer.flush(); + + final String expected = + this + .normalizeLineEnding("JOHN...............................DOE................................1234 CIRCLE CT......................................................................................ELYRIA..............................................................................................OH44035"); + Assert.assertEquals(expected, out.toString()); + } + + public void testCreateParserWithMalformedMappingFile() throws Exception { + try { + final InputStream mapping = this.getClass().getClassLoader().getResourceAsStream("BrokenMapping.pzmap.xml"); + final InputStreamReader mappingReader = new InputStreamReader(mapping); + new FixedWriterFactory(mappingReader); + Assert.fail(); + } catch (final InitialisationException ie) { + // this excecption must occur, mapping xml is invalid + } + } + + public void testWriteStringWiderThanColumnDefinition() throws Exception { + final StringWriter out = new StringWriter(); + final Writer writer = new FixedWriterFactory(this.getMapping()).createWriter(out); + try { + writer.addRecordEntry("STATE", "THISISTOOLONG"); + Assert.fail("writing entries that are too long should fail"); + } catch (final IllegalArgumentException iae) { + // expected exception + } + } + + public void testWriteNullColumn() throws Exception { + final StringWriter out = new StringWriter(); + final Writer writer = new FixedWriterFactory(this.getMapping()).createWriter(out); + + writer.addRecordEntry("LASTNAME", "DOE"); + ... [truncated message content] |
From: <zep...@us...> - 2007-09-05 17:18:24
|
Revision: 345 http://flatpack.svn.sourceforge.net/flatpack/?rev=345&view=rev Author: zepernick Date: 2007-09-05 10:18:20 -0700 (Wed, 05 Sep 2007) Log Message: ----------- fixed examples to reflect flatpack instead of pzfilereader Modified Paths: -------------- trunk/src/site/index.xml Modified: trunk/src/site/index.xml =================================================================== --- trunk/src/site/index.xml 2007-08-30 11:13:54 UTC (rev 344) +++ trunk/src/site/index.xml 2007-09-05 17:18:20 UTC (rev 345) @@ -1,123 +1,123 @@ -<document> - <properties> - <author email="pa...@ya...">Paul Zepernick</author> - <title>Introduction</title> - </properties> - <head> - <meta name="description" - content="Flat File Parser (fixed length, csv, etc) via XML Column Mappings, released under the business-friendly Apache 2.0 license." - /> - - <meta name="keywords" - content="Java CSV, Java Fixed Width, Open Source Java Parser, Java Delimited, Java Fixed Width, Java Flat File, Java Text Parser" /> - <meta name="Subject" content="Flat File Parser" /> - <!--<meta name="Copyright" content="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 --> +<document> + <properties> + <author email="pa...@ya...">Paul Zepernick</author> + <title>Introduction</title> + </properties> + <head> + <meta name="description" + content="Flat File Parser (fixed length, csv, etc) via XML Column Mappings, released under the business-friendly Apache 2.0 license." + /> + + <meta name="keywords" + content="Java CSV, Java Fixed Width, Open Source Java Parser, Java Delimited, Java Fixed Width, Java Flat File, Java Text Parser" /> + <meta name="Subject" content="Flat File Parser" /> + <!--<meta name="Copyright" content="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="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>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="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, - 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> - - <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. - 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 - 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> - <li><a href="multiproject/flatpack/apidocs/index.html">UML for FlatPack</a></li> - <li><a href="multiproject/flatpack-examples/apidocs/index.html">UML for Examples</a></li> - </ul> - </subsection> - - </section> - - <section name="How do I use it?"> - <p>Basic Steps</p> + <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, + 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> + + <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. + 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 + 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> + <li><a href="multiproject/flatpack/apidocs/index.html">UML for FlatPack</a></li> + <li><a href="multiproject/flatpack-examples/apidocs/index.html">UML for Examples</a></li> + </ul> + </subsection> + + </section> + + <section name="How do I use it?"> + <p>Basic Steps</p> <ol> <li>Obtain a PZParser from a parser factory (DefaultPZParserFactory) witha File, InputStream, or a reader(coming soon)</li> - <li>Set additional PZParser options, PZParser.setAnOption()</li> - <li>Obtain a DataSet PZParser.parse()</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> - </ol> - - <subsection name="Reading Delimited File With Column Mapping"> - + <li>Set additional PZParser options, PZParser.setAnOption()</li> + <li>Obtain a DataSet PZParser.parse()</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> + </ol> + + <subsection name="Reading Delimited File With Column Mapping"> + <div class="source"><pre> //Obtain the proper parser for your needs - PZParser pzparser = DefaultPZParserFactory.getInstance().newDelimitedParser( - new File("map.pzmap.xml"), //xml column mapping - new File("DataFile.txt"), //txt file to parse + Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( + new FileReader("map.pzmap.xml"), //xml column mapping + new FileReader("DataFile.txt"), //txt file to parse ',', //delimiter '"', //text qualfier false); //ignore the first record (may need to be done if first record contain column names) - - //obtain DataSet - DataSet ds = pzparser.parse(); - - while (ds.next()){ //loop through file - ds.getString("mycolumnName"); - } - </pre></div> - + + //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 - PZParser pzparser = DefaultPZParserFactory.getInstance().newDelimitedParser( - new File("DataFile.txt"), //txt file to parse + Parser parser = DefaultParserFactory.getInstance().newDelimitedParser( + new FileReader("DataFile.txt"), //txt file to parse ',', //delimiter '"'); //text qualifier //obtain DataSet - DataSet ds = pzparser.parse(); + DataSet ds = parser.parse(); while (ds.next()){ //loop through file ds.getString("mycolumnName"); @@ -125,36 +125,36 @@ </pre></div> </subsection> - - - <subsection name="Reading Fixed Width File"> - + + + <subsection name="Reading Fixed Width File"> + <div class="source"><pre> //Obtain the proper parser for your needs - PZParser pzparser = DefaultPZParserFactory.getInstance().newDelimitedParser( + 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 = pzparser.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> + + //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> @@ -175,8 +175,8 @@ </subsection> - - </section> - - </body> + + </section> + + </body> </document> \ 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...> - 2007-08-30 11:13:58
|
Revision: 344 http://flatpack.svn.sourceforge.net/flatpack/?rev=344&view=rev Author: benoitx Date: 2007-08-30 04:13:54 -0700 (Thu, 30 Aug 2007) Log Message: ----------- Update the StatSVN script. Modified Paths: -------------- trunk/flatpack/qalab.xml trunk/flatpack-samples/qalab.xml trunk/maven.xml trunk/statsvn.bat Added Paths: ----------- trunk/statsvn.properties Property Changed: ---------------- trunk/flatpack/ trunk/src/site/statsvn/ Property changes on: trunk/flatpack ___________________________________________________________________ Name: svn:ignore - target + target ydocErr.log Modified: trunk/flatpack/qalab.xml =================================================================== --- trunk/flatpack/qalab.xml 2007-08-30 10:39:40 UTC (rev 343) +++ trunk/flatpack/qalab.xml 2007-08-30 11:13:54 UTC (rev 344) @@ -235,6 +235,48 @@ project="default" statvalue="37" type="cobertura-branch"/> <summaryresult date="2007-06-30" filecount="1" module="default" project="default" statvalue="1" type="pmd"/> + <summaryresult date="2007-08-17" filecount="44" module="default" + project="default" statvalue="17" type="checkstyle"/> + <summaryresult date="2007-08-17" filecount="1" module="default" + project="default" statvalue="1" type="findbugs"/> + <summaryresult date="2007-08-17" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-08-17" filecount="37" module="default" + project="default" statvalue="29" type="cobertura-line"/> + <summaryresult date="2007-08-17" filecount="37" module="default" + project="default" statvalue="38" type="cobertura-branch"/> + <summaryresult date="2007-08-17" filecount="1" module="default" + project="default" statvalue="1" type="pmd"/> + <summaryresult date="2007-08-20" filecount="44" module="default" + project="default" statvalue="17" type="checkstyle"/> + <summaryresult date="2007-08-20" filecount="1" module="default" + project="default" statvalue="1" type="findbugs"/> + <summaryresult date="2007-08-20" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-08-20" filecount="37" module="default" + project="default" statvalue="29" type="cobertura-line"/> + <summaryresult date="2007-08-20" filecount="37" module="default" + project="default" statvalue="32" type="cobertura-branch"/> + <summaryresult date="2007-08-20" filecount="1" module="default" + project="default" statvalue="1" type="pmd"/> + <summaryresult date="2007-08-21" filecount="44" module="default" + project="default" statvalue="13" type="checkstyle"/> + <summaryresult date="2007-08-21" filecount="1" module="default" + project="default" statvalue="1" type="findbugs"/> + <summaryresult date="2007-08-21" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-08-21" filecount="37" module="default" + project="default" statvalue="29" type="cobertura-line"/> + <summaryresult date="2007-08-21" filecount="37" module="default" + project="default" statvalue="32" type="cobertura-branch"/> + <summaryresult date="2007-08-30" filecount="44" module="default" + project="default" statvalue="12" type="checkstyle"/> + <summaryresult date="2007-08-30" filecount="6" module="default" + project="default" statvalue="118" type="simian"/> + <summaryresult date="2007-08-30" filecount="37" module="default" + project="default" statvalue="29" type="cobertura-line"/> + <summaryresult date="2007-08-30" filecount="37" module="default" + project="default" statvalue="32" type="cobertura-branch"/> </summary> <file id="default-default-com_pz_reader_ordering_package.html" module="default" path="com/pz/reader/ordering/package.html" project="default"> @@ -561,6 +603,14 @@ <result date="2007-06-03" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="62" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="45" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="45" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="45" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="45" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DataSet.java" module="default" path="net/sf/flatpack/DataSet.java" project="default"> @@ -612,6 +662,18 @@ <result date="2007-06-30" statvalue="100" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="100" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="1" type="pmd"/> + <result date="2007-08-20" statvalue="1" type="checkstyle"/> + <result date="2007-08-20" statvalue="100" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="1" type="pmd"/> + <result date="2007-08-21" statvalue="100" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_LargeDataSet.java" module="default" path="net/sf/flatpack/LargeDataSet.java" project="default"> @@ -694,6 +756,18 @@ <result date="2007-06-30" statvalue="6" type="checkstyle"/> <result date="2007-06-30" statvalue="45" type="cobertura-line"/> <result date="2007-06-30" statvalue="56" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="6" type="checkstyle"/> + <result date="2007-08-17" statvalue="45" type="cobertura-line"/> + <result date="2007-08-17" statvalue="56" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="6" type="checkstyle"/> + <result date="2007-08-20" statvalue="45" type="cobertura-line"/> + <result date="2007-08-20" statvalue="50" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="6" type="checkstyle"/> + <result date="2007-08-21" statvalue="45" type="cobertura-line"/> + <result date="2007-08-21" statvalue="50" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="6" type="checkstyle"/> + <result date="2007-08-30" statvalue="45" type="cobertura-line"/> + <result date="2007-08-30" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_PZMapParser.java" module="default" path="net/sf/flatpack/xml/PZMapParser.java" project="default"> @@ -752,6 +826,10 @@ <result date="2007-05-24" statvalue="54" type="cobertura-line"/> <result date="2007-06-03" statvalue="54" type="cobertura-line"/> <result date="2007-06-30" statvalue="54" type="cobertura-line"/> + <result date="2007-08-17" statvalue="54" type="cobertura-line"/> + <result date="2007-08-20" statvalue="54" type="cobertura-line"/> + <result date="2007-08-21" statvalue="54" type="cobertura-line"/> + <result date="2007-08-30" statvalue="54" type="cobertura-line"/> </file> <file id="default-default-net_sf_flatpack_structure_ColumnMetaData.java" @@ -783,6 +861,14 @@ <result date="2007-06-03" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="66" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="54" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="54" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="54" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="54" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Version.java" module="default" path="net/sf/flatpack/Version.java" project="default"> @@ -799,6 +885,10 @@ <result date="2007-05-24" statvalue="100" type="cobertura-branch"/> <result date="2007-06-03" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_XMLRecordElement.java" module="default" @@ -807,6 +897,8 @@ <result date="2007-05-24" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> <result date="2007-06-30" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <result date="2007-08-20" statvalue="1" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_util_PZConstants.java" module="default" path="net/sf/flatpack/util/PZConstants.java" project="default"> @@ -921,6 +1013,10 @@ <result date="2007-05-24" statvalue="2" type="checkstyle"/> <result date="2007-06-03" statvalue="2" type="checkstyle"/> <result date="2007-06-30" statvalue="2" type="checkstyle"/> + <result date="2007-08-17" statvalue="2" type="checkstyle"/> + <result date="2007-08-20" statvalue="2" type="checkstyle"/> + <result date="2007-08-21" statvalue="2" type="checkstyle"/> + <result date="2007-08-30" statvalue="2" type="checkstyle"/> </file> <file id="default-default-net_sf_flatpack_util_FixedWidthParserUtils.java" @@ -949,6 +1045,14 @@ <result date="2007-06-03" statvalue="10" type="cobertura-branch"/> <result date="2007-06-30" statvalue="20" type="cobertura-line"/> <result date="2007-06-30" statvalue="10" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="20" type="cobertura-line"/> + <result date="2007-08-17" statvalue="10" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="20" type="cobertura-line"/> + <result date="2007-08-20" statvalue="9" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="20" type="cobertura-line"/> + <result date="2007-08-21" statvalue="9" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="20" type="cobertura-line"/> + <result date="2007-08-30" statvalue="9" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_RegExParser.java" module="default" path="net/sf/flatpack/util/RegExParser.java" project="default"> @@ -1019,6 +1123,17 @@ <result date="2007-06-30" statvalue="1" type="checkstyle"/> <result date="2007-06-30" statvalue="34" type="cobertura-line"/> <result date="2007-06-30" statvalue="33" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="34" type="cobertura-line"/> + <result date="2007-08-17" statvalue="42" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="1" type="checkstyle"/> + <result date="2007-08-20" statvalue="34" type="cobertura-line"/> + <result date="2007-08-20" statvalue="28" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="1" type="checkstyle"/> + <result date="2007-08-21" statvalue="34" type="cobertura-line"/> + <result date="2007-08-21" statvalue="28" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="34" type="cobertura-line"/> + <result date="2007-08-30" statvalue="28" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultPZParserFactory.java" @@ -1092,6 +1207,10 @@ <result date="2007-05-24" statvalue="100" type="cobertura-branch"/> <result date="2007-06-03" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_package.html" module="default" path="net/sf/flatpack/converter/package.html" project="default"> @@ -1135,6 +1254,14 @@ <result date="2007-06-03" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="100" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_PZConvertException.java" @@ -1194,6 +1321,14 @@ <result date="2007-06-03" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="100" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_ConvertInteger.java" @@ -1213,6 +1348,14 @@ <result date="2007-06-03" statvalue="100" type="cobertura-branch"/> <result date="2007-06-30" statvalue="100" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderPZParseFactory.java" @@ -1262,64 +1405,173 @@ <result date="2007-06-30" statvalue="2" type="checkstyle"/> <result date="2007-06-30" statvalue="59" type="cobertura-line"/> <result date="2007-06-30" statvalue="68" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="2" type="checkstyle"/> + <result date="2007-08-17" statvalue="59" type="cobertura-line"/> + <result date="2007-08-17" statvalue="68" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="2" type="checkstyle"/> + <result date="2007-08-20" statvalue="59" type="cobertura-line"/> + <result date="2007-08-20" statvalue="46" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="2" type="checkstyle"/> + <result date="2007-08-21" statvalue="59" type="cobertura-line"/> + <result date="2007-08-21" statvalue="46" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="2" type="checkstyle"/> + <result date="2007-08-30" statvalue="59" type="cobertura-line"/> + <result date="2007-08-30" statvalue="46" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPStringUtils.java" module="default" path="net/sf/flatpack/util/FPStringUtils.java" project="default"> <result date="2007-06-30" statvalue="3" type="checkstyle"/> <result date="2007-06-30" statvalue="25" type="cobertura-line"/> <result date="2007-06-30" statvalue="25" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="3" type="checkstyle"/> + <result date="2007-08-17" statvalue="25" type="cobertura-line"/> + <result date="2007-08-17" statvalue="25" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="3" type="checkstyle"/> + <result date="2007-08-20" statvalue="25" type="cobertura-line"/> + <result date="2007-08-20" statvalue="20" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="2" type="checkstyle"/> + <result date="2007-08-21" statvalue="22" type="cobertura-line"/> + <result date="2007-08-21" statvalue="20" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="2" type="checkstyle"/> + <result date="2007-08-30" statvalue="22" type="cobertura-line"/> + <result date="2007-08-30" statvalue="20" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_xml_MetaData.java" module="default" path="net/sf/flatpack/xml/MetaData.java" project="default"> <result date="2007-06-30" statvalue="1" type="findbugs"/> <result date="2007-06-30" statvalue="41" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="1" type="findbugs"/> + <result date="2007-08-17" statvalue="36" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="1" type="findbugs"/> + <result date="2007-08-20" statvalue="36" type="cobertura-line"/> + <result date="2007-08-20" statvalue="31" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="1" type="findbugs"/> + <result date="2007-08-21" statvalue="36" type="cobertura-line"/> + <result date="2007-08-21" statvalue="31" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="36" type="cobertura-line"/> + <result date="2007-08-30" statvalue="31" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_AbstractParser.java" module="default" path="net/sf/flatpack/AbstractParser.java" project="default"> <result date="2007-06-30" statvalue="76" type="cobertura-line"/> <result date="2007-06-30" statvalue="83" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="76" type="cobertura-line"/> + <result date="2007-08-17" statvalue="83" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="76" type="cobertura-line"/> + <result date="2007-08-20" statvalue="64" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="76" type="cobertura-line"/> + <result date="2007-08-21" statvalue="64" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="76" type="cobertura-line"/> + <result date="2007-08-30" statvalue="64" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DefaultParserFactory.java" module="default" path="net/sf/flatpack/DefaultParserFactory.java" project="default"> <result date="2007-06-30" statvalue="29" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="29" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="29" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="29" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="29" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_DelimiterParser.java" module="default" path="net/sf/flatpack/DelimiterParser.java" project="default"> <result date="2007-06-30" statvalue="42" type="cobertura-line"/> <result date="2007-06-30" statvalue="71" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="42" type="cobertura-line"/> + <result date="2007-08-17" statvalue="71" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="42" type="cobertura-line"/> + <result date="2007-08-20" statvalue="50" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="42" type="cobertura-line"/> + <result date="2007-08-21" statvalue="50" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="42" type="cobertura-line"/> + <result date="2007-08-30" statvalue="50" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_Parser.java" module="default" path="net/sf/flatpack/Parser.java" project="default"> <result date="2007-06-30" statvalue="100" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_ParserFactory.java" module="default" path="net/sf/flatpack/ParserFactory.java" project="default"> <result date="2007-06-30" statvalue="100" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="100" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="1" type="checkstyle"/> + <result date="2007-08-20" statvalue="100" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_Converter.java" module="default" path="net/sf/flatpack/converter/Converter.java" project="default"> <result date="2007-06-30" statvalue="100" type="cobertura-line"/> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-line"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-line"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-line"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-line"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_brparse_BuffReaderParseFactory.java" module="default" path="net/sf/flatpack/brparse/BuffReaderParseFactory.java" project="default"> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_converter_FPConvertException.java" module="default" path="net/sf/flatpack/converter/FPConvertException.java" project="default"> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> <file id="default-default-net_sf_flatpack_util_FPConstants.java" module="default" path="net/sf/flatpack/util/FPConstants.java" project="default"> <result date="2007-06-30" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-17" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-20" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-21" statvalue="100" type="cobertura-branch"/> + <result date="2007-08-30" statvalue="100" type="cobertura-branch"/> </file> + <file + id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_columninfile_DelimitedColumnNamesInFileTest.java" + module="default" + path="C:/project/flatpack/flatpack/src/test/java/net/sf/flatpack/columninfile/DelimitedColumnNamesInFileTest.java" project="default"/> + <file + id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_delim_tab_TabDelimitedTest.java" + module="default" + path="C:/project/flatpack/flatpack/src/test/java/net/sf/flatpack/delim/tab/TabDelimitedTest.java" project="default"/> + <file + id="default-default-C:_project_flatpack_flatpack_src_test_java_net_sf_flatpack_pzparser_PZParserOptsTest.java" + module="default" + path="C:/project/flatpack/flatpack/src/test/java/net/sf/flatpack/pzparser/PZParserOptsTest.java" project="default"/> </qalab> Modified: trunk/flatpack-samples/qalab.xml =================================================================== --- trunk/flatpack-samples/qalab.xml 2007-08-30 10:39:40 UTC (rev 343) +++ trunk/flatpack-samples/qalab.xml 2007-08-30 11:13:54 UTC (rev 344) @@ -117,6 +117,38 @@ project="default" statvalue="92" type="simian"/> <summaryresult date="2007-06-03" filecount="10" module="default" project="default" statvalue="10" type="pmd"/> + <summaryresult date="2007-08-17" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-08-17" filecount="8" module="default" + project="default" statvalue="12" type="findbugs"/> + <summaryresult date="2007-08-17" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-08-17" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-08-20" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-08-20" filecount="8" module="default" + project="default" statvalue="12" type="findbugs"/> + <summaryresult date="2007-08-20" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-08-20" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-08-21" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-08-21" filecount="8" module="default" + project="default" statvalue="12" type="findbugs"/> + <summaryresult date="2007-08-21" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-08-21" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> + <summaryresult date="2007-08-30" filecount="34" module="default" + project="default" statvalue="155" type="checkstyle"/> + <summaryresult date="2007-08-30" filecount="6" module="default" + project="default" statvalue="9" type="findbugs"/> + <summaryresult date="2007-08-30" filecount="6" module="default" + project="default" statvalue="92" type="simian"/> + <summaryresult date="2007-08-30" filecount="2" module="default" + project="default" statvalue="2" type="pmd"/> </summary> <file id="default-default-com_pz_reader_examples_numericsanddates_package.html" @@ -332,6 +364,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_package.html" @@ -348,6 +384,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_package.html" @@ -364,6 +404,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_package.html" @@ -380,6 +424,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_package.html" @@ -396,6 +444,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_package.html" @@ -412,6 +464,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_package.html" @@ -428,6 +484,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_package.html" @@ -444,6 +504,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_package.html" @@ -460,6 +524,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_package.html" @@ -476,6 +544,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_package.html" @@ -492,6 +564,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_package.html" @@ -508,6 +584,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_package.html" @@ -524,6 +604,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_package.html" @@ -540,6 +624,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_package.html" @@ -556,6 +644,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_package.html" @@ -572,6 +664,10 @@ <result date="2007-02-11" statvalue="1" type="checkstyle"/> <result date="2007-05-25" statvalue="1" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_Examples.java" @@ -598,6 +694,14 @@ <result date="2007-05-25" statvalue="1" type="findbugs"/> <result date="2007-06-03" statvalue="14" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="findbugs"/> + <result date="2007-08-17" statvalue="14" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="findbugs"/> + <result date="2007-08-20" statvalue="14" type="checkstyle"/> + <result date="2007-08-20" statvalue="1" type="findbugs"/> + <result date="2007-08-21" statvalue="14" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_createsamplecsv_CSVTestFileCreator.java" @@ -636,6 +740,18 @@ <result date="2007-06-03" statvalue="7" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="findbugs"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="7" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="findbugs"/> + <result date="2007-08-17" statvalue="1" type="pmd"/> + <result date="2007-08-20" statvalue="7" type="checkstyle"/> + <result date="2007-08-20" statvalue="1" type="findbugs"/> + <result date="2007-08-20" statvalue="1" type="pmd"/> + <result date="2007-08-21" statvalue="7" type="checkstyle"/> + <result date="2007-08-21" statvalue="1" type="findbugs"/> + <result date="2007-08-21" statvalue="1" type="pmd"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvheaderandtrailer_CSVHeaderAndTrailer.java" @@ -652,6 +768,10 @@ <result date="2007-02-11" statvalue="17" type="checkstyle"/> <result date="2007-05-25" statvalue="17" type="checkstyle"/> <result date="2007-06-03" statvalue="17" type="checkstyle"/> + <result date="2007-08-17" statvalue="17" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_csvperformancetest_CSVPerformanceTest.java" @@ -686,6 +806,14 @@ <result date="2007-06-03" statvalue="17" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="findbugs"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="16" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="findbugs"/> + <result date="2007-08-20" statvalue="16" type="checkstyle"/> + <result date="2007-08-20" statvalue="1" type="findbugs"/> + <result date="2007-08-21" statvalue="16" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimitedcolumnnamesinfile_DelimitedColumnNamesInFile.java" @@ -707,6 +835,10 @@ <result date="2007-02-11" statvalue="5" type="checkstyle"/> <result date="2007-05-25" statvalue="5" type="checkstyle"/> <result date="2007-06-03" statvalue="5" type="checkstyle"/> + <result date="2007-08-17" statvalue="5" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumns_DelimitedWithPZMap.java" @@ -730,6 +862,10 @@ <result date="2007-05-25" statvalue="1" type="pmd"/> <result date="2007-06-03" statvalue="14" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="13" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_delimiteddynamiccolumnswitherrors_DelimitedWithPZMapErrors.java" @@ -753,6 +889,10 @@ <result date="2007-05-25" statvalue="1" type="pmd"/> <result date="2007-06-03" statvalue="14" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="13" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_exporttoexcel_DelimitedFileExportToExcel.java" @@ -776,6 +916,10 @@ <result date="2007-05-25" statvalue="1" type="pmd"/> <result date="2007-06-03" statvalue="4" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="3" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthdynamiccolumns_FixedLengthWithPZMap.java" @@ -799,6 +943,10 @@ <result date="2007-05-25" statvalue="1" type="pmd"/> <result date="2007-06-03" statvalue="4" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="3" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_fixedlengthheaderandtrailer_FixedLengthHeaderAndTrailer.java" @@ -822,6 +970,10 @@ <result date="2007-05-25" statvalue="1" type="pmd"/> <result date="2007-06-03" statvalue="18" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="17" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_delimiteddynamiccolumns_LargeDelimitedWithPZMap.java" @@ -845,6 +997,13 @@ <result date="2007-05-25" statvalue="1" type="findbugs"/> <result date="2007-06-03" statvalue="4" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="findbugs"/> + <result date="2007-08-17" statvalue="4" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="findbugs"/> + <result date="2007-08-20" statvalue="4" type="checkstyle"/> + <result date="2007-08-20" statvalue="1" type="findbugs"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_fixedlengthdynamiccolumns_LargeFixedLengthWithPZMap.java" @@ -868,6 +1027,13 @@ <result date="2007-05-25" statvalue="1" type="findbugs"/> <result date="2007-06-03" statvalue="3" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="findbugs"/> + <result date="2007-08-17" statvalue="3" type="checkstyle"/> + <result date="2007-08-17" statvalue="1" type="findbugs"/> + <result date="2007-08-20" statvalue="3" type="checkstyle"/> + <result date="2007-08-20" statvalue="1" type="findbugs"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_largedataset_largecsvperformancetest_CSVLarge.java" @@ -895,6 +1061,14 @@ <result date="2007-05-25" statvalue="3" type="findbugs"/> <result date="2007-06-03" statvalue="9" type="checkstyle"/> <result date="2007-06-03" statvalue="3" type="findbugs"/> + <result date="2007-08-17" statvalue="9" type="checkstyle"/> + <result date="2007-08-17" statvalue="3" type="findbugs"/> + <result date="2007-08-20" statvalue="9" type="checkstyle"/> + <result date="2007-08-20" statvalue="3" type="findbugs"/> + <result date="2007-08-21" statvalue="9" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_lowlevelparse_LowLevelParse.java" @@ -933,6 +1107,18 @@ <result date="2007-06-03" statvalue="5" type="checkstyle"/> <result date="2007-06-03" statvalue="2" type="findbugs"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="5" type="checkstyle"/> + <result date="2007-08-17" statvalue="2" type="findbugs"/> + <result date="2007-08-17" statvalue="1" type="pmd"/> + <result date="2007-08-20" statvalue="5" type="checkstyle"/> + <result date="2007-08-20" statvalue="2" type="findbugs"/> + <result date="2007-08-20" statvalue="1" type="pmd"/> + <result date="2007-08-21" statvalue="5" type="checkstyle"/> + <result date="2007-08-21" statvalue="2" type="findbugs"/> + <result date="2007-08-21" statvalue="1" type="pmd"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_multilinedelimitedrecord_DelimitedMultiLine.java" @@ -956,6 +1142,10 @@ <result date="2007-05-25" statvalue="1" type="pmd"/> <result date="2007-06-03" statvalue="5" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="4" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_numericsanddates_NumericsAndDates.java" @@ -979,6 +1169,10 @@ <result date="2007-05-25" statvalue="1" type="pmd"/> <result date="2007-06-03" statvalue="7" type="checkstyle"/> <result date="2007-06-03" statvalue="1" type="pmd"/> + <result date="2007-08-17" statvalue="6" type="checkstyle"/> + <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"/> </file> <file id="default-default-net_sf_pzfilereader_examples_ConsoleMenu.java" @@ -995,5 +1189,9 @@ <result date="2007-02-11" statvalue="2" type="findbugs"/> <result date="2007-05-25" statvalue="2" type="findbugs"/> <result date="2007-06-03" statvalue="2" type="findbugs"/> + <result date="2007-08-17" statvalue="2" type="findbugs"/> + <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"/> </file> </qalab> Modified: trunk/maven.xml =================================================================== --- trunk/maven.xml 2007-08-30 10:39:40 UTC (rev 343) +++ trunk/maven.xml 2007-08-30 11:13:54 UTC (rev 344) @@ -1,10 +1,10 @@ <?xml version="1.0"?> <!-- - /* + /* * ======================================================================== * $Id: maven.xml 184 2006-09-17 09:42:49Z marchy $ - * + * * Copyright 2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -23,35 +23,8 @@ --> <project xmlns:j="jelly:core" xmlns:ant="jelly:ant" - xmlns:maven="jelly:maven" xmlns:x="jelly:xml"> -<!-- - <goal name="fp:clean" prereqs="multiproject:clean,clean" /> + xmlns:maven="jelly:maven" xmlns:x="jelly:xml"> - <goal name="fp:build"> - <j:set var="goal" value="fp:build" /> - <j:set var="do.obfuscation" value="false" scope="parent" /> - <attainGoal name="multiproject:goal" /> - </goal> - - <goal name="fp:rebuild"> - <attainGoal name="fp:clean" /> - <j:set var="goal" value="fp:rebuild" /> - <attainGoal name="multiproject:goal" /> - </goal> - - <goal name="fp:releasebuild"> - <attainGoal name="fp:rebuild" /> - <j:set var="goal" value="artifact:create-upload-bundle" /> - <attainGoal name="multiproject:goal" /> - <attainGoal name="fp:site" /> - </goal> - - <goal name="fp:site"> - <attainGoal name="dist:build" /> - <attainGoal name="dist:multiproject" /> - </goal> - --> - <goal name="fp:clean" prereqs="multiproject:clean,clean" /> <goal name="fp:build"> Property changes on: trunk/src/site/statsvn ___________________________________________________________________ Name: svn:ignore - *.png *.xml *.jar *.jtree *.css + *.png *.xml *.jar *.jtree *.css repomap-data.txt Modified: trunk/statsvn.bat =================================================================== --- trunk/statsvn.bat 2007-08-30 10:39:40 UTC (rev 343) +++ trunk/statsvn.bat 2007-08-30 11:13:54 UTC (rev 344) @@ -1,3 +1,3 @@ -rem svn log -v --xml https://flatpack.svn.sourceforge.net/svnroot/flatpack/ > svn.log -rem mkdir target\docs\statsvn -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 FlatPack -exclude "**/SampleCSV.csv|**/qalab.xml" -viewvc http://flatpack.svn.sourceforge.net/viewvc/flatpack/trunk ./svn.log . +svn log -v --xml https://flatpack.svn.sourceforge.net/svnroot/flatpack/ > svn.log +mkdir target\docs\statsvn +java -jar c:\java\statsvn\statsvn.jar -xdoc -verbose -config-file ./statsvn.properties -tags "^release_2.2.0|^Root_v2_0_0|^Root_v1_0_5|^Root_V2_1_0|^Root_V2_2_0_0|^3.0.0|^3.1.0" -output-dir src\site\statsvn -title FlatPack -exclude "**/SampleCSV.csv|**/qalab.xml" -viewvc http://flatpack.svn.sourceforge.net/viewvc/flatpack/trunk ./svn.log . Added: trunk/statsvn.properties =================================================================== --- trunk/statsvn.properties (rev 0) +++ trunk/statsvn.properties 2007-08-30 11:13:54 UTC (rev 344) @@ -0,0 +1,13 @@ +## +# USERS +## +user.benoitx.realName=Benoit Xhenseval +user.benoitx.url=http://www.xhenseval.com/benoit +user.benoitx.image=http://www.xhenseval.com/benoit/bx-avatar.jpg +user.benoitx.email= +# +user.zepernick.realName=Paul Zepernick +user.zepernick.url=http://sourceforge.net/users/zepernick/ +user.zepernick.image=http://pzfilereader.sourceforge.net/Paul.gif +user.zepernick.email=pa...@ya... +# This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |