public class NoteRootPackage extends RootMetadataPackage
Represents the root package intended to work with metadata in an electronic note file.
Learn more
This code sample demonstrates how to inspect a note document.
try (Metadata metadata = new Metadata(Constants.InputOne)) { NoteRootPackage root = metadata.getRootPackageGeneric(); if (root.getInspectionPackage().getPages() != null) { for (NotePage page : root.getInspectionPackage().getPages()) { System.out.println(page.getTitle()); System.out.println(page.getAuthor()); System.out.println(page.getCreationTime()); System.out.println(page.getLastModificationTime()); } } }
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(MetadataPackage metadataPackage) |
DocumentStatistics |
getDocumentStatistics()
Gets the document statistics package.
|
NoteInspectionPackage |
getInspectionPackage()
Gets a metadata package containing inspection results for the document.
|
getFileType, isLicensed, sanitizeaddProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, setProperties, updatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void copyTo(MetadataPackage metadataPackage)
copyTo in class RootMetadataPackagepublic final DocumentStatistics getDocumentStatistics()
Gets the document statistics package.
public final NoteInspectionPackage getInspectionPackage()
Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases.
Copyright © 2025. All rights reserved.