strusUtilities  0.17
filecrawler.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_UTILITIES_LIB_FILECRAWLER_HPP_INCLUDED
11 #define _STRUS_UTILITIES_LIB_FILECRAWLER_HPP_INCLUDED
12 #include <string>
13 #include <vector>
14 
16 namespace strus
17 {
18 
20 class ErrorBufferInterface;
22 class FileCrawlerInterface;
23 
24 
31 FileCrawlerInterface* createFileCrawlerInterface( const std::string& path, int chunkSize, const std::string& extension, ErrorBufferInterface* errorhnd);
32 
33 }//namespace
34 #endif
35 
FileCrawlerInterface * createFileCrawlerInterface(const std::string &path, int chunkSize, const std::string &extension, ErrorBufferInterface *errorhnd)
Create an interface for loading files in chunks for multithreaded processing.