Here you can find the source of writeFile(BufferedWriter fw, String line)
public static void writeFile(BufferedWriter fw, String line) throws IOException
//package com.java2s; //License from project: Open Source License import java.io.BufferedWriter; import java.io.IOException; public class Main { public static void writeFile(BufferedWriter fw, String line) throws IOException { fw.append(line + "\r\n"); }/* w ww. ja v a2 s . c o m*/ }