public interface VfsComponentContext
| Modifier and Type | Method and Description |
|---|---|
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)
Parse a URI into a FileName.
|
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. |
FileObject resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemManager.resolveFile(FileObject, String) for a
description of how this works.baseFile - The base FileObject.name - The name of the file to locate.fileSystemOptions - The FileSystemOptions.FileSystemException - if an error occurs.FileObject resolveFile(String name, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemManager.resolveFile( String) for a
description of how this works.name - The name of the file to locate.fileSystemOptions - The FileSystemOptions.FileSystemException - if an error occurs.FileName parseURI(String uri) throws FileSystemException
uri - The URI String.FileSystemException - if an error occurs.FileReplicator getReplicator() throws FileSystemException
FileSystemException - if an error occurs.TemporaryFileStore getTemporaryFileStore() throws FileSystemException
FileSystemException - if an error occurs.FileObject toFileObject(File file) throws FileSystemException
FileObject for a local file.file - The File to convert to a FileObject.FileSystemException - if an error occurs.FileSystemManager getFileSystemManager()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.