pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Ye <yuanzhou...@gmail.com>
Subject PDDocument.load no longer has the force option?
Date Fri, 11 Dec 2015 15:02:56 GMT
Hi,


With the latest version 2.0.0-RC2, I found that the force flag of the below
method signature (to skip corrupt PDF objects) no longer exists. This broke
some of our existing usage. Could you advise if there's an alternative way
to do it (i.e. skip corrupt objects)?



public static PDDocument
<http://pdfbox.apache.org/docs/1.8.10/javadocs/org/apache/pdfbox/pdmodel/PDDocument.html>
 load(InputStream
<http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true>
 input,
              boolean force)
                       throws IOException
<http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true>



Many thanks,

Joe

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message