Class OneNoteGuidCollector
java.lang.Object
org.apache.tika.parser.microsoft.onenote.OneNoteGuidCollector
Collects the GUID metadata of one OneNote section for the classic and FSSHTTPB parsers.
Values are deduplicated per key and capped at
MAX_GUID_COUNT in total.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(OneNoteGuidCollector.Category category, String guid) voidaddForObjectType(int jcid, String guid) Records a NotebookManagementEntityGuid under the key for the JCID of the object that carries it.booleanisFull()voidSets each non-empty key onmetadata, with values sorted.values(OneNoteGuidCollector.Category category)
-
Field Details
-
MAX_GUID_COUNT
public static final int MAX_GUID_COUNT- See Also:
-
-
Constructor Details
-
OneNoteGuidCollector
-
-
Method Details
-
add
-
addForObjectType
Records a NotebookManagementEntityGuid under the key for the JCID of the object that carries it. Section-node objects and unrecognized JCIDs are skipped. -
values
-
isFull
public boolean isFull() -
publish
Sets each non-empty key onmetadata, with values sorted.
-