public static class SystemConfigProducer.DummyFileSystem extends Object implements FileSystem
Constructor and Description |
---|
DummyFileSystem() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
dispose() |
Iterable<FileStore> |
getFileStores() |
String |
getName() |
Path |
getPath(String first,
String... more) |
PathMatcher |
getPathMatcher(String syntaxAndPattern) |
Iterable<Path> |
getRootDirectories() |
String |
getSeparator() |
UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
WatchService |
newWatchService() |
FileSystemProvider |
provider() |
Set<String> |
supportedFileAttributeViews() |
public FileSystemProvider provider()
provider
in interface FileSystem
public boolean isOpen()
isOpen
in interface FileSystem
public boolean isReadOnly()
isReadOnly
in interface FileSystem
public String getSeparator()
getSeparator
in interface FileSystem
public Iterable<Path> getRootDirectories()
getRootDirectories
in interface FileSystem
public Iterable<FileStore> getFileStores()
getFileStores
in interface FileSystem
public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews
in interface FileSystem
public Path getPath(String first, String... more) throws InvalidPathException
getPath
in interface FileSystem
InvalidPathException
public PathMatcher getPathMatcher(String syntaxAndPattern) throws IllegalArgumentException, PatternSyntaxException, UnsupportedOperationException
getPathMatcher
in interface FileSystem
IllegalArgumentException
PatternSyntaxException
UnsupportedOperationException
public UserPrincipalLookupService getUserPrincipalLookupService() throws UnsupportedOperationException
getUserPrincipalLookupService
in interface FileSystem
UnsupportedOperationException
public WatchService newWatchService() throws UnsupportedOperationException, IOException
newWatchService
in interface FileSystem
UnsupportedOperationException
IOException
public String getName()
getName
in interface FileSystem
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void dispose()
dispose
in interface org.uberfire.commons.lifecycle.Disposable
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.