Package org.apache.sshd.common.file
Interface FileSystemFactory
-
- All Known Implementing Classes:
NativeFileSystemFactory,VirtualFileSystemFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FileSystemFactoryFactory for file system implementations - it returns the file system for user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.FileSystemcreateFileSystem(Session session)Create user specific file system.
-
-
-
Method Detail
-
createFileSystem
java.nio.file.FileSystem createFileSystem(Session session) throws java.io.IOException
Create user specific file system.- Parameters:
session- The session created for the user- Returns:
- The current
FileSystemfor the provided session - Throws:
java.io.IOException- if the filesystem can not be created
-
-