public class ShrinkWrapFileSystem extends java.nio.file.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<java.nio.file.FileStore> |
getFileStores() |
java.nio.file.Path |
getPath(String first,
String... more) |
java.nio.file.PathMatcher |
getPathMatcher(String syntaxAndPattern) |
Iterable<java.nio.file.Path> |
getRootDirectories() |
String |
getSeparator() |
java.nio.file.attribute.UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
java.nio.file.WatchService |
newWatchService() |
java.nio.file.spi.FileSystemProvider |
provider() |
Set<String> |
supportedFileAttributeViews() |
String |
toString() |
public ShrinkWrapFileSystem(ShrinkWrapFileSystemProvider provider, Archive<?> archive)
public java.nio.file.spi.FileSystemProvider provider()
provider in class java.nio.file.FileSystemFileSystem.provider()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class java.nio.file.FileSystemIOExceptionFileSystem.close()public boolean isOpen()
isOpen in class java.nio.file.FileSystemFileSystem.isOpen()public boolean isReadOnly()
isReadOnly in class java.nio.file.FileSystemFileSystem.isReadOnly()public String getSeparator()
getSeparator in class java.nio.file.FileSystemFileSystem.getSeparator()public Iterable<java.nio.file.Path> getRootDirectories()
getRootDirectories in class java.nio.file.FileSystemFileSystem.getRootDirectories()public Iterable<java.nio.file.FileStore> getFileStores()
getFileStores in class java.nio.file.FileSystemFileSystem.getFileStores()public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews in class java.nio.file.FileSystemFileSystem.supportedFileAttributeViews()public java.nio.file.Path getPath(String first, String... more)
getPath in class java.nio.file.FileSystemFileSystem.getPath(java.lang.String, java.lang.String[])public java.nio.file.PathMatcher getPathMatcher(String syntaxAndPattern)
getPathMatcher in class java.nio.file.FileSystempublic java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService in class java.nio.file.FileSystemFileSystem.getUserPrincipalLookupService()public java.nio.file.WatchService newWatchService() throws IOException
newWatchService in class java.nio.file.FileSystemIOExceptionFileSystem.newWatchService()public String toString()
toString in class ObjectObject.toString()Copyright © 2012 JBoss by Red Hat. All Rights Reserved.