https://blog.conholdate.com/total/edit-pdf-properties-and-metadata-using-java/
Edit PDF Properties and Metadata using Java