Class NoneFileSystem
- java.lang.Object
-
- java.nio.file.FileSystem
-
- org.apache.sshd.common.file.nonefs.NoneFileSystem
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class NoneFileSystem extends FileSystem
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static NoneFileSystem
INSTANCE
-
Constructor Summary
Constructors Constructor Description NoneFileSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Iterable<FileStore>
getFileStores()
Path
getPath(String first, String... more)
PathMatcher
getPathMatcher(String syntaxAndPattern)
Iterable<Path>
getRootDirectories()
String
getSeparator()
UserPrincipalLookupService
getUserPrincipalLookupService()
boolean
isOpen()
boolean
isReadOnly()
WatchService
newWatchService()
FileSystemProvider
provider()
Set<String>
supportedFileAttributeViews()
-
-
-
Field Detail
-
INSTANCE
public static final NoneFileSystem INSTANCE
-
-
Method Detail
-
provider
public FileSystemProvider provider()
- Specified by:
provider
in classFileSystem
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classFileSystem
- Throws:
IOException
-
isOpen
public boolean isOpen()
- Specified by:
isOpen
in classFileSystem
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in classFileSystem
-
getSeparator
public String getSeparator()
- Specified by:
getSeparator
in classFileSystem
-
getRootDirectories
public Iterable<Path> getRootDirectories()
- Specified by:
getRootDirectories
in classFileSystem
-
getFileStores
public Iterable<FileStore> getFileStores()
- Specified by:
getFileStores
in classFileSystem
-
supportedFileAttributeViews
public Set<String> supportedFileAttributeViews()
- Specified by:
supportedFileAttributeViews
in classFileSystem
-
getPath
public Path getPath(String first, String... more)
- Specified by:
getPath
in classFileSystem
-
getPathMatcher
public PathMatcher getPathMatcher(String syntaxAndPattern)
- Specified by:
getPathMatcher
in classFileSystem
-
getUserPrincipalLookupService
public UserPrincipalLookupService getUserPrincipalLookupService()
- Specified by:
getUserPrincipalLookupService
in classFileSystem
-
newWatchService
public WatchService newWatchService() throws IOException
- Specified by:
newWatchService
in classFileSystem
- Throws:
IOException
-
-