Example usage for Java org.apache.commons.vfs.impl DefaultFileSystemManager fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | init |
void | addExtensionMap(final String extension, final String scheme) Adds an filename extension mapping. |
void | addOperationProvider(final String scheme, final FileOperationProvider operationProvider) Adds the specified FileOperationProvider for the specified scheme. |
void | addOperationProvider(final String[] schemes, final FileOperationProvider operationProvider) |
void | addProvider(final String urlScheme, final FileProvider provider) Registers a file system provider. |
void | addProvider(final String[] urlSchemes, final FileProvider provider) Registers a file system provider. |
void | close() Closes all files created by this manager, and cleans up any temporary files. |
FilesCache | getFilesCache() Returns the filesCache implementation used to cache files |
FileReplicator | getReplicator() Returns the file replicator. |
TemporaryFileStore | getTemporaryFileStore() Returns the temporary file store. |
boolean | hasProvider(final String scheme) Returns true if this manager has a provider for a particular scheme. |
FileObject | resolveFile(final String uri) Locates a file by URI. |
void | setBaseFile(final FileObject baseFile) Sets the base file to use when resolving relative URI. |
void | setBaseFile(final File baseFile) Sets the base file to use when resolving relative URI. |
void | setCacheStrategy(final CacheStrategy fileCacheStrategy) Set the cache strategy to use when dealing with file object data. |
void | setDefaultProvider(final FileProvider provider) Sets the default provider. |
void | setFilesCache(final FilesCache filesCache) Sets the filesCache implementation used to cache files |
void | setLogger(final Log log) Sets the logger to use. |
void | setReplicator(final FileReplicator replicator) Sets the file replicator to use. |
void | setTemporaryFileStore(final TemporaryFileStore tempFileStore) Sets the temporary file store to use. |
FileObject | toFileObject(final File file) Converts a local file into a FileObject . |