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 NoneFileSystemINSTANCE
-
Constructor Summary
Constructors Constructor Description NoneFileSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.lang.Iterable<java.nio.file.FileStore>getFileStores()java.nio.file.PathgetPath(java.lang.String first, java.lang.String... more)java.nio.file.PathMatchergetPathMatcher(java.lang.String syntaxAndPattern)java.lang.Iterable<java.nio.file.Path>getRootDirectories()java.lang.StringgetSeparator()java.nio.file.attribute.UserPrincipalLookupServicegetUserPrincipalLookupService()booleanisOpen()booleanisReadOnly()java.nio.file.WatchServicenewWatchService()java.nio.file.spi.FileSystemProviderprovider()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:
providerin classjava.nio.file.FileSystem
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.nio.file.FileSystem- Throws:
java.io.IOException
-
isOpen
public boolean isOpen()
- Specified by:
isOpenin classjava.nio.file.FileSystem
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin classjava.nio.file.FileSystem
-
getSeparator
public java.lang.String getSeparator()
- Specified by:
getSeparatorin classjava.nio.file.FileSystem
-
getRootDirectories
public java.lang.Iterable<java.nio.file.Path> getRootDirectories()
- Specified by:
getRootDirectoriesin classjava.nio.file.FileSystem
-
getFileStores
public java.lang.Iterable<java.nio.file.FileStore> getFileStores()
- Specified by:
getFileStoresin classjava.nio.file.FileSystem
-
supportedFileAttributeViews
public java.util.Set<java.lang.String> supportedFileAttributeViews()
- Specified by:
supportedFileAttributeViewsin classjava.nio.file.FileSystem
-
getPath
public java.nio.file.Path getPath(java.lang.String first, java.lang.String... more)- Specified by:
getPathin classjava.nio.file.FileSystem
-
getPathMatcher
public java.nio.file.PathMatcher getPathMatcher(java.lang.String syntaxAndPattern)
- Specified by:
getPathMatcherin classjava.nio.file.FileSystem
-
getUserPrincipalLookupService
public java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
- Specified by:
getUserPrincipalLookupServicein classjava.nio.file.FileSystem
-
newWatchService
public java.nio.file.WatchService newWatchService() throws java.io.IOException- Specified by:
newWatchServicein classjava.nio.file.FileSystem- Throws:
java.io.IOException
-
-