|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractVfsContainer
org.apache.commons.vfs2.provider.AbstractFileProvider
org.apache.commons.vfs2.provider.res.ResourceFileProvider
public class ResourceFileProvider
The Resource provider.
| Field Summary | |
|---|---|
protected static Collection<Capability> |
capabilities
The provider's capabilities |
| Constructor Summary | |
|---|---|
ResourceFileProvider()
|
|
| Method Summary | |
|---|---|
void |
closeFileSystem(FileSystem filesystem)
Close the FileSystem. |
FileObject |
findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. |
Collection<Capability> |
getCapabilities()
Get the filesystem capabilities. These are the same as on the filesystem, but available before the first filesystem was instanciated. |
FileSystemConfigBuilder |
getConfigBuilder()
Returns the FileSystemConfigBuidler. |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider |
|---|
addFileSystem, close, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsContainer |
|---|
addComponent, removeComponent |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent |
|---|
getContext, getLogger, init, setContext, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Collection<Capability> capabilities
| Constructor Detail |
|---|
public ResourceFileProvider()
| Method Detail |
|---|
public FileObject findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
throws FileSystemException
baseFile - The base file.uri - The URI of the file to locate.fileSystemOptions - The FileSystem options.
FileSystemException - if an error occurs.public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvider
getConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic void closeFileSystem(FileSystem filesystem)
AbstractFileProvider
closeFileSystem in class AbstractFileProviderfilesystem - The FileSystem to close.public Collection<Capability> getCapabilities()
FileProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||