Java io.vertx.core.file FileSystem fields, constructors, methods, implement or subclass

Example usage for Java io.vertx.core.file FileSystem fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.vertx.core.file FileSystem.

The text is from its open source code.

Method

FileSystemcopy(String from, String to, Handler> handler)
Copy a file from the path from to path to , asynchronously.
Futurecopy(String from, String to, CopyOptions options)
Like #copy(String,String,CopyOptions,Handler) but returns a Future of the asynchronous result
FileSystemcopyBlocking(String from, String to)
Blocking version of #copy(String,String,Handler)
FileSystemcopyRecursiveBlocking(String from, String to, boolean recursive)
Blocking version of #copyRecursive(String,String,boolean,Handler)
FileSystemcreateFile(String path, Handler> handler)
Creates an empty file with the specified path , asynchronously.
FuturecreateFile(String path, String perms)
Like #createFile(String,String,Handler) but returns a Future of the asynchronous result
FileSystemcreateFileBlocking(String path)
Blocking version of #createFile(String,Handler)
FileSystemdelete(String path, Handler> handler)
Deletes the file represented by the specified path , asynchronously.
FileSystemdeleteRecursive(String path, boolean recursive, Handler> handler)
Deletes the file represented by the specified path , asynchronously.
FileSystemdeleteRecursiveBlocking(String path, boolean recursive)
Blocking version of #deleteRecursive(String,boolean,Handler)
booleanexistsBlocking(String path)
Blocking version of #exists(String,Handler)
FileSystemmkdir(String path, Handler> handler)
Create the directory represented by path , asynchronously.
Futuremkdir(String path, String perms)
Like #mkdir(String,String,Handler) but returns a Future of the asynchronous result
FileSystemmkdirs(String path, Handler> handler)
Create the directory represented by path and any non existent parents, asynchronously.
Futuremkdirs(String path, String perms)
Like #mkdirs(String,String,Handler) but returns a Future of the asynchronous result
FileSystemmkdirsBlocking(String path)
Blocking version of #mkdirs(String,Handler)
FileSystemmove(String from, String to, Handler> handler)
Move a file from the path from to path to , asynchronously.
Futuremove(String from, String to, CopyOptions options)
Like #move(String,String,CopyOptions,Handler) but returns a Future of the asynchronous result
FileSystemmoveBlocking(String from, String to)
Blocking version of #move(String,String,Handler)
FileSystemopen(String path, OpenOptions options, Handler> handler)
Open the file represented by path , asynchronously.
FileSystemprops(String path, Handler> handler)
Obtain properties for the file represented by path , asynchronously.
FilePropspropsBlocking(String path)
Blocking version of #props(String,Handler)
FileSystemreadDir(String path, Handler>> handler)
Read the contents of the directory specified by path , asynchronously.
Future>readDir(String path, String filter)
Like #readDir(String,Handler) but returns a Future of the asynchronous result
FileSystemreadDir(String path, String filter, Handler>> handler)
Read the contents of the directory specified by path , asynchronously.
FileSystemreadFile(String path, Handler> handler)
Reads the entire file as represented by the path path as a Buffer , asynchronously.
BufferreadFileBlocking(String path)
Blocking version of #readFile(String,Handler)
FileSystemwriteFile(String path, Buffer data, Handler> handler)
Creates the file, and writes the specified Buffer data to the file represented by the path path , asynchronously.
FileSystemwriteFileBlocking(String path, Buffer data)
Blocking version of #writeFile(String,Buffer,Handler)