Interface VFSConnectionProvider<T extends VFSConnectionDetails>

    • Method Detail

      • getOpts

        org.apache.commons.vfs2.FileSystemOptions getOpts​(T vfsConnectionDetails)
      • getLocations

        List<VFSRoot> getLocations​(T vfsConnectionDetails)
      • getProtocol

        String getProtocol​(T vfsConnectionDetails)
      • getDirectFile

        default org.apache.commons.vfs2.FileObject getDirectFile​(T connectionDetails,
                                                                 String path)
                                                          throws KettleFileException
        If the provided ConnectionDetails are the correct type, return a FileObject for the provided path. This method and the returning FileObject must not depend on a ConnectionManager or MetaStore.
        Parameters:
        connectionDetails - for the connection
        path - path relative to the connection
        Returns:
        FileSystem or null if the provided connection details are not the matching type
        Throws:
        KettleFileException