code: public static void write(InputStream in, File file) {
          write(in, file.toPath(), StandardCopyOption.REPLACE_EXISTING);
      }
docs: <p>write.</p>
  
  @param in a {@link java.io.InputStream} object.
  @param file a {@link java.io.File} object.