vertx / io.vertx.core.file

Package io.vertx.core.file

Types

FileProps

interface FileProps

Represents properties of a file on the file system.

FileSystem

interface 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.

Exceptions

FileSystemException

open class FileSystemException : VertxException

Exception thrown by the FileSystem class