public class RootedFileSystem extends BaseFileSystem<RootedPath>
| Modifier and Type | Field and Description |
|---|---|
private java.nio.file.FileSystem |
rootFs |
private java.nio.file.Path |
rootPath |
log| Constructor and Description |
|---|
RootedFileSystem(RootedFileSystemProvider fileSystemProvider,
java.nio.file.Path root,
java.util.Map<java.lang.String,?> env) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected RootedPath |
create(java.lang.String root,
java.util.List<java.lang.String> names) |
java.lang.Iterable<java.nio.file.FileStore> |
getFileStores() |
java.nio.file.Path |
getRoot() |
java.nio.file.FileSystem |
getRootFileSystem() |
java.nio.file.attribute.UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
RootedFileSystemProvider |
provider() |
java.util.Set<java.lang.String> |
supportedFileAttributeViews() |
java.lang.String |
toString() |
appendDedupSep, create, create, getDefaultDir, getPath, getPathMatcher, getRootDirectories, getSeparator, globToRegex, newWatchServiceprivate final java.nio.file.Path rootPath
private final java.nio.file.FileSystem rootFs
public RootedFileSystem(RootedFileSystemProvider fileSystemProvider, java.nio.file.Path root, java.util.Map<java.lang.String,?> env)
public java.nio.file.FileSystem getRootFileSystem()
public java.nio.file.Path getRoot()
public RootedFileSystemProvider provider()
provider in class BaseFileSystem<RootedPath>public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.nio.file.FileSystemjava.io.IOExceptionpublic boolean isOpen()
isOpen in class java.nio.file.FileSystempublic boolean isReadOnly()
isReadOnly in class BaseFileSystem<RootedPath>public java.util.Set<java.lang.String> supportedFileAttributeViews()
supportedFileAttributeViews in class java.nio.file.FileSystempublic java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService in class java.nio.file.FileSystemprotected RootedPath create(java.lang.String root, java.util.List<java.lang.String> names)
create in class BaseFileSystem<RootedPath>public java.lang.Iterable<java.nio.file.FileStore> getFileStores()
getFileStores in class BaseFileSystem<RootedPath>public java.lang.String toString()
toString in class java.lang.Object