Interface IElFinderHashEncoder
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IElFinderHashCodec
- All Known Implementing Classes:
DefaultElFinderHashCodec
Encoder for file and directory file paths. 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 encoder".
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 TypeMethodDescriptiondefault StringCreates the hash for the given file system entry.encodeFileHash(String volume, String path) Creates the hash for the given file system entry.
-
Method Details
-
encodeFileHash
-
encodeFileHash
Creates the hash for the given file system entry.- Parameters:
hash- The volume and path of the file system entry.- Returns:
- Hash for the given volume and path.
-