Class UrlFileProvider

    • Field Detail

      • capabilities

        protected static final java.util.Collection<Capability> capabilities
        The provider's capabilities
    • Constructor Detail

      • UrlFileProvider

        public UrlFileProvider()
    • Method Detail

      • findFile

        public FileObject findFile​(FileObject baseFile,
                                   java.lang.String fileUri,
                                   FileSystemOptions fileSystemOptions)
                            throws FileSystemException
        Locates a file object, by absolute URI.
        Parameters:
        baseFile - The base FileObject.
        fileUri - The uri of the file to locate.
        fileSystemOptions - The FileSystemOptions
        Returns:
        The FileObject
        Throws:
        FileSystemException - if an error occurs.
      • getCapabilities

        public java.util.Collection<Capability> getCapabilities()
        Description copied from interface: FileProvider
        Gets the file system capabilities.

        These are the same as on the file system, but available before the first file system was instanciated.

        Returns:
        a Collection of the file systems Capabilities.