Hi all,
I have the following problem, I need to parse CSV files where the heade 
lines are not a fixed number, i.e. a file could have an header with three 
lines and another with five lines for example. 
At the same time I need to parse the header to extract the information I 
need to parse following lines successfully.
So, I would need to implement a aka stream flow capable to read the lines 
till it detects the end of the header, it extracts the metadata and it 
pushes those metadata  together with the remaining rows to the rest of the 
flow.
Any idea how to solve this problem in a idiomatic aka-streams way? I have 
an obvious solution using some mutable state and marking the rows as part 
of the header and using then dropWhile.
Any hints would be greatly appreciated.
David

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to