algoliasearch/src/offline/java/com/algolia/search/saas/OfflineIndex.java
public Request buildFromFiles(@NonNull final File settingsFile, @NonNull final File[] objectFiles, @Nullable CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localBuildExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _build(settingsFile, objectFiles);
            }
        }.start();
    }
public Request buildFromFiles(@NonNull final File settingsFile, @NonNull final File[] objectFiles, @Nullable CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler, getClient().localBuildExecutorService) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return _build(settingsFile, objectFiles);
            }
        }.start();
    }
public Request buildFromFiles ( @ NonNull final File settingsFile , @ NonNull final File [ ] objectFiles , @ Nullable CompletionHandler completionHandler ) { return getClient ( ) . new AsyncTaskRequest ( completionHandler , getClient ( ) . localBuildExecutorService ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return _build ( settingsFile , objectFiles ) ; } } . start ( ) ; }
Build the index from local data stored on the filesystem.

@param settingsFile Absolute path to the file containing the index settings, in JSON format.
@param objectFiles Absolute path(s) to the file(s) containing the objects. Each file must contain an array of
objects, in JSON format.
@param completionHandler Optional completion handler to be notified of the build's outcome.
@return A cancellable request.

**Note:** Cancelling the request does *not* cancel the build; it merely prevents the completion handler from
being called.
Build the index from local data stored on the filesystem .