Package | Description |
---|---|
io.vertx.core.file | |
io.vertx.reactivex.core.file | |
io.vertx.rxjava.core.file | |
io.vertx.rxjava3.core.file |
Modifier and Type | Method and Description |
---|---|
OpenOptions |
OpenOptions.setAppend(boolean append)
Whether the file should be opened in append mode.
|
OpenOptions |
OpenOptions.setCreate(boolean create)
Set whether the file should be created if it does not already exist.
|
OpenOptions |
OpenOptions.setCreateNew(boolean createNew)
Set whether the file should be created and fail if it does exist already.
|
OpenOptions |
OpenOptions.setDeleteOnClose(boolean deleteOnClose)
Set whether the file should be deleted when it's closed, or the JVM is shutdown.
|
OpenOptions |
OpenOptions.setDsync(boolean dsync)
Set whether every write to the file's content will be written synchronously to the underlying hardware.
|
OpenOptions |
OpenOptions.setPerms(String perms)
Set the permissions string
|
OpenOptions |
OpenOptions.setRead(boolean read)
Set whether the file is to be opened for reading
|
OpenOptions |
OpenOptions.setSparse(boolean sparse)
Set whether a hint should be provided that the file to created is sparse
|
OpenOptions |
OpenOptions.setSync(boolean sync)
Set whether every write to the file's content and meta-data will be written synchronously to the underlying hardware.
|
OpenOptions |
OpenOptions.setTruncateExisting(boolean truncateExisting)
Set whether the file should be truncated to zero length on opening if it exists and is opened for write
|
OpenOptions |
OpenOptions.setWrite(boolean write)
Set whether the file is to be opened for writing
|
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 |
FileSystem |
FileSystem.open(String path,
OpenOptions options,
Handler<AsyncResult<AsyncFile>> handler)
Open the file represented by
path , asynchronously. |
AsyncFile |
FileSystem.openBlocking(String path,
OpenOptions options)
Blocking version of
FileSystem.open(String, io.vertx.core.file.OpenOptions, Handler) |
Constructor and Description |
---|
OpenOptions(OpenOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystem.open(String path,
OpenOptions options)
Open the file represented by
path , asynchronously. |
FileSystem |
FileSystem.open(String path,
OpenOptions options,
Handler<AsyncResult<AsyncFile>> handler)
Open the file represented by
path , asynchronously. |
AsyncFile |
FileSystem.openBlocking(String path,
OpenOptions options)
|
Single<AsyncFile> |
FileSystem.rxOpen(String path,
OpenOptions options)
Open the file represented by
path , asynchronously. |
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystem.open(String path,
OpenOptions options)
Open the file represented by
path , asynchronously. |
FileSystem |
FileSystem.open(String path,
OpenOptions options,
Handler<AsyncResult<AsyncFile>> handler)
Open the file represented by
path , asynchronously. |
AsyncFile |
FileSystem.openBlocking(String path,
OpenOptions options)
|
Single<AsyncFile> |
FileSystem.rxOpen(String path,
OpenOptions options)
Open the file represented by
path , asynchronously. |
Modifier and Type | Method and Description |
---|---|
Single<AsyncFile> |
FileSystem.open(String path,
OpenOptions options)
Open the file represented by
path , asynchronously. |
AsyncFile |
FileSystem.openBlocking(String path,
OpenOptions options)
Blocking version of
FileSystem.open(java.lang.String, io.vertx.core.file.OpenOptions) |
Single<AsyncFile> |
FileSystem.rxOpen(String path,
OpenOptions options)
Open the file represented by
path , asynchronously. |
Copyright © 2021 Eclipse. All rights reserved.