@FunctionalInterface
public interface FileSystemAware
| Modifier and Type | Method and Description |
|---|---|
void |
setFileSystem(java.nio.file.FileSystem fileSystem)
Set the file system in which this shell will be executed.
|
default void |
setFileSystemFactory(FileSystemFactory factory,
SessionContext session)
Sets the
FileSystemFactory used to create the FileSystem to be used by the session |
default void setFileSystemFactory(FileSystemFactory factory, SessionContext session) throws java.io.IOException
FileSystemFactory used to create the FileSystem to be used by the sessionfactory - The factory instancesession - The SessionContextjava.io.IOException - If failed to resolve/create the file systemsetFileSystem(FileSystem)void setFileSystem(java.nio.file.FileSystem fileSystem)
fileSystem - the file system