public class RootedFileSystem extends BaseFileSystem<RootedPath>
| Constructor and Description |
|---|
RootedFileSystem(RootedFileSystemProvider fileSystemProvider,
Path root,
Map<String,?> env) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected RootedPath |
create(String root,
ImmutableList<String> names) |
Iterable<FileStore> |
getFileStores() |
Path |
getRoot() |
FileSystem |
getRootFileSystem() |
UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
Set<String> |
supportedFileAttributeViews() |
String |
toString() |
appendDedupSep, create, create, getDefaultDir, getPath, getPathMatcher, getRootDirectories, getSeparator, globToRegex, newWatchService, providerpublic RootedFileSystem(RootedFileSystemProvider fileSystemProvider, Path root, Map<String,?> env)
public FileSystem getRootFileSystem()
public Path getRoot()
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, ImmutableList<String> names)
create in class BaseFileSystem<RootedPath>public Iterable<FileStore> getFileStores()
getFileStores in class BaseFileSystem<RootedPath>Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.