I was looking for something to parse a flat file with
fixed width records... This seems to be perfect!
I noticed the ability to getDate/getDouble etc but I
think that it would be great if the XML file could
define a couple of attribute to provide some basic
<!ATTLIST COLUMN name CDATA #REQUIRED
length CDATA #IMPLIED
targetClass CDATA #IMPLIED
format CDATA #IMPLIED
Where targetClass would be say a java.util.Date and the
format would describe a SimpleDateFormat.
When I request DataSet.getObject("columnName"); I would
get the object i.e. the date if it was a date, a Double
if it was a double, etc
Support for BigDecimal would also be great for me
What do you think?
Many thanks for this great tool!
Log in to post a comment.