I have a text file that was created in Unix environment. Now I want to process this file in java but on Windows environment. So is there are anyway I can get rid of problem of new line characters as Unix new line hexcode is '0A' but in windows it is '0D' and '0A' (carriage return and new line).
Note : I cannot recommend the file creator to change it. So I have to find the solution.