This class is used to process zip file chunking.
Inheritance: AbstractChunking
        /// <summary>
        /// This method is used to create the instance of AbstractChunking.
        /// </summary>
        /// <param name="fileContent">The content of the file.</param>
        /// <param name="chunkingMethod">The type of chunking methods.</param>
        /// <returns>The instance of AbstractChunking.</returns>
        public static AbstractChunking CreateChunkingInstance(byte[] fileContent, ChunkingMethod chunkingMethod)
        {
            AbstractChunking chunking = null;

            switch (chunkingMethod)
            {
            case ChunkingMethod.RDCAnalysis:
                chunking = new RDCAnalysisChunking(fileContent);
                break;

            case ChunkingMethod.SimpleAlgorithm:
                chunking = new SimpleChunking(fileContent);
                break;

            case ChunkingMethod.ZipAlgorithm:
                chunking = new ZipFilesChunking(fileContent);
                break;

            default:
                throw new InvalidOperationException("Cannot support the chunking type" + chunkingMethod.ToString());
            }

            return(chunking);
        }
        /// <summary>
        /// This method is used to create the instance of AbstractChunking.
        /// </summary>
        /// <param name="fileContent">The content of the file.</param>
        /// <param name="chunkingMethod">The type of chunking methods.</param>
        /// <returns>The instance of AbstractChunking.</returns>
        public static AbstractChunking CreateChunkingInstance(byte[] fileContent, ChunkingMethod chunkingMethod)
        {
            AbstractChunking chunking = null;
            switch (chunkingMethod)
            {
                case ChunkingMethod.RDCAnalysis:
                    chunking = new RDCAnalysisChunking(fileContent);
                    break;
                case ChunkingMethod.SimpleAlgorithm:
                    chunking = new SimpleChunking(fileContent);
                    break;
                case ChunkingMethod.ZipAlgorithm:
                    chunking = new ZipFilesChunking(fileContent);
                    break;

                default:
                    throw new InvalidOperationException("Cannot support the chunking type" + chunkingMethod.ToString());
            }

            return chunking;
        }