Class DefaultElFinderHashCodec
java.lang.Object
de.xima.fc.gui.elfinder.DefaultElFinderHashCodec
- All Implemented Interfaces:
IElFinderHashCodec, IElFinderHashDecoder, IElFinderHashEncoder, Serializable
A
IElFinderHashCodec that uses the default implementation as detailed by the elFinder docs. See Client-Server-API-2.1- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeFileHash(String hash) Decodes the hash to a file system entry.static IElFinderHashCodecGets aIElFinderHashCodecthat uses the default elFinder implementation.static IElFinderHashEncoderGets aIElFinderHashCodecthat uses the default elFinder implementation.encodeFileHash(String volume, String path) Creates the hash for the given file system entry.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IElFinderHashEncoder
encodeFileHash
-
Constructor Details
-
DefaultElFinderHashCodec
public DefaultElFinderHashCodec()
-
-
Method Details
-
decodeFileHash
Description copied from interface:IElFinderHashDecoderDecodes the hash to a file system entry.- Specified by:
decodeFileHashin interfaceIElFinderHashDecoder- Parameters:
hash- Hash to decode.- Returns:
- File system entry for the hash.
-
encodeFileHash
Description copied from interface:IElFinderHashEncoderCreates the hash for the given file system entry.- Specified by:
encodeFileHashin interfaceIElFinderHashEncoder- Parameters:
volume- The volume of the file system entry.path- The path of the file system entry.- Returns:
- Hash for the given volume and path.
-
defaultElFinderHashCodec
Gets aIElFinderHashCodecthat uses the default elFinder implementation.- Returns:
- The new
IElFinderHashCodec.
-
defaultElFinderHashEncoder
Gets aIElFinderHashCodecthat uses the default elFinder implementation.- Returns:
- The new
IElFinderHashCodec.
-