This commit is contained in:
Jochen Staerk
2017-05-25 10:28:14 +02:00
5 changed files with 313 additions and 13 deletions

View File

@@ -396,19 +396,6 @@ public class ZUGFeRDExporter implements Closeable {
}
public boolean isValidA1(String filename) {
FileDataSource fd = new FileDataSource(filename);
PreflightParser parser;
try {
parser = new PreflightParser(fd);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return false;
}
return getA1ParserValidationResult(parser);
}
/***
* Will return a boolean if the inputstream is valid PDF/A-1 and close the input stream