Here you can find the source of closeQuietly(final Reader reader)
public static boolean closeQuietly(final Reader reader)
//package com.java2s; //License from project: Apache License import java.io.*; public class Main { public static boolean closeQuietly(final Reader reader) { if (reader != null) { try { reader.close();//from ww w . j a v a 2 s .c o m return true; } catch (final Exception ex) { return false; } } return false; } }