Here you can find the source of closeBufferedFile(BufferedReader reader)
public static void closeBufferedFile(BufferedReader reader)
//package com.java2s; //License from project: Open Source License import java.io.*; public class Main { public static void closeBufferedFile(BufferedReader reader) { try {/*from w w w.j a v a 2s . c o m*/ if (reader != null) reader.close(); } catch (IOException e) { throw new RuntimeException("Cannot close file. " + e.getMessage()); } } }