|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A file provider. Each file provider is responsible for handling files for a particular URI scheme.
A file provider may also implement VfsComponent.
| Method Summary | |
FileObject |
createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
FileObject |
findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. |
Collection |
getCapabilities()
Get the filesystem capabilities. |
FileSystemConfigBuilder |
getConfigBuilder()
Gets the configbuilder useable to collect the needed fileSystemOptions. |
FileName |
parseUri(FileName root,
String uri)
|
| Method Detail |
public FileObject findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
throws FileSystemException
baseFile - The base file to use for resolving the individual parts of
a compound URI.uri - The absolute URI of the file to find.fileSystemOptions -
FileSystemException
public FileObject createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
throws FileSystemException
scheme - The URI scheme for the layered file system.file - The file to build the file system on.fileSystemOptions -
FileSystemExceptionpublic FileSystemConfigBuilder getConfigBuilder()
public Collection getCapabilities()
public FileName parseUri(FileName root,
String uri)
throws FileSystemException
FileSystemException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||