Using PDFBox 2.0.7, this is how I get the text of a PDF: static String getText(File pdfFile) throws IOException { PDDocument doc = PDDocument.load(pdfFile); ...
確定! 回上一頁