Here you can find the source of closeQuietly(InputStream is)
Parameter | Description |
---|---|
is | a parameter |
public static void closeQuietly(InputStream is)
//package com.java2s; //License from project: Apache License import java.io.InputStream; public class Main { /** //from w ww . j av a 2 s . c o m * @param is */ public static void closeQuietly(InputStream is) { try { if (is != null) { is.close(); } } catch (Exception e) { //Ignore } } }