Class OneNoteTreeWalkerOptions
java.lang.Object
org.apache.tika.parser.microsoft.onenote.OneNoteTreeWalkerOptions
- All Implemented Interfaces:
Serializable
Options when walking the one note tree.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPrint file node data in UTF-16 format when they match these props.boolean
Do this to ignore revisions and just parse all file nodes from the root recursively.boolean
Only parse the latest revision.setCrawlAllFileNodesFromRoot
(boolean crawlAllFileNodesFromRoot) Do this to ignore revisions and just parse all file nodes from the root recursively.setOnlyLatestRevision
(boolean onlyLatestRevision) Only parse the latest revision.setUtf16PropertiesToPrint
(Set<OneNotePropertyEnum> utf16PropertiesToPrint) Print file node data in UTF-16 format when they match these props.
-
Constructor Details
-
OneNoteTreeWalkerOptions
public OneNoteTreeWalkerOptions()
-
-
Method Details
-
isCrawlAllFileNodesFromRoot
public boolean isCrawlAllFileNodesFromRoot()Do this to ignore revisions and just parse all file nodes from the root recursively. -
setCrawlAllFileNodesFromRoot
Do this to ignore revisions and just parse all file nodes from the root recursively.- Parameters:
crawlAllFileNodesFromRoot
-- Returns:
-
isOnlyLatestRevision
public boolean isOnlyLatestRevision()Only parse the latest revision. -
setOnlyLatestRevision
Only parse the latest revision.- Parameters:
onlyLatestRevision
-- Returns:
- Returns this, as per builder pattern.
-
getUtf16PropertiesToPrint
Print file node data in UTF-16 format when they match these props. -
setUtf16PropertiesToPrint
public OneNoteTreeWalkerOptions setUtf16PropertiesToPrint(Set<OneNotePropertyEnum> utf16PropertiesToPrint) Print file node data in UTF-16 format when they match these props.- Parameters:
utf16PropertiesToPrint
- The set of UTF properties you want to print UTF-16 for. Defaults are usually ok here.- Returns:
- Returns this, as per builder pattern.
-