public class ChunkingFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
public static AbstractChunking createChunkingInstance(byte[] fileContent)
fileContent - The content of the file.public static AbstractChunking createChunkingInstance(IntermediateNodeObject nodeObject) throws TikaException, IOException
nodeObject - Specify the root node object.TikaExceptionIOExceptionpublic static AbstractChunking createChunkingInstance(byte[] fileContent, ChunkingMethod chunkingMethod)
fileContent - The content of the file.chunkingMethod - The type of chunking methods.Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.