Method Summary |
|
public void | _closeFileSystem(FileSystem filesystem) |
public void | addExtensionMap(String extension, String scheme) Adds an filename extension mapping. |
public void | addMimeTypeMap(String mimeType, String scheme) Adds a mime type mapping. |
public void | addOperationProvider(String scheme, FileOperationProvider operationProvider) Adds the specified FileOperationProvider for the specified scheme. |
public void | addOperationProvider(String[] schemes, FileOperationProvider operationProvider) |
public void | addProvider(String urlScheme, FileProvider provider) Registers a file system provider. |
public void | addProvider(String[] urlSchemes, FileProvider provider) Registers a file system provider. |
public boolean | canCreateFileSystem(FileObject file) Determines if a layered file system can be created for a given file. |
public void | close() Closes all files created by this manager, and cleans up any temporary
files. |
public void | closeFileSystem(FileSystem filesystem) |
public FileObject | createFileSystem(String scheme, FileObject file) Creates a layered file system. |
public FileObject | createFileSystem(FileObject file) Creates a layered file system. |
public FileObject | createVirtualFileSystem(FileObject rootFile) Creates a virtual file system. |
public FileObject | createVirtualFileSystem(String rootUri) Creates an empty virtual file system. |
public void | freeUnusedResources() Free all resources used by unused filesystems created by this manager. |
public FileObject | getBaseFile() Returns the base file used to resolve relative URI. |
public CacheStrategy | getCacheStrategy() |
public FileContentInfoFactory | getFileContentInfoFactory() get the fileContentInfoFactory used to determine the infos of a file
content. |
public Class | getFileObjectDecorator() |
public Constructor | getFileObjectDecoratorConst() The constructor associated to the fileObjectDecorator. |
public FileSystemConfigBuilder | getFileSystemConfigBuilder(String scheme) |
public FilesCache | getFilesCache() |
protected Log | getLogger() Returns the logger used by this manager. |
public FileOperationProvider[] | getOperationProviders(String scheme) Parameters: scheme - the scheme for wich we want to get the list af registeredproviders. |
public Collection | getProviderCapabilities(String scheme) Get the capabilities for a given scheme. |
public FileReplicator | getReplicator() Returns the file replicator.
The file replicator. |
public String[] | getSchemes() Get the schemes currently available. |
public TemporaryFileStore | getTemporaryFileStore() Returns the temporary file store.
The file store. |
public URLStreamHandlerFactory | getURLStreamHandlerFactory() Get the URLStreamHandlerFactory. |
public boolean | hasProvider(String scheme) Returns true if this manager has a provider for a particular scheme. |
public void | init() Initialises this manager. |
public FileObject | resolveFile(String uri) Locates a file by URI. |
public FileObject | resolveFile(String uri, FileSystemOptions fileSystemOptions) |
public FileObject | resolveFile(File baseFile, String uri) Locates a file by URI. |
public FileObject | resolveFile(FileObject baseFile, String uri) Resolves a URI, relative to a base file. |
public FileObject | resolveFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) |
public FileName | resolveName(FileName root, String path) Resolves a name, relative to the file. |
public FileName | resolveName(FileName base, String name, NameScope scope) Resolves a name, relative to the root. |
public FileName | resolveURI(String uri) |
public void | setBaseFile(FileObject baseFile) Sets the base file to use when resolving relative URI. |
public void | setBaseFile(File baseFile) Sets the base file to use when resolving relative URI. |
public void | setCacheStrategy(CacheStrategy fileCacheStrategy)
Set the cache strategy to use when dealing with file object data. |
public void | setDefaultProvider(FileProvider provider) Sets the default provider. |
public void | setFileContentInfoFactory(FileContentInfoFactory fileContentInfoFactory) set the fileContentInfoFactory used to determine the infos of a file
content. |
public void | setFileObjectDecorator(Class fileObjectDecorator) |
public void | setFilesCache(FilesCache filesCache) |
public void | setLogger(Log log) Sets the logger to use. |
public void | setReplicator(FileReplicator replicator) Sets the file replicator to use. |
public void | setTemporaryFileStore(TemporaryFileStore tempFileStore) Sets the temporary file store to use. |
public FileObject | toFileObject(File file) Converts a local file into a
FileObject . |