Class MSOneStorePackage
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.MSOneStorePackage
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe content cells (object spaces, e.g. pages), each with its object groups and the root object declarations of its current revision.The fully populated storage index. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindStorageIndexCellMapping(CellID cellID) This method is used to find the Storage Index Cell Mapping matches the Cell ID.findStorageIndexRevisionMapping(ExGuid revisionExtendedGUID) This method is used to find the Storage Index Revision Mapping that matches the Revision Mapping Extended GUID.booleanWhether the tree walk emitted any content - text or an embedded object.voidwalkTree(OneNoteTreeWalkerOptions options, Metadata metadata, XHTMLContentHandler xhtml, ParseContext parseContext)
-
Field Details
-
storageIndex
The fully populated storage index. Set this before performing storage-index lookups; its mapping lists are indexed once and must not be mutated afterward. -
storageManifest
-
headerCellCellManifest
-
headerCellRevisionManifest
-
revisionManifests
-
cellManifests
-
headerCell
-
dataRootCell
-
OtherFileNodeList
-
cells
The content cells (object spaces, e.g. pages), each with its object groups and the root object declarations of its current revision.
-
-
Constructor Details
-
MSOneStorePackage
public MSOneStorePackage()
-
-
Method Details
-
findStorageIndexCellMapping
This method is used to find the Storage Index Cell Mapping matches the Cell ID.- Parameters:
cellID- Specify the Cell ID.- Returns:
- the specific Storage Index Cell Mapping, or
nullif it is absent.
-
findStorageIndexRevisionMapping
This method is used to find the Storage Index Revision Mapping that matches the Revision Mapping Extended GUID.- Parameters:
revisionExtendedGUID- Specify the Revision Mapping Extended GUID.- Returns:
- the instance of Storage Index Revision Mapping, or
nullif it is absent.
-
walkTree
public void walkTree(OneNoteTreeWalkerOptions options, Metadata metadata, XHTMLContentHandler xhtml, ParseContext parseContext) throws SAXException, TikaException, IOException - Throws:
SAXExceptionTikaExceptionIOException
-
hasEmittedContent
public boolean hasEmittedContent()Whether the tree walk emitted any content - text or an embedded object. When it did not, the caller can fall back to the legacy string dump so a degraded file still yields its text.
-