Here you can find the source of close(InputStream closeable)
public static void close(InputStream closeable)
//package com.java2s; //License from project: LGPL import java.io.IOException; import java.io.InputStream; public class Main { public static void close(InputStream closeable) { try {/* ww w . j a v a 2s . c om*/ if (closeable != null) { closeable.close(); } } catch (IOException e) { } } }