vertx / io.vertx.reactivex.core.file

Package io.vertx.reactivex.core.file

Types

AsyncFile

open class AsyncFile : ReadStream<Buffer>, WriteStream<Buffer>

Represents a file on the file-system which can be read from, or written to asynchronously.

This class also implements io.vertx.reactivex.core.streams.ReadStream and io.vertx.reactivex.core.streams.WriteStream. This allows the data to be pumped to and from other streams, e.g. an io.vertx.reactivex.core.http.HttpClientRequest instance, using the io.vertx.reactivex.core.streams.Pump class

NOTE: This class has been automatically generated from the io.vertx.core.file.AsyncFile non RX-ified interface using Vert.x codegen.

FileProps

open class FileProps

Represents properties of a file on the file system.

NOTE: This class has been automatically generated from the io.vertx.core.file.FileProps non RX-ified interface using Vert.x codegen.

FileSystem

open class FileSystem

Contains a broad set of operations for manipulating files on the file system.

A (potential) blocking and non blocking version of each operation is provided.

The non blocking versions take a handler which is called when the operation completes or an error occurs.

The blocking versions are named xxxBlocking and return the results, or throw exceptions directly. In many cases, depending on the operating system and file system some of the potentially blocking operations can return quickly, which is why we provide them, but it's highly recommended that you test how long they take to return in your particular application before using them on an event loop.

Please consult the documentation for more information on file system support.

NOTE: This class has been automatically generated from the io.vertx.core.file.FileSystem non RX-ified interface using Vert.x codegen.

FileSystemProps

open class FileSystemProps

Represents properties of the file system. NOTE: This class has been automatically generated from the io.vertx.core.file.FileSystemProps non RX-ified interface using Vert.x codegen.