|
||||||||||
| 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 VfsComponentContextFileSystemException
public FileObject resolveFile(java.lang.String name,
FileSystemOptions fileSystemOptions)
throws FileSystemException
resolveFile in interface VfsComponentContextFileSystemException
public FileName parseURI(java.lang.String uri)
throws FileSystemException
parseURI in interface VfsComponentContextFileSystemException
public FileObject toFileObject(java.io.File file)
throws FileSystemException
FileObject for a local file.
toFileObject in interface VfsComponentContextFileSystemException
public FileReplicator getReplicator()
throws FileSystemException
getReplicator in interface VfsComponentContextFileSystemException
public TemporaryFileStore getTemporaryFileStore()
throws FileSystemException
getTemporaryFileStore in interface VfsComponentContextFileSystemExceptionpublic FileSystemManager getFileSystemManager()
getFileSystemManager in interface VfsComponentContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||