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
AIElFinderHashCodec
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultElFinderHashCodec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ElfinderFileHash
decodeFileHash(String hash)
Decodes the hash to a file system entry.static IElFinderHashCodec
defaultElFinderHashCodec()
Gets aIElFinderHashCodec
that uses the default elFinder implementation.static IElFinderHashEncoder
defaultElFinderHashEncoder()
Gets aIElFinderHashCodec
that uses the default elFinder implementation.String
encodeFileHash(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:IElFinderHashDecoder
Decodes the hash to a file system entry.- Specified by:
decodeFileHash
in 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:IElFinderHashEncoder
Creates the hash for the given file system entry.- Specified by:
encodeFileHash
in 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 aIElFinderHashCodec
that uses the default elFinder implementation.- Returns:
- The new
IElFinderHashCodec
.
-
defaultElFinderHashEncoder
public static IElFinderHashEncoder defaultElFinderHashEncoder()
Gets aIElFinderHashCodec
that uses the default elFinder implementation.- Returns:
- The new
IElFinderHashCodec
.
-
-