Java io.vertx.core.file AsyncFile fields, constructors, methods, implement or subclass

Example usage for Java io.vertx.core.file AsyncFile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.vertx.core.file AsyncFile.

The text is from its open source code.

Method

Futureclose()
Close the file.
voidclose(Handler> handler)
Close the file.
AsyncFileendHandler(Handler endHandler)
AsyncFilehandler(Handler handler)
AsyncFileread(Buffer buffer, int offset, long position, int length, Handler> handler)
Reads length bytes of data from the file at position position in the file, asynchronously.
Futurewrite(T data)
Write some data to the stream.
voidwrite(Buffer buffer, long position, Handler> handler)
Write a io.vertx.core.buffer.Buffer to the file at position position in the file, asynchronously.