Re: How to read CSV file using WO
Re: How to read CSV file using WO
- Subject: Re: How to read CSV file using WO
- From: Colin Clark <email@hidden>
- Date: Wed, 29 Sep 2004 11:42:52 -0400
Hi,
There's a range of options to select from here. If you know your flat
files are going to be simple, you could just write some code to loop
through each line in the file and use a StringTokenizer to parse each
column based on the delimiter. At that point, simply do whatever you
want with the resulting tokens.
In the mid-range, there are a few free packages available to help with
this sort of parsing. I know James Cicenia mentioned Stephen
Ostermiller's parser:
http://ostermiller.org/utils/CSV.htm
On the high-end, if you want to manipulate Excel-formatted documents,
there's Jakarta POI:
http://jakarta.apache.org/poi/index.html
Colin
---
Colin Clark
Dynamic Web and Database Development Lead,
Resource Centre for Academic Technology,
University of Toronto
On Tuesday, September 28, 2004, at 10:58 PM, Goh Keng Boon wrote:
Hi guys, I'm intended to read a CSV file that located at my client's
PC using my webobject application, but i have no idea
where to start, can i have some pointers from you? A sample code or
any reference will be very appreciated.
Thank you very much.
KB
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden