Class OneNoteTreeWalkerOptions
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.OneNoteTreeWalkerOptions
-
- All Implemented Interfaces:
Serializable
public class OneNoteTreeWalkerOptions extends Object implements Serializable
Options when walking the one note tree.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OneNoteTreeWalkerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<OneNotePropertyEnum>getUtf16PropertiesToPrint()Print file node data in UTF-16 format when they match these props.booleanisCrawlAllFileNodesFromRoot()Do this to ignore revisions and just parse all file nodes from the root recursively.booleanisOnlyLatestRevision()Only parse the latest revision.OneNoteTreeWalkerOptionssetCrawlAllFileNodesFromRoot(boolean crawlAllFileNodesFromRoot)Do this to ignore revisions and just parse all file nodes from the root recursively.OneNoteTreeWalkerOptionssetOnlyLatestRevision(boolean onlyLatestRevision)Only parse the latest revision.OneNoteTreeWalkerOptionssetUtf16PropertiesToPrint(Set<OneNotePropertyEnum> utf16PropertiesToPrint)Print file node data in UTF-16 format when they match these props.
-
-
-
Method Detail
-
isCrawlAllFileNodesFromRoot
public boolean isCrawlAllFileNodesFromRoot()
Do this to ignore revisions and just parse all file nodes from the root recursively.
-
setCrawlAllFileNodesFromRoot
public OneNoteTreeWalkerOptions setCrawlAllFileNodesFromRoot(boolean crawlAllFileNodesFromRoot)
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
public OneNoteTreeWalkerOptions setOnlyLatestRevision(boolean onlyLatestRevision)
Only parse the latest revision.- Parameters:
onlyLatestRevision-- Returns:
- Returns this, as per builder pattern.
-
getUtf16PropertiesToPrint
public Set<OneNotePropertyEnum> 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.
-
-