Here you can find the source of closePermanentOutputWriter()
public static void closePermanentOutputWriter()
//package com.java2s; //License from project: GNU General Public License import java.io.BufferedWriter; import java.io.IOException; public class Main { private static BufferedWriter outputWriter = null; public static void closePermanentOutputWriter() { if (outputWriter != null) try { outputWriter.close();//from ww w.jav a 2 s. c o m } catch (IOException e) { e.printStackTrace(); } } }