Interface VfsComponent

All Known Implementing Classes:
AbstractFileProvider, AbstractFilesCache, AbstractFileSystem, AbstractLayeredFileProvider, AbstractOriginatingFileProvider, AbstractVfsComponent, AbstractVfsContainer, Bzip2FileProvider, Bzip2FileSystem, CompositeFileProvider, CompressedFileFileProvider, CompressedFileFileSystem, DefaultFileReplicator, DefaultFilesCache, DefaultLocalFileProvider, FtpFileProvider, FtpFileSystem, FtpsFileProvider, FtpsFileSystem, GzipFileProvider, GzipFileSystem, HttpFileProvider, HttpFileSystem, HttpsFileProvider, JarFileProvider, JarFileSystem, LocalFileSystem, LRUFilesCache, NullFilesCache, PrivilegedFileReplicator, RamFileProvider, RamFileSystem, ResourceFileProvider, SftpFileProvider, SftpFileSystem, SoftRefFilesCache, TarFileProvider, TarFileSystem, Tbz2FileProvider, TemporaryFileProvider, TgzFileProvider, UrlFileProvider, UrlFileSystem, VirtualFileProvider, VirtualFileSystem, WeakRefFilesCache, ZipFileProvider, ZipFileSystem

public interface VfsComponent
This interface is used to manage the lifecycle of all VFS components. This includes all implementations of the following interfaces:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the component.
    void
    Initializes the component.
    void
    Sets the context for the component.
    void
    setLogger(org.apache.commons.logging.Log logger)
    Sets the Logger to use for the component.
  • Method Details

    • setLogger

      void setLogger(org.apache.commons.logging.Log logger)
      Sets the Logger to use for the component.
      Parameters:
      logger - The Log
    • setContext

      Sets the context for the component.
      Parameters:
      context - The context.
    • init

      void init() throws FileSystemException
      Initializes the component.
      Throws:
      FileSystemException - if an error occurs.
    • close

      void close()
      Closes the component.