Package org.uberfire.java.nio.file
Interface FileSystem
-
- All Superinterfaces:
AutoCloseable,Closeable,Closeable,org.uberfire.commons.lifecycle.Disposable
public interface FileSystem extends Closeable, org.uberfire.commons.lifecycle.Disposable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<FileStore>getFileStores()StringgetName()PathgetPath(String first, String... more)PathMatchergetPathMatcher(String syntaxAndPattern)Iterable<Path>getRootDirectories()StringgetSeparator()UserPrincipalLookupServicegetUserPrincipalLookupService()booleanisOpen()booleanisReadOnly()WatchServicenewWatchService()FileSystemProviderprovider()Set<String>supportedFileAttributeViews()
-
-
-
Method Detail
-
provider
FileSystemProvider provider()
-
isOpen
boolean isOpen()
-
isReadOnly
boolean isReadOnly()
-
getSeparator
String getSeparator()
-
getPath
Path getPath(String first, String... more) throws InvalidPathException
- Throws:
InvalidPathException
-
getPathMatcher
PathMatcher getPathMatcher(String syntaxAndPattern) throws IllegalArgumentException, PatternSyntaxException, UnsupportedOperationException
-
getUserPrincipalLookupService
UserPrincipalLookupService getUserPrincipalLookupService() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
newWatchService
WatchService newWatchService() throws UnsupportedOperationException, IOException
-
getName
String getName()
-
-