Interface IElFinderHashDecoder

All Superinterfaces:
Serializable
All Known Subinterfaces:
IElFinderHashCodec
All Known Implementing Classes:
DefaultElFinderHashCodec

public interface IElFinderHashDecoder extends Serializable
Decoder for ElFinder file hashes. Used by the elFinder API to avoid having to use real file paths from the file system.

Note: Despite the elFinder docs calling it a "hash", it is NOT a hash at all. A hash is (usually) irreversible, while this is a reversible encoding. It is more of a "file path decoder".

The hash is used to identify a file in the elFinder client-server API.

Since:
8.3.0
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    Decodes the hash to a file system entry.
  • Method Details

    • decodeFileHash

      ElfinderFileHash decodeFileHash(String hash)
      Decodes the hash to a file system entry.
      Parameters:
      hash - Hash to decode.
      Returns:
      File system entry for the hash.