Class PathStrategyFlat


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

      • PathStrategyFlat

        public PathStrategyFlat​(Path dir)
    • Method Detail

      • 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