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 FileSystem
FileSystem.provider()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FileSystem
IOException
FileSystem.close()
public boolean isOpen()
isOpen
in class FileSystem
FileSystem.isOpen()
public boolean isReadOnly()
isReadOnly
in class FileSystem
FileSystem.isReadOnly()
public String getSeparator()
getSeparator
in class FileSystem
FileSystem.getSeparator()
public Iterable<Path> getRootDirectories()
getRootDirectories
in class FileSystem
FileSystem.getRootDirectories()
public Iterable<FileStore> getFileStores()
getFileStores
in class FileSystem
FileSystem.getFileStores()
public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews
in class FileSystem
FileSystem.supportedFileAttributeViews()
public Path getPath(String first, String... more)
getPath
in class FileSystem
FileSystem.getPath(java.lang.String, java.lang.String[])
public PathMatcher getPathMatcher(String syntaxAndPattern)
getPathMatcher
in class FileSystem
public UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService
in class FileSystem
FileSystem.getUserPrincipalLookupService()
public WatchService newWatchService() throws IOException
newWatchService
in class FileSystem
IOException
FileSystem.newWatchService()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2016 JBoss by Red Hat. All rights reserved.