Interface FileSystemPathService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.nio.file.Path getPath​(java.net.URI uri, java.util.Map<java.lang.String,​java.lang.String> env)
      Gets the actual path for a specific file system to work on
      boolean isResponsible​(java.net.URI uri)
      Checks if the file system path service is responsible to handle the given URI
    • Method Detail

      • getPath

        java.nio.file.Path getPath​(java.net.URI uri,
                                   java.util.Map<java.lang.String,​java.lang.String> env)
        Gets the actual path for a specific file system to work on
        Parameters:
        uri - the uri to get the path from
        env - environment variables to be applied to the file system
        Returns:
        the actual path or null if the implementation is not responsible
      • isResponsible

        boolean isResponsible​(java.net.URI uri)
        Checks if the file system path service is responsible to handle the given URI
        Parameters:
        uri - the URI to detect if the file system path service is responsible
        Returns:
        if the file system path service is responsible to handle the given URI