Examples-GroupDocs.Metadata-for-Java
// initialize DocFormat
DocFormat docFormat = new DocFormat(Common.mapSourceFilePath(path));
// get document properties
DocMetadata properties = docFormat.getDocumentProperties();
// get author
System.out.printf("Author: %s ", properties.getAuthor());
// get company
System.out.printf("Company: %s ", properties.getAuthor());
// get name of the last author
System.out.printf("Last Saved By: %s ", properties.getLastSavedBy());