code: public boolean endWrite(File file) {
          FileOutputStream fos = null;
          boolean endSuccess = false;
          try {
              fos = new FileOutputStream(file);
              endSuccess = this.endWrite(fos);
          } catch (FileNotFoundException e) {
              e.printStackTrace();
          } finally {
              CommonUtils.closeIOStream(null, fos);
          }
          return endSuccess;
      }
docs: 结束写入并将workbook写入到指定文件
  
  @param file 目标文件
  @return 参考 {@link #endWrite(OutputStream)}