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:
  • 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

      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.