Hi there,

I've been facing a problem about 'end of line' in text files.
I have a file component which reads some files in a directory, then I use
*.split(body(String.class).tokenize("\n"))* inside the route to split line
by line from each file. I want to be able to identify in which enviroment
each file was created(Windows,MacOS or Linux/Unix). For example, whether EOL
is Linux, "\n" simply doesn't work..Is there any way to do that..?

I hope I was clear about the problem.
Thanks!  



--
View this message in context: 
http://camel.465427.n5.nabble.com/End-of-Line-File-component-tp5725717.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to