Interface FileProvider

    • Method Detail

      • findFile

        FileObject findFile​(FileObject baseFile,
                            java.lang.String uri,
                            FileSystemOptions fileSystemOptions)
                     throws FileSystemException
        Locates a file object, by absolute URI.
        Parameters:
        baseFile - The base file to use for resolving the individual parts of a compound URI.
        uri - The absolute URI of the file to find.
        fileSystemOptions - The FileSystemOptions
        Returns:
        The FileObject.
        Throws:
        FileSystemException - if an error occurs locating the file.
      • getConfigBuilder

        FileSystemConfigBuilder getConfigBuilder()
        Gets the configbuilder useable to collect the needed fileSystemOptions.
        Returns:
        a FileSystemConfigBuilder for the particular file system.
      • getCapabilities

        java.util.Collection<CapabilitygetCapabilities()
        Get the filesystem capabilities.
        These are the same as on the filesystem, but available before the first filesystem was instanciated.
        Returns:
        a Collection of the file systems Capabilities.