Validate PDF using PDFBox
Sorry for a possible duplicate post, I want to implement PDF validation using PDFBox library. I am very new to this topic for PDF validation. When I was going through the lots of Stack Overflow questions for PDF validation I mostly found some data more around PDF/A validation, as I am new to this I am not aware about PDF/A, I am learning and trying to understand this but it would be really helpful if anyone could help me with the example how to implement PDF validation in Java using PDFBox.
My primary goal is to validate PDF is in standard format or not and PDF is corrupted or not.
Please let me know how can I achieve this using Java 1.8 with PDFBox library.