Java 添加、下载、读取PDF中的附件信息

 时间:2024-10-16 13:57:38

1、(推荐)方式1. 首疏扌熘创建Maven项目程序,通过maven仓库下载导入。以IDEA为例,新建Maven项目,在pom.xml文件中配置maven仓库路径,并指定spire.cloud.s颊俄岿髭dk的依赖,如下:<repositories> <repository> <id>com.e-iceblue</id> <name>cloud</name> <url>http://repo.e-iceblue.cn/repository/maven-public/</url> </repository></repositories><dependencies> <dependency> <groupId> cloud </groupId> <artifactId>spire.cloud.sdk</artifactId> <version>3.5.0</version> </dependency> <dependency> <groupId> com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.1</version> </dependency> <dependency> <groupId> com.squareup.okhttp</groupId> <artifactId>logging-interceptor</artifactId> <version>2.7.5</version> </dependency> <dependency> <groupId> com.squareup.okhttp </groupId> <artifactId>okhttp</artifactId> <version>2.7.5</version> </dependency> <dependency> <groupId> com.squareup.okio </groupId> <artifactId>okio</artifactId> <version>1.6.0</version> </dependency> <dependency> <groupId> io.gsonfire</groupId> <artifactId>gson-fire</artifactId> <version>1.8.0</version> </dependency> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> <version>1.5.18</version> </dependency> <dependency> <groupId> org.threeten </groupId> <artifactId>threetenbp</artifactId> <version>1.3.5</version> </dependency></dependencies>完成配置后,点击“Import Changes” 即可导入所有需要的jar文件。如果使用的是Eclipse,可参考"E-iceblue官网-在线编辑-帮助文档-WebAPI-Java-通过 Maven 仓库安装 Spire.Cloud Web API "的导入方法。方式2:手动下载jar包,然后解压文件,手动导入jar,同时还需另行手动导入其他几个jar文件(相对比较麻烦一点)。最终导入结果如下:

Java 添加、下载、读取PDF中的附件信息
  • 怎么去掉Word中的回车符
  • 使用交换机组建办公网
  • word如何自定义段落编号格式?
  • 在Word中输入带方框的钩或叉的 方法
  • word2003如何给空白处加下划线
  • 热门搜索
    喀秋莎是什么意思 上升星座代表什么 邮箱是什么意思 广州有什么好玩的地方 the是什么意思 血友病是什么病 碳酸钙是什么 我懂得了什么作文 city是什么意思 eur是什么意思