List of usage examples for org.apache.pdfbox.cos COSDocument getVersion
public float getVersion()
From source file:de.oio.jpdfunit.document.pdflibimpl.PdfBoxAnalyser.java
License:Open Source License
/** * The method gets the version of the COSDocument of the PDDocument. * * @return The version of the tested pdf file. *//*from ww w .ja v a 2 s .c om*/ public float getVersion() { final COSDocument cosDoc = pdDocument.getDocument(); return cosDoc.getVersion(); }