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

public static void close ( OutputStream out ) { try { if ( out != null ) { out . close ( ) ; } } catch ( IOException ioE ) { } }
closes an output stream .
