|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VfsComponentContext
Allows VFS components to access the services they need, such as the file replicator. A VFS component is supplied with a context as part of its initialisation.
VfsComponent.setContext(org.apache.commons.vfs.provider.VfsComponentContext)
Method Summary | |
---|---|
FileSystemManager |
getFileSystemManager()
Returns the filesystem manager for the current context |
FileReplicator |
getReplicator()
Locates a file replicator for the provider to use. |
TemporaryFileStore |
getTemporaryFileStore()
Locates a temporary file store for the provider to use. |
FileName |
parseURI(java.lang.String uri)
|
FileObject |
resolveFile(FileObject baseFile,
java.lang.String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
resolveFile(java.lang.String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
toFileObject(java.io.File file)
Returns a FileObject for a local file. |
Method Detail |
---|
FileObject resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemManager.resolveFile(FileObject, String)
for a
description of how this works.
FileSystemException
FileObject resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemManager.resolveFile( String)
for a
description of how this works.
FileSystemException
FileName parseURI(java.lang.String uri) throws FileSystemException
FileSystemException
FileReplicator getReplicator() throws FileSystemException
FileSystemException
TemporaryFileStore getTemporaryFileStore() throws FileSystemException
FileSystemException
FileObject toFileObject(java.io.File file) throws FileSystemException
FileObject
for a local file.
FileSystemException
FileSystemManager getFileSystemManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |