Class FindCommandElFinderUrlCreator<Entry extends IFileSystemEntry<?>>

    • Method Detail

      • custom

        public static <Entry extends IFileSystemEntry<?>> IElFinderFileUrlCreator<Entry> custom​(String connectorUrl,
                                                                                                IElFinderHashEncoder hashCreator)
        Creates a new URL creator for the ElFinder connector. Construct URL for requested files by using the file command of the elFinder server side API. Uses a custom hash implementation.
        Type Parameters:
        Entry - Common super type of all file system entries.
        Parameters:
        connectorUrl - Base URL to the elFinder connector.
        hashCreator - Function to create the hash for the file.
        Returns:
        URL creator.
      • withDefaultHashCodec

        public static <Entry extends IFileSystemEntry<?>> IElFinderFileUrlCreator<Entry> withDefaultHashCodec​(String connectorUrl)
        Creates a new URL creator for the ElFinder connector. Construct URL for requested files by using the file command of the elFinder server side API. Uses the default hash implementation as detailed by the elFinder docs.
        Type Parameters:
        Entry - Common super type of all file system entries.
        Parameters:
        connectorUrl - Base URL to the elFinder connector.
        Returns:
        New URL creator using URLs from the elFinder API.