Java tutorial
//package com.java2s; import android.util.Log; import java.io.IOException; import java.io.InputStream; public class Main { private static void closeInputStream(InputStream in) { if (null != in) { try { in.close(); } catch (IOException e) { Log.v("BitMapUtil", "closeInputStream==" + e.toString()); } } } }