public static void closeOutStream(OutputStream out){
  try {
    out.close();
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

public static void closeOutStream ( OutputStream out ) { try { out . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
close the out stream
