Package de.xima.fc.gui.elfinder
Class DefaultElFinderHashCodec
- java.lang.Object
-
- de.xima.fc.gui.elfinder.DefaultElFinderHashCodec
-
- All Implemented Interfaces:
IElFinderHashCodec,IElFinderHashDecoder,IElFinderHashEncoder,Serializable
public final class DefaultElFinderHashCodec extends Object implements IElFinderHashCodec
AIElFinderHashCodecthat 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultElFinderHashCodec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ElfinderFileHashdecodeFileHash(String hash)Decodes the hash to a file system entry.static IElFinderHashCodecdefaultElFinderHashCodec()Gets aIElFinderHashCodecthat uses the default elFinder implementation.static IElFinderHashEncoderdefaultElFinderHashEncoder()Gets aIElFinderHashCodecthat uses the default elFinder implementation.StringencodeFileHash(String volume, String path)Creates the hash for the given file system entry.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.gui.elfinder.IElFinderHashEncoder
encodeFileHash
-
-
-
-
Method Detail
-
decodeFileHash
public ElfinderFileHash decodeFileHash(String hash)
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
public String encodeFileHash(String volume, String path)
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
public static IElFinderHashCodec defaultElFinderHashCodec()
Gets aIElFinderHashCodecthat uses the default elFinder implementation.- Returns:
- The new
IElFinderHashCodec.
-
defaultElFinderHashEncoder
public static IElFinderHashEncoder defaultElFinderHashEncoder()
Gets aIElFinderHashCodecthat uses the default elFinder implementation.- Returns:
- The new
IElFinderHashCodec.
-
-