public class FileSet extends Object
Constructor and Description |
---|
FileSet(io.vertx.core.Vertx vertx,
File root,
io.vertx.core.json.JsonObject set)
Creates a new
FileSet from a json object. |
Modifier and Type | Method and Description |
---|---|
void |
buildConfiguration(List<File> files,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.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 void buildConfiguration(List<File> files, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
files
- the list of fileshandler
- the handler called with the computed configurationCopyright © 2018. All rights reserved.