@FunctionalInterface public interface FileSystemAware
| Modifier and Type | Method and Description |
|---|---|
void |
setFileSystem(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 IOException
FileSystemFactory used to create the FileSystem to be used by the sessionfactory - The factory instancesession - The SessionContextIOException - If failed to resolve/create the file systemsetFileSystem(FileSystem)void setFileSystem(FileSystem fileSystem)
fileSystem - the file systemCopyright © 2018–2020 The Apache Software Foundation. All rights reserved.