public interface FileSystem extends Closeable, Disposable
| Modifier and Type | Method and Description |
|---|---|
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() |
disposeFileSystemProvider provider()
boolean isOpen()
boolean isReadOnly()
String getSeparator()
Path getPath(String first, String... more) throws InvalidPathException
InvalidPathExceptionPathMatcher getPathMatcher(String syntaxAndPattern) throws IllegalArgumentException, PatternSyntaxException, UnsupportedOperationException
UserPrincipalLookupService getUserPrincipalLookupService() throws UnsupportedOperationException
UnsupportedOperationExceptionWatchService newWatchService() throws UnsupportedOperationException, IOException
String getName()
Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.