try
{
document = PDDocument.load( args[0] );
PDDocumentCatalog catalog = document.getDocumentCatalog();
PDMetadata meta = catalog.getMetadata();
XMPMetadata metadata = meta.exportXMPMetadata();
XMPSchemaDublinCore dc = metadata.getDublinCoreSchema();
if (dc != null)
{
display("Title:", dc.getTitle());