public class RootedFileSystem extends BaseFileSystem<RootedPath>
log| Constructor and Description |
|---|
RootedFileSystem(RootedFileSystemProvider fileSystemProvider,
Path root,
Map<String,?> env) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected RootedPath |
create(String root,
List<String> names) |
Iterable<FileStore> |
getFileStores() |
Path |
getRoot() |
FileSystem |
getRootFileSystem() |
UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
RootedFileSystemProvider |
provider() |
Set<String> |
supportedFileAttributeViews() |
String |
toString() |
appendDedupSep, create, create, getDefaultDir, getPath, getPathMatcher, getRootDirectories, getSeparator, globToRegex, newWatchServicepublic RootedFileSystem(RootedFileSystemProvider fileSystemProvider, Path root, Map<String,?> env)
public FileSystem getRootFileSystem()
public Path getRoot()
public RootedFileSystemProvider provider()
provider in class BaseFileSystem<RootedPath>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FileSystemIOExceptionpublic boolean isOpen()
isOpen in class FileSystempublic boolean isReadOnly()
isReadOnly in class BaseFileSystem<RootedPath>public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews in class FileSystempublic UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService in class FileSystemprotected RootedPath create(String root, List<String> names)
create in class BaseFileSystem<RootedPath>public Iterable<FileStore> getFileStores()
getFileStores in class BaseFileSystem<RootedPath>Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.