It appears that in 5.5.2 of iText the XmpReader is deprecated along with a lot of other things related to XMP.
What is the recommended to reading XMP metadata from Pdf files?
Thank you
If you read the changelog from 5.4.4 you'll find:
- Changes made by Eugene Markovskyi
- Replaced the iText XMP implementation with Adobe's XMP Core library
You'll want to look into the com.itextpdf.xmp
namespace and you're probably most interested in XmpMetaFactory.parseFromBuffer
which you can pass the metadata from PdfReader
to.