com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class ProjectManagementRootPackage

  • All Implemented Interfaces:
    Iterable<MetadataProperty>


    public class ProjectManagementRootPackage
    extends DocumentRootPackage<ProjectManagementPackage>

    Represents the root package intended to work with metadata in a project management format.

    Learn more

    This code sample demonstrates how to extract built-in properties of a ProjectManagement document.

    try (Metadata metadata = new Metadata(Constants.InputMpp)) {
         ProjectManagementRootPackage root = metadata.getRootPackageGeneric();
         System.out.println(root.getDocumentProperties().getAuthor());
         System.out.println(root.getDocumentProperties().getCreationDate());
         System.out.println(root.getDocumentProperties().getCompany());
         System.out.println(root.getDocumentProperties().getCategory());
         System.out.println(root.getDocumentProperties().getKeywords());
         System.out.println(root.getDocumentProperties().getRevision());
         System.out.println(root.getDocumentProperties().getSubject());
         // ...
     }