|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs.impl.DefaultVfsComponentContext
final class DefaultVfsComponentContext
The default context implementation.
Field Summary | |
---|---|
private DefaultFileSystemManager |
manager
|
Constructor Summary | |
---|---|
DefaultVfsComponentContext(DefaultFileSystemManager manager)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final DefaultFileSystemManager manager
Constructor Detail |
---|
public DefaultVfsComponentContext(DefaultFileSystemManager manager)
Method Detail |
---|
public FileObject resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions) throws FileSystemException
resolveFile
in interface VfsComponentContext
FileSystemException
public FileObject resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions) throws FileSystemException
resolveFile
in interface VfsComponentContext
FileSystemException
public FileName parseURI(java.lang.String uri) throws FileSystemException
parseURI
in interface VfsComponentContext
FileSystemException
public FileObject toFileObject(java.io.File file) throws FileSystemException
FileObject
for a local file.
toFileObject
in interface VfsComponentContext
FileSystemException
public FileReplicator getReplicator() throws FileSystemException
getReplicator
in interface VfsComponentContext
FileSystemException
public TemporaryFileStore getTemporaryFileStore() throws FileSystemException
getTemporaryFileStore
in interface VfsComponentContext
FileSystemException
public FileSystemManager getFileSystemManager()
getFileSystemManager
in interface VfsComponentContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |