Class NoneFileSystem
- java.lang.Object
-
- java.nio.file.FileSystem
-
- org.apache.sshd.common.file.nonefs.NoneFileSystem
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class NoneFileSystem extends java.nio.file.FileSystem
-
-
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()
java.lang.Iterable<java.nio.file.FileStore>
getFileStores()
java.nio.file.Path
getPath(java.lang.String first, java.lang.String... more)
java.nio.file.PathMatcher
getPathMatcher(java.lang.String syntaxAndPattern)
java.lang.Iterable<java.nio.file.Path>
getRootDirectories()
java.lang.String
getSeparator()
java.nio.file.attribute.UserPrincipalLookupService
getUserPrincipalLookupService()
boolean
isOpen()
boolean
isReadOnly()
java.nio.file.WatchService
newWatchService()
java.nio.file.spi.FileSystemProvider
provider()
java.util.Set<java.lang.String>
supportedFileAttributeViews()
-
-
-
Field Detail
-
INSTANCE
public static final NoneFileSystem INSTANCE
-
-
Method Detail
-
provider
public java.nio.file.spi.FileSystemProvider provider()
- Specified by:
provider
in classjava.nio.file.FileSystem
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classjava.nio.file.FileSystem
- Throws:
java.io.IOException
-
isOpen
public boolean isOpen()
- Specified by:
isOpen
in classjava.nio.file.FileSystem
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in classjava.nio.file.FileSystem
-
getSeparator
public java.lang.String getSeparator()
- Specified by:
getSeparator
in classjava.nio.file.FileSystem
-
getRootDirectories
public java.lang.Iterable<java.nio.file.Path> getRootDirectories()
- Specified by:
getRootDirectories
in classjava.nio.file.FileSystem
-
getFileStores
public java.lang.Iterable<java.nio.file.FileStore> getFileStores()
- Specified by:
getFileStores
in classjava.nio.file.FileSystem
-
supportedFileAttributeViews
public java.util.Set<java.lang.String> supportedFileAttributeViews()
- Specified by:
supportedFileAttributeViews
in classjava.nio.file.FileSystem
-
getPath
public java.nio.file.Path getPath(java.lang.String first, java.lang.String... more)
- Specified by:
getPath
in classjava.nio.file.FileSystem
-
getPathMatcher
public java.nio.file.PathMatcher getPathMatcher(java.lang.String syntaxAndPattern)
- Specified by:
getPathMatcher
in classjava.nio.file.FileSystem
-
getUserPrincipalLookupService
public java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
- Specified by:
getUserPrincipalLookupService
in classjava.nio.file.FileSystem
-
newWatchService
public java.nio.file.WatchService newWatchService() throws java.io.IOException
- Specified by:
newWatchService
in classjava.nio.file.FileSystem
- Throws:
java.io.IOException
-
-