code: public static void writeTo(Object object, String path) throws IOException, NoSuchMethodException,
              IllegalAccessException, InvocationTargetException {
          OutputStream os = new FileOutputStream(path);
          ReflectUtils.invokeMethod(object, "write", new Class<?>[]{OutputStream.class}, new Object[]{os});
          os.close();
          logger.info("文件已输出：" + path);
      }
docs: 保存Office文档
  
  @param object {@link POIXMLDocument} 对象
  @param path 输出路径
  
  @throws IOException 异常
  @throws NoSuchMethodException 异常
  @throws IllegalAccessException 异常
  @throws InvocationTargetException 异常