Skip to Content
0
Former Member
Oct 18, 2006 at 04:00 PM

content conversion of "property file" like files

19 Views

Hello,

I have to process a text file by XI (FTP Sender Adapter)

having several sections :

Header: "property file" like format

Data : "property file" like format + CSV format

Footer : "property file" like format

And also some lines between sections that should be ignored.

For example

-


START OF FILE

START OF HEADER

Property1=aaaaaaaaaa

Property2=bbbbbbbbbb

...

PropertyN=zzzzzzzzzz

END OF HEADER

START OF DATA

PropertyX1=aaaaa,bbbb,cccccc,ddddd

PropertyX2=eeeee,ffff,gggggg,hhhhh

END OF DATA

END OF FILE

-


Do you have an idea how to parse these kind of files?

Thanks,

Bela