Interface FileSystemFactory


public interface FileSystemFactory
Factory interface for creating FileSystem instances. Used to decouple the repository internals from the repository configuration mechanism.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates, initializes, and returns a FileSystem instance for use by the repository.
  • Method Details

    • getFileSystem

      FileSystem getFileSystem() throws RepositoryException
      Creates, initializes, and returns a FileSystem instance for use by the repository. Note that no information is passed from the client, so all required configuration information must be encapsulated in the factory.
      Returns:
      initialized file system
      Throws:
      RepositoryException - if the file system can not be created