Class HashFileSystemHelper

  • public class HashFileSystemHelper
    extends java.lang.Object
    Helper for the FileSystem offer
    • Constructor Summary

      Constructor Description
      HashFileSystemHelper​(java.lang.String rootPath)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkContainerPathTraversal​(java.lang.String containerName)  
      void createContainer​(java.lang.String container)
      Create a directory recursively in the sub tree
      void createDirectories​(java.nio.file.Path path)
      Create recursively the directories
      java.nio.file.Path getPathContainer​(java.lang.String containerName)
      Get the path of a container
      java.nio.file.Path getPathObject​(java.lang.String container, java.lang.String objectId)
      Get the path of an object based on its container and the objectId
      boolean isContainer​(java.lang.String subpath)  
      java.util.List<java.lang.String> splitObjectId​(java.lang.String objectId)
      Split objectId without extension
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait