未使用pdftextstream-2.6.3.jar从Sample.pdf文件中提取文本
String filePath = "D:\\inbox\\temp\\Sample.pdf";
File document = new File(filePath);
StringBuffer pdfText = new StringBuffer(1024);
com.snowtide.pdf.OutputTarget tgt = new com.snowtide.pdf.OutputTarget(pdfText);
PDFTextStream stream = new PDFTextStream(document);
stream.pipe(tgt);
stream.close();