Here you can find the source of closeQuietly(InputStream input)
public static void closeQuietly(InputStream input)
//package com.java2s; //License from project: Apache License import java.io.*; public class Main { public static void closeQuietly(Reader input) { closeQuietly((Closeable) input); }/*from w ww. j a v a 2 s . co m*/ public static void closeQuietly(InputStream input) { closeQuietly((Closeable) input); } public static void closeQuietly(Closeable input) { try { if (input != null) { input.close(); } } catch (IOException ioe) { // ignore } } }