public class NoneFileSystem
extends java.nio.file.FileSystem
Modifier and Type | Field and Description |
---|---|
static NoneFileSystem |
INSTANCE |
Constructor and Description |
---|
NoneFileSystem() |
Modifier and Type | Method and 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() |
public static final NoneFileSystem INSTANCE
public java.nio.file.spi.FileSystemProvider provider()
provider
in class java.nio.file.FileSystem
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.nio.file.FileSystem
java.io.IOException
public boolean isOpen()
isOpen
in class java.nio.file.FileSystem
public boolean isReadOnly()
isReadOnly
in class java.nio.file.FileSystem
public java.lang.String getSeparator()
getSeparator
in class java.nio.file.FileSystem
public java.lang.Iterable<java.nio.file.Path> getRootDirectories()
getRootDirectories
in class java.nio.file.FileSystem
public java.lang.Iterable<java.nio.file.FileStore> getFileStores()
getFileStores
in class java.nio.file.FileSystem
public java.util.Set<java.lang.String> supportedFileAttributeViews()
supportedFileAttributeViews
in class java.nio.file.FileSystem
public java.nio.file.Path getPath(java.lang.String first, java.lang.String... more)
getPath
in class java.nio.file.FileSystem
public java.nio.file.PathMatcher getPathMatcher(java.lang.String syntaxAndPattern)
getPathMatcher
in class java.nio.file.FileSystem
public java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService
in class java.nio.file.FileSystem
public java.nio.file.WatchService newWatchService() throws java.io.IOException
newWatchService
in class java.nio.file.FileSystem
java.io.IOException