Read .pub file formats
Convert PUB files to PDF
Work with PUB files Metadata
Aspose.PUB for Java can read and convert publication files (.pub) to PDF file , with just a few lines of code.
IPubParser parser = PubFactory.createParser("fileName");
Document doc = parser.parse();
com.aspose.pub.PubFactory.createPdfConverter().convertToPdf(doc, "result_out.pdf");