public static void close(InputStream in){
  try {
    if (in != null) {
      in.close();
    }
  }
 catch (  IOException ioE) {
  }
}

public static void close ( InputStream in ) { try { if ( in != null ) { in . close ( ) ; } } catch ( IOException ioE ) { } }
closes an input stream .
