Text aus einer PDF Datei im String speichern:
public class FundB_ParserZahlenBU { public static void main(String[] args) { File pdfFile = new File("C:\\Users\\...pdf"); try { PDDocument pddocument = PDDocument.load(pdfFile); PDFTextStripper pdfStripper = new PDFTextStripper(); String text = pdfStripper.getText(pddocument); pddocument.close(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } }