@Override
  public JcUser packageZip(JcUser jcUser) {
    try {
      String weibo = compositeWeibo(jcUser);
      byte[] data = weibo.getBytes();
      BufferedOutputStream stream =
          new BufferedOutputStream(new FileOutputStream(new File(path, "index.html")));
      stream.write(data);
      stream.close();

      // package files in zip
      String zipPath = path + ".zip";
      File zip = new File(zipPath);
      FileUtils.zipFile(new File(path), zip);
      jcUser.setZipPath(zipPath);
      float fileSize = zip.length();
      jcUser.setFileSize(fileSize / (1024 * 1024));
    } catch (FileNotFoundException e) {
      LOG.debug("not found file' \n" + e);
    } catch (IOException e2) {
      LOG.debug("dowload zip function occured errer: \n" + e2);
    }
    return jcUser;
  }