Class PathStrategyFlat

java.lang.Object
org.nuxeo.ecm.core.blob.PathStrategy
org.nuxeo.ecm.core.blob.PathStrategyFlat

public class PathStrategyFlat extends PathStrategy
Stores a file in a directory based on its key.
Since:
11.1
  • Constructor Details

    • PathStrategyFlat

      public PathStrategyFlat(Path dir)
  • Method Details

    • getPathForKey

      public Path getPathForKey(String key)
      Description copied from class: PathStrategy
      Gets the storage path for a given key.
      Specified by:
      getPathForKey in class PathStrategy
      Parameters:
      key - the key
      Returns:
      the file for this key