import de.pdf_scrutinizer.Scrutinizer;
import de.pdf_scrutinizer.document.DocumentAdapter;
public class Info {
public Info(Scrutinizer scrutinizer) {
DocumentAdapter documentAdapter = scrutinizer.getDocumentAdapter();
if (documentAdapter != null && documentAdapter.IsDocLoaded()) {
PDDocument pd = documentAdapter.getDocument();
PDDocumentInformation docinfo = pd.getDocumentInformation();
if (docinfo != null) {
Title = title = docinfo.getTitle();
Author = author = docinfo.getAuthor();
Subject = subject = docinfo.getSubject();