public static void closeInputStream(InputStream in){
  try {
    in.close();
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

public static void closeInputStream ( InputStream in ) { try { in . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
close the input stream
