public class FileSet extends Object
| Constructor and Description | 
|---|
FileSet(Vertx vertx,
       File root,
       JsonObject set)
Creates a new  
FileSet from a json object. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
buildConfiguration(List<File> files,
                  Handler<AsyncResult<JsonObject>> handler)
Iterates over the given set of files, and for each matching file, computes the resulting configuration. 
 | 
static List<File> | 
traverse(File root)
List all the files from a directory (recursive) 
 | 
public FileSet(Vertx vertx, File root, JsonObject set)
FileSet from a json object.vertx - the Vert.x instanceroot - the root of the fileset (directory)set - the configurationpublic void buildConfiguration(List<File> files, Handler<AsyncResult<JsonObject>> handler)
files - the list of fileshandler - the handler called with the computed configurationCopyright © 2020 Eclipse. All rights reserved.