Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.file |
Modifier and Type | Method and Description |
---|---|
FileSystemOptions |
VertxOptions.getFileSystemOptions() |
Modifier and Type | Method and Description |
---|---|
VertxOptions |
VertxOptions.setFileSystemOptions(FileSystemOptions fileSystemOptions)
Set the file system options
|
Modifier and Type | Method and Description |
---|---|
FileSystemOptions |
FileSystemOptions.setClassPathResolvingEnabled(boolean classPathResolvingEnabled)
When vert.x cannot find the file on the filesystem it tries to resolve the
file from the class path when this is set to
true . |
FileSystemOptions |
FileSystemOptions.setFileCacheDir(String fileCacheDir)
When vert.x reads a file that is packaged with the application it gets
extracted to this directory first and subsequent reads will use the extracted
file to get better IO performance.
|
FileSystemOptions |
FileSystemOptions.setFileCachingEnabled(boolean fileCachingEnabled)
Set to
true to cache files on the real file system
when the filesystem performs class path resolving. |
Constructor and Description |
---|
FileSystemOptions(FileSystemOptions other)
Copy constructor
|
Copyright © 2023 Eclipse. All rights reserved.