Here you can find the source of closeBufferedReader(BufferedReader bufferedReader)
Parameter | Description |
---|
public final static void closeBufferedReader(BufferedReader bufferedReader)
//package com.java2s; //License from project: Open Source License import java.io.BufferedReader; import java.io.IOException; public class Main { /**/* www .j av a 2 s. c om*/ * @param bufferedReader: opened file in reader mode; it can be null * */ public final static void closeBufferedReader(BufferedReader bufferedReader) { if (null != bufferedReader) { try { bufferedReader.close(); } catch (IOException e) { /*recursive try/catch*/} } } }