Re: [cfaussie] using getProfileSections()

2010-05-16 Thread Robin Hilliard
cfaussie@googlegroups.com > Subject: Re: [cfaussie] using getProfileSections() > > On 14 May 2010 14:07, Steve Onnis wrote: >> If I am going to do that I may aswell just read it and parse it >> manually without the functions. > > true, Cf lists functions are pretty good &g

Re: [cfaussie] using getProfileSections()

2010-05-13 Thread Kym Kovan
On 14/05/2010 15:56, Steve Onnis wrote: I know ini files have been around for a while, I mean the getProfileSections() itself. Is that a cf function or is it built into java and cf is just using it? That function is one of the set for ini files, the get/setProfileString() pair have been about

RE: [cfaussie] using getProfileSections()

2010-05-13 Thread Steve Onnis
@googlegroups.com Subject: Re: [cfaussie] using getProfileSections() On 14/05/2010 15:00, Steve Onnis wrote: > Ended up using some regular expressions in the end but that is pretty > crap if you ask me. Is the function something cf specific or is it a > java feature/function that cf us utilising?

Re: [cfaussie] using getProfileSections()

2010-05-13 Thread Kym Kovan
On 14/05/2010 15:00, Steve Onnis wrote: Ended up using some regular expressions in the end but that is pretty crap if you ask me. Is the function something cf specific or is it a java feature/function that cf us utilising? Its been around since very early days when windows ini files were the

RE: [cfaussie] using getProfileSections()

2010-05-13 Thread Steve Onnis
To: cfaussie@googlegroups.com Subject: Re: [cfaussie] using getProfileSections() On 14/05/2010 14:16, Steve Onnis wrote: > I havent answered it myself. There must be a way to do it, just seeing > if anything else has come across it and worked it out Been there, not done it Steve I'm

Re: [cfaussie] using getProfileSections()

2010-05-13 Thread Kym Kovan
On 14/05/2010 14:16, Steve Onnis wrote: I havent answered it myself. There must be a way to do it, just seeing if anything else has come across it and worked it out Been there, not done it Steve I'm afraid. We had the same need and ended up using a custom tag that read the file into a query a

RE: [cfaussie] using getProfileSections()

2010-05-13 Thread Steve Onnis
r is > there a way to do it without the header i think you have already answered that yourself :) > > -Original Message- > From: Zac Spitzer [mailto:zac.spit...@gmail.com] > Sent: Friday, 14 May 2010 2:05 PM > To: cfaussie@googlegroups.com > Subject: Re: [cfaussie] u

Re: [cfaussie] using getProfileSections()

2010-05-13 Thread Zac Spitzer
way to do it without the header i think you have already answered that yourself :) > > -Original Message- > From: Zac Spitzer [mailto:zac.spit...@gmail.com] > Sent: Friday, 14 May 2010 2:05 PM > To: cfaussie@googlegroups.com > Subject: Re: [cfaussie] using getProfileSections()

RE: [cfaussie] using getProfileSections()

2010-05-13 Thread Steve Onnis
nt: Friday, 14 May 2010 2:05 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] using getProfileSections() read the file into a variable, add the header, write it back out and then parse it? On 14 May 2010 14:01, Steve Onnis wrote: > I cant. The file is generated by a mail server and I

Re: [cfaussie] using getProfileSections()

2010-05-13 Thread Zac Spitzer
it...@gmail.com] > Sent: Friday, 14 May 2010 2:00 PM > To: cfaussie@googlegroups.com > Subject: Re: [cfaussie] using getProfileSections() > > just wack a section heading in first like [GeneralProperties] > > On 14 May 2010 13:51, Steve Onnis wrote: >> I am trying to load up a .i

RE: [cfaussie] using getProfileSections()

2010-05-13 Thread Steve Onnis
I cant. The file is generated by a mail server and I don’t want to mess with it -Original Message- From: Zac Spitzer [mailto:zac.spit...@gmail.com] Sent: Friday, 14 May 2010 2:00 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] using getProfileSections() just wack a section

Re: [cfaussie] using getProfileSections()

2010-05-13 Thread Zac Spitzer
just wack a section heading in first like [GeneralProperties] On 14 May 2010 13:51, Steve Onnis wrote: > I am trying to load up a .ini style file using this but i am having a bit of > an issue.  For this function to work does the file "have to" have the > section part of the file?  I am working w

[cfaussie] using getProfileSections()

2010-05-13 Thread Steve Onnis
I am trying to load up a .ini style file using this but i am having a bit of an issue. For this function to work does the file "have to" have the section part of the file? I am working with a file that is just like this Retries=1 NextSendTime=1273813109 TimeAcquired=1273802309 MessageID=003