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,
ImmutableList<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, newWatchService
public 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 Closeable
close
in interface AutoCloseable
close
in class FileSystem
IOException
public boolean isOpen()
isOpen
in class FileSystem
public boolean isReadOnly()
isReadOnly
in class BaseFileSystem<RootedPath>
public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews
in class FileSystem
public UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService
in class FileSystem
protected RootedPath create(String root, ImmutableList<String> names)
create
in class BaseFileSystem<RootedPath>
public Iterable<FileStore> getFileStores()
getFileStores
in class BaseFileSystem<RootedPath>
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.