Package org.nuxeo.ecm.core.blob
Class PathStrategyFlat
java.lang.Object
org.nuxeo.ecm.core.blob.PathStrategy
org.nuxeo.ecm.core.blob.PathStrategyFlat
Stores a file in a directory based on its key.
- Since:
- 11.1
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.blob.PathStrategy
dir, HEX, SAFE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPathForKey(String key) Gets the storage path for a given key.Methods inherited from class org.nuxeo.ecm.core.blob.PathStrategy
atomicCopy, atomicMove, createTempFile, getKeyForPath, isTempFile, safePath, safePathInverse
-
Constructor Details
-
PathStrategyFlat
-
-
Method Details
-
getPathForKey
Description copied from class:PathStrategyGets the storage path for a given key.- Specified by:
getPathForKeyin classPathStrategy- Parameters:
key- the key- Returns:
- the file for this key
-