Class AbstractVfsComponent

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractVfsComponent()
      Constructs a new instance for subclasses.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes the provider.
      protected VfsComponentContext getContext()
      Returns the context for this provider.
      protected org.apache.commons.logging.Log getLogger()
      Returns the logger for this file system to use.
      void init()
      Initializes the component.
      void setContext​(VfsComponentContext context)
      Sets the context for this file system provider.
      void setLogger​(org.apache.commons.logging.Log log)
      Sets the Logger to use for the component.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • close

        public void close()
        Closes the provider. This implementation does nothing.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface VfsComponent
      • getLogger

        protected final org.apache.commons.logging.Log getLogger()
        Returns the logger for this file system to use.
        Returns:
        logger for this file system
      • setLogger

        public final void setLogger​(org.apache.commons.logging.Log log)
        Sets the Logger to use for the component.
        Specified by:
        setLogger in interface VfsComponent
        Parameters:
        log - The Log to use.