|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(String uri)
|
FileObject |
resolveFile(FileObject baseFile,
String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
resolveFile(String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
toFileObject(File file)
Returns a FileObject for a local file. |
Method Detail |
public FileObject resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemManager.resolveFile(FileObject, String)
for a
description of how this works.
FileSystemException
public FileObject resolveFile(String name, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemManager.resolveFile( String)
for a
description of how this works.
FileSystemException
public FileName parseURI(String uri) throws FileSystemException
FileSystemException
public FileReplicator getReplicator() throws FileSystemException
FileSystemException
public TemporaryFileStore getTemporaryFileStore() throws FileSystemException
FileSystemException
public FileObject toFileObject(File file) throws FileSystemException
FileObject
for a local file.
FileSystemException
public FileSystemManager getFileSystemManager()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |