Class FileMapper

java.lang.Object
org.aksw.shellgebra.algebra.cmd.transform.FileMapper

public class FileMapper extends Object
  • Constructor Details

    • FileMapper

      protected FileMapper(String containerSharedPath)
    • FileMapper

      public FileMapper(String containerSharedPath, org.aksw.commons.utils.trie.ShortNameMgr shortNameMgr)
    • FileMapper

      public FileMapper(String containerSharedPath, org.aksw.commons.utils.trie.ShortNameMgr shortNameMgr, List<com.github.dockerjava.api.model.Bind> binds)
  • Method Details

    • clone

      public FileMapper clone()
      Overrides:
      clone in class Object
    • of

      public static FileMapper of(String containerSharedPath)
    • addBindChecked

      protected void addBindChecked(com.github.dockerjava.api.model.Bind bind)
    • getBinds

      public List<com.github.dockerjava.api.model.Bind> getBinds()
    • getContainerPath

      public String getContainerPath(String hostPath)
    • allocate

      public String allocate(String hostPath, com.github.dockerjava.api.model.AccessMode accessMode)
      Return a path in the container under which the host path is exposed.
    • allocateTempFilename

      public static String allocateTempFilename(String prefix, String suffix)
    • allocateTempPath

      public static Path allocateTempPath(String prefix, String suffix)
    • allocateTempFile

      public Map.Entry<Path,String> allocateTempFile(String prefix, String suffix, com.github.dockerjava.api.model.AccessMode accessMode)