Package net.kuujo.vertigo.io

Examples of net.kuujo.vertigo.io.FileReceiver


  }

  public static class TestFileReceiver extends ComponentVerticle {
    @Override
    public void start() {
      FileReceiver receiver = new FileReceiver(input.port("in"));
      receiver.fileHandler(new Handler<String>() {
        @Override
        public void handle(String filePath) {
          assertTrue(vertx.fileSystem().existsSync(filePath));
          vertx.fileSystem().deleteSync(filePath);
          testComplete();
View Full Code Here

TOP

Related Classes of net.kuujo.vertigo.io.FileReceiver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.