Class ChunkingFactory


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

      • 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​(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.