AdobePDFAdapter pdf = AdobePDFSchema.getAdapter(meta);
info.setKeywords(pdf.getKeywords());
info.setProducer(pdf.getProducer());
XMPBasicAdapter xmpBasic = XMPBasicSchema.getAdapter(meta);
info.setCreator(xmpBasic.getCreatorTool());
Date d;
d = xmpBasic.getCreateDate();
xmpBasic.setCreateDate(d); //To make Adobe Acrobat happy (bug filed with Adobe)
//Adobe Acrobat doesn't like it when the xmp:CreateDate has a different timezone
//than Info/CreationDate
info.setCreationDate(d);
d = xmpBasic.getModifyDate();
if (d != null) { //ModifyDate is only required for PDF/X
xmpBasic.setModifyDate(d);
info.setModDate(d);
}
}