public class ShrinkWrapFileSystem extends FileSystem
Archive to a FileSystem; Thread-safe, though access to the
underlying Archive is *not*.| Constructor and Description |
|---|
ShrinkWrapFileSystem(ShrinkWrapFileSystemProvider provider,
Archive<?> archive) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Iterable<FileStore> |
getFileStores() |
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() |
String |
toString() |
public ShrinkWrapFileSystem(ShrinkWrapFileSystemProvider provider, Archive<?> archive)
public FileSystemProvider provider()
provider in class FileSystemFileSystem.provider()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FileSystemIOExceptionFileSystem.close()public boolean isOpen()
isOpen in class FileSystemFileSystem.isOpen()public boolean isReadOnly()
isReadOnly in class FileSystemFileSystem.isReadOnly()public String getSeparator()
getSeparator in class FileSystemFileSystem.getSeparator()public Iterable<Path> getRootDirectories()
getRootDirectories in class FileSystemFileSystem.getRootDirectories()public Iterable<FileStore> getFileStores()
getFileStores in class FileSystemFileSystem.getFileStores()public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews in class FileSystemFileSystem.supportedFileAttributeViews()public Path getPath(String first, String... more)
getPath in class FileSystemFileSystem.getPath(java.lang.String, java.lang.String[])public PathMatcher getPathMatcher(String syntaxAndPattern)
getPathMatcher in class FileSystempublic UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService in class FileSystemFileSystem.getUserPrincipalLookupService()public WatchService newWatchService() throws IOException
newWatchService in class FileSystemIOExceptionFileSystem.newWatchService()public String toString()
toString in class ObjectObject.toString()Copyright © 2016 JBoss by Red Hat. All rights reserved.