Class StandardFileSystemManager

  • All Implemented Interfaces:
    FileSystemManager

    public class StandardFileSystemManager
    extends DefaultFileSystemManager
    A FileSystemManager that configures itself from an XML (Default: providers.xml) configuration file.

    Certain providers are only loaded and available if the dependent library is in your classpath. You have to configure your debugging facility to log "debug" messages to see if a provider was skipped due to "unresolved externals".

    • Constructor Detail

      • StandardFileSystemManager

        public StandardFileSystemManager()
    • Method Detail

      • setConfiguration

        public void setConfiguration​(java.lang.String configUri)
        Sets the configuration file for this manager.
        Parameters:
        configUri - The URI for this manager.
      • setConfiguration

        public void setConfiguration​(java.net.URL configUri)
        Sets the configuration file for this manager.
        Parameters:
        configUri - The URI forthis manager.
      • setClassLoader

        public void setClassLoader​(java.lang.ClassLoader classLoader)
        Sets the ClassLoader to use to load the providers. Default is to use the ClassLoader that loaded this class.
        Parameters:
        classLoader - The ClassLoader.
      • configurePlugins

        protected void configurePlugins()
                                 throws FileSystemException
        Scans the classpath to find any droped plugin.

        The plugin-description has to be in /META-INF/vfs-providers.xml.

        Throws:
        FileSystemException - if an error occurs.