Package | Description |
---|---|
io.vertx.core.file | |
io.vertx.core.http | |
io.vertx.reactivex.core.file | |
io.vertx.rxjava.core.file | |
io.vertx.rxjava3.core.file |
Modifier and Type | Method and Description |
---|---|
AsyncFile |
AsyncFile.drainHandler(Handler<Void> handler) |
AsyncFile |
AsyncFile.endHandler(Handler<Void> endHandler) |
AsyncFile |
AsyncFile.exceptionHandler(Handler<Throwable> handler) |
AsyncFile |
AsyncFile.fetch(long amount) |
AsyncFile |
AsyncFile.flush(Handler<AsyncResult<Void>> handler)
Same as
flush() but the handler will be called when the flush is complete or if an error occurs |
AsyncFile |
AsyncFile.handler(Handler<Buffer> handler) |
AsyncFile |
FileSystem.openBlocking(String path,
OpenOptions options)
Blocking version of
FileSystem.open(String, io.vertx.core.file.OpenOptions, Handler) |
AsyncFile |
AsyncFile.pause() |
AsyncFile |
AsyncFile.read(Buffer buffer,
int offset,
long position,
int length,
Handler<AsyncResult<Buffer>> handler)
Reads
length bytes of data from the file at position position in the file, asynchronously. |
AsyncFile |
AsyncFile.resume() |
AsyncFile |
AsyncFile.setReadBufferSize(int readBufferSize)
Sets the buffer size that will be used to read the data from the file.
|
AsyncFile |
AsyncFile.setReadLength(long readLength)
Sets the number of bytes that will be read when using the file as a
ReadStream . |
AsyncFile |
AsyncFile.setReadPos(long readPos)
Sets the position from which data will be read from when using the file as a
ReadStream . |
AsyncFile |
AsyncFile.setWritePos(long writePos)
Sets the position from which data will be written when using the file as a
WriteStream . |
AsyncFile |
AsyncFile.setWriteQueueMaxSize(int maxSize) |
Modifier and Type | Method and Description |
---|---|
Future<AsyncFile> |
FileSystem.open(String path,
OpenOptions options)
Like
FileSystem.open(String, OpenOptions, Handler) but returns a Future of the asynchronous result |
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystem.open(String path,
OpenOptions options,
Handler<AsyncResult<AsyncFile>> handler)
Open the file represented by
path , asynchronously. |
Modifier and Type | Method and Description |
---|---|
AsyncFile |
HttpServerFileUpload.file() |
Modifier and Type | Method and Description |
---|---|
AsyncFile |
AsyncFile.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static AsyncFile |
AsyncFile.newInstance(AsyncFile arg) |
Constructor and Description |
---|
AsyncFile(AsyncFile delegate) |
Modifier and Type | Method and Description |
---|---|
AsyncFile |
AsyncFile.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static AsyncFile |
AsyncFile.newInstance(AsyncFile arg) |
Constructor and Description |
---|
AsyncFile(AsyncFile delegate) |
Modifier and Type | Method and Description |
---|---|
AsyncFile |
AsyncFile.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static AsyncFile |
AsyncFile.newInstance(AsyncFile arg) |
Constructor and Description |
---|
AsyncFile(AsyncFile delegate) |
Copyright © 2024 Eclipse. All rights reserved.