java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.chunking.ChunkingFactory

public class ChunkingFactory extends Object
This class is used to create instance of AbstractChunking.
  • Method Details

    • createChunkingInstance

      public static AbstractChunking createChunkingInstance(byte[] fileContent)
      This method is used to create the instance of AbstractChunking.
      Parameters:
      fileContent - The content of the file.
      Returns:
      The instance of AbstractChunking.
    • createChunkingInstance

      public static AbstractChunking createChunkingInstance(IntermediateNodeObject nodeObject) throws TikaException, IOException
      This method is used to create the instance of AbstractChunking.
      Parameters:
      nodeObject - Specify the root node object.
      Returns:
      The instance of AbstractChunking.
      Throws:
      TikaException
      IOException
    • createChunkingInstance

      public static AbstractChunking createChunkingInstance(byte[] fileContent, ChunkingMethod chunkingMethod)
      This method is used to create the instance of AbstractChunking.
      Parameters:
      fileContent - The content of the file.
      chunkingMethod - The type of chunking methods.
      Returns:
      The instance of AbstractChunking.