Interface FileSystemPathService

All Known Implementing Classes:
FileSystemJarPathService

public interface FileSystemPathService
Gets the actual path for a specific file system. Have a look into FileSystemJarPathService to find a reference implementation.
Author:
Tobias Soloschenko
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    getPath(URI uri, Map<String,String> env)
    Gets the actual path for a specific file system to work on
    boolean
    Checks if the file system path service is responsible to handle the given URI
  • Method Details

    • getPath

      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(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