快速上手

<dependency>
    <groupId>org.apache.pdfbox</groupId>
    <artifactId>pdfbox</artifactId>
    <version>3.0.6</version>
    <scope>compile</scope>
</dependency>
public static void main(String[] args) throws FileNotFoundException {
    FileInputStream fileInputStream = new FileInputStream("./报告.pdf");
    String text = PDFUtil.pdfToString(fileInputStream);
    System.out.println(text);
}
本站提供的所有下载资源均来自互联网,仅提供学习交流使用,版权归原作者所有。如需商业使用,请联系原作者获得授权。 如您发现有涉嫌侵权的内容,请联系我们 邮箱:alixiixcom@163.com