title: creating text file and saving in unix format in java
body: <p>I need to write java code to be able to work in Unix environment for file operations. As I need to deal with files, how do I create and save a file in Unix format in Java?</p>