public class BundleFileSystem extends FileSystem
Modifier | Constructor and Description |
---|---|
protected |
BundleFileSystem(FileSystem origFS,
URI baseURI) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected Path |
findSource() |
URI |
getBaseURI() |
protected BundleFileStore |
getFileStore() |
Iterable<FileStore> |
getFileStores() |
protected FileSystem |
getOrigFS()
Thread-safe ClosedFileSystemException test
|
Path |
getPath(String first,
String... more) |
PathMatcher |
getPathMatcher(String syntaxAndPattern) |
Iterable<Path> |
getRootDirectories() |
BundlePath |
getRootDirectory() |
String |
getSeparator() |
Path |
getSource() |
UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
WatchService |
newWatchService() |
BundleFileSystemProvider |
provider() |
Set<String> |
supportedFileAttributeViews() |
protected Path |
unwrap(Path bundlePath) |
protected BundlePath |
wrap(Path zipPath) |
protected Iterator<Path> |
wrapIterator(Iterator<Path> iterator) |
protected final URI baseURI
protected BundleFileSystem(FileSystem origFS, URI baseURI)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FileSystem
IOException
protected Path findSource()
public URI getBaseURI()
protected BundleFileStore getFileStore()
public Iterable<FileStore> getFileStores()
getFileStores
in class FileSystem
protected FileSystem getOrigFS()
public Path getPath(String first, String... more)
getPath
in class FileSystem
public PathMatcher getPathMatcher(String syntaxAndPattern)
getPathMatcher
in class FileSystem
public Iterable<Path> getRootDirectories()
getRootDirectories
in class FileSystem
public BundlePath getRootDirectory()
public String getSeparator()
getSeparator
in class FileSystem
public Path getSource()
public UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService
in class FileSystem
public boolean isOpen()
isOpen
in class FileSystem
public boolean isReadOnly()
isReadOnly
in class FileSystem
public WatchService newWatchService() throws IOException
newWatchService
in class FileSystem
IOException
public BundleFileSystemProvider provider()
provider
in class FileSystem
public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews
in class FileSystem
protected BundlePath wrap(Path zipPath)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.