[英]How to extract text from PDF using PDFExtStream using Java
Text is not extracted from Sample.pdf file by using pdftextstream-2.6.3.jar文本不是通过使用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();
Earlier today, we released PDFxStream v3.1.2 .今天早些时候,我们发布了PDFxStream v3.1.2 。 This is a bugfix release that includes a fix for the issue you encountered here.这是一个错误修复版本,其中包括对您在此处遇到的问题的修复。
In the future, please do get in touch with us directly if you have any difficulties, at help@snowtide.com;以后有任何困难,请直接与我们联系,邮箱help@snowtide.com; we do everything we can to support our customers and users.我们竭尽全力支持我们的客户和用户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.