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 FileSystemFactory
Factory for file system implementations - it returns the file system for user.- Author:
- Apache MINA Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileSystem
createFileSystem(Session session)
Create user specific file system.
-
-
-
Method Detail
-
createFileSystem
FileSystem createFileSystem(Session session) throws IOException
Create user specific file system.- Parameters:
session
- The session created for the user- Returns:
- The current
FileSystem
for the provided session - Throws:
IOException
- if the filesystem can not be created
-
-