• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Importing CSV into a WO application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Importing CSV into a WO application


  • Subject: Re: Importing CSV into a WO application
  • From: Simon McLean <email@hidden>
  • Date: Mon, 23 Oct 2006 17:27:49 +0100

hi - we extensively use CSV Manager from Ricebridge:

http://www.ricebridge.com/products/csvman/reference.htm

it's not too expensive and rock solid.

if you write your own it's worth reading the sale pitch on their website about all the pitfalls of importing CSV files for some guidance !!

simon

On 23 Oct 2006, at 13:45, Dev WO wrote:

I found the link to ostermiller's site but it was down when I checked;)
Thanks Kieran, I'll have a look.


Xavier



You can use utilities such as this:
http://ostermiller.org/utils/CSV.html

.... and wrap the parser with your own utility classes to do what you want.

    /** @return NSArray of strings when passed a line of CSV data */
    public static NSArray arrayFromCsvRecord( String csvRecord ) {
        String[][] fieldValuesParsed = CSVParser.parse( csvRecord );
        return new NSArray( fieldValuesParsed[0] );
    }



On Oct 23, 2006, at 6:30 AM, Dev WO wrote:

Hi,
searching the list I have found many post about excel export and things like that. But I'm actually looking for a way to import CSV into a WO application.


Is there anything already done to handle importing of CSV?

Like providing a NSArray of column name, an editing context and an eo to match the value to?

Thanks

Xavier
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


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
  • Follow-Ups:
    • Re: Importing CSV into a WO application
      • From: Robert Walker <email@hidden>
References: 
 >Importing CSV into a WO application (From: Dev WO <email@hidden>)
 >Re: Importing CSV into a WO application (From: Kieran Kelleher <email@hidden>)
 >Re: Importing CSV into a WO application (From: Dev WO <email@hidden>)

  • Prev by Date: ERChangeNotification x 2
  • Next by Date: Re: Importing CSV into a WO application
  • Previous by thread: Re: Importing CSV into a WO application
  • Next by thread: Re: Importing CSV into a WO application
  • Index(es):
    • Date
    • Thread