Why? I can also create files with only "\n" line termination on Windows.

Sent from a mobile device
Am 17.01.2013 20:33 schrieb "renamsavio" <[email protected]>:

> 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