Class ChunkingFactory
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.chunking.ChunkingFactory
This class is used to create instance of AbstractChunking.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractChunking
createChunkingInstance
(byte[] fileContent) This method is used to create the instance of AbstractChunking.static AbstractChunking
createChunkingInstance
(byte[] fileContent, ChunkingMethod chunkingMethod) This method is used to create the instance of AbstractChunking.static AbstractChunking
createChunkingInstance
(IntermediateNodeObject nodeObject) This method is used to create the instance of AbstractChunking.
-
Method Details
-
createChunkingInstance
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.
-