Re: importing a csv file into a wonder application
Re: importing a csv file into a wonder application
- Subject: Re: importing a csv file into a wonder application
- From: Ray Kiddy <email@hidden>
- Date: Wed, 15 Apr 2015 23:09:04 -0700
On Wed, 15 Apr 2015 21:11:01 -0700
"Kevin @ alchemy POP" <email@hidden> wrote:
> I've got a simple Wonder project where I want to populate the
> database by importing a csv file. Before adding the data to the table
> I intend to do some cleanup on it, ie, checking for unwanted
> characters, etc. Is there an approved Wonder approach to reading a
> text file, or is it just straight java until it's time to actually
> add the records to the database?
>
> I looked through the Wonder docs but did not see anything related to
> basic text file i/o.
>
> Thanks,
>
>
> Kevin Spake
<snip>
It is straight java and then just EOF to add the EOs.
http://worldofwebobjects.blogspot.com/2006_04_01_archive.html
There may be a few string utility methods and some file utility methods
in Wonder, but probably nothing very earth-shattering. Look for classes
with "Utilities" in the name.
- ray
_______________________________________________
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