Package org.apache.sshd.common.file.root
Class RootedFileSystem
- java.lang.Object
-
- java.nio.file.FileSystem
-
- org.apache.sshd.common.file.util.BaseFileSystem<RootedPath>
-
- org.apache.sshd.common.file.root.RootedFileSystem
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class RootedFileSystem extends BaseFileSystem<RootedPath>
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.file.util.BaseFileSystem
log
-
-
Constructor Summary
Constructors Constructor Description RootedFileSystem(RootedFileSystemProvider fileSystemProvider, Path root, Map<String,?> env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected RootedPathcreate(String root, List<String> names)Iterable<FileStore>getFileStores()PathgetRoot()FileSystemgetRootFileSystem()UserPrincipalLookupServicegetUserPrincipalLookupService()booleanisOpen()booleanisReadOnly()RootedFileSystemProviderprovider()Set<String>supportedFileAttributeViews()StringtoString()-
Methods inherited from class org.apache.sshd.common.file.util.BaseFileSystem
appendDedupSep, create, create, getDefaultDir, getPath, getPathMatcher, getRootDirectories, getSeparator, globToRegex, newWatchService
-
-
-
-
Constructor Detail
-
RootedFileSystem
public RootedFileSystem(RootedFileSystemProvider fileSystemProvider, Path root, Map<String,?> env)
-
-
Method Detail
-
getRootFileSystem
public FileSystem getRootFileSystem()
-
getRoot
public Path getRoot()
-
provider
public RootedFileSystemProvider provider()
- Overrides:
providerin classBaseFileSystem<RootedPath>
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classFileSystem- Throws:
IOException
-
isOpen
public boolean isOpen()
- Specified by:
isOpenin classFileSystem
-
isReadOnly
public boolean isReadOnly()
- Overrides:
isReadOnlyin classBaseFileSystem<RootedPath>
-
supportedFileAttributeViews
public Set<String> supportedFileAttributeViews()
- Specified by:
supportedFileAttributeViewsin classFileSystem
-
getUserPrincipalLookupService
public UserPrincipalLookupService getUserPrincipalLookupService()
- Specified by:
getUserPrincipalLookupServicein classFileSystem
-
create
protected RootedPath create(String root, List<String> names)
- Specified by:
createin classBaseFileSystem<RootedPath>
-
getFileStores
public Iterable<FileStore> getFileStores()
- Overrides:
getFileStoresin classBaseFileSystem<RootedPath>
-
-