Massimo, Thanks. THis may be what I'm looking for or I can get enough out of it to do what I want.
ps. If you click on sample there appears to be an error on the page. DRE On 4/26/05, Adam Haskell <[EMAIL PROTECTED]> wrote: > Off the top of my head I can't think of something in Java. I know of a > perl library though ;) I imagine there is something (if not included > in the JRE freely distributed) but like i said off the top of my head > I can't recall a class to do that might checl Massimo's CFC didn't > read the documentation for it but it looks like it pretty much does > the same thing i posted...on it doesn;t use .ready() which I found odd > :) > > Adam H > > On 4/26/05, DRE <[EMAIL PROTECTED]> wrote: > > Ok, thats a good start! > > One more question. > > > > Sometimes, a line item will look like this: > > hello,"goodbye",today > > > > How do I handle the quotes? Is there any java already created for this? > > > > Thanks. > > > > DRE > > > > On 4/26/05, Adam Haskell <[EMAIL PROTECTED]> wrote: > > > check out java.IO.FileReader and java.IO.BufferedReader > > > basiaclly you create a filereader object then create a bufferedReader > > > object by passing it the FileReader object then loop the > > > bufferedReader...soemthing like this ( complete untested): > > > <cfscript> > > > FR = createObject('java','java.IO.FileReader').init("my_file_path.txt"); > > > BR = createObject('jaja','java.IO.BufferedReader').init(FR); > > > > > > while (BR.ready()) > > > { > > > writeoutput(BR.readLine()+"<br>"); > > > } > > > BR.close() > > > </cfscript> > > > > > > That should get ya a start in the right direction. > > > > > > Adam H > > > > > > On 4/26/05, DRE <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I need to upload a delimited file and parse it. > > > > > > > > Now I've done this countless times with the usual splitting on the > > > > return charachters and then the tab chacachter. However, I'm sick of > > > > doing it!!!! > > > > > > > > Now, I know that Java can do this and I know that I can call java > > > > libraries to do this. Has anybody done this? Is there an existing > > > > library that is included in the jre so that its available with > > > > standard hosting packages? > > > > > > > > Thanks > > > > -- > > > > DRE > > > > http://www.webmachineinc.com > > > > http://www.theanticool.com > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204477 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54