org.vertx.scala.core

file

package file

Visibility
  1. Public
  2. All

Type Members

  1. final class AsyncFile extends Self with ReadStream with WriteStream with Closeable

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

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

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

    Instances of AsyncFile are not thread-safe

  2. final class FileProps extends AnyVal

    Represents properties of a file on the file system

    Represents properties of a file on the file system

    Instances of FileProps are thread-safe

  3. final class FileSystem extends Self

    Contains a broad set of operations for manipulating files.

    Contains a broad set of operations for manipulating files.

    An asynchronous and a synchronous version of each operation is provided.

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

    The synchronous versions return the results, or throw exceptions directly.

    It is highly recommended the asynchronous versions are used unless you are sure the operation will not block for a significant period of time.

    Instances of FileSystem are thread-safe.

  4. final class FileSystemProps extends AnyVal

    Represents properties of the file system.

    Represents properties of the file system.

    Instances of FileSystemProps are thread-safe.

Value Members

  1. object AsyncFile

    Factory for org.vertx.scala.core.file.AsyncFile instances.

  2. object FileProps

    Factory for org.vertx.scala.core.file.FileProps instances.

  3. object FileSystem

    Factory for org.vertx.scala.core.file.FileSystem instances.

  4. object FileSystemProps

    Factory for org.vertx.scala.core.file.FileSystemProps instances.

Ungrouped