Class RepositoryUriUtils


  • public final class RepositoryUriUtils
    extends java.lang.Object
    URL handling for file URLs. Based on org.apache.maven.wagon.PathUtils.
    Since:
    2.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URI toUri​(java.lang.String repositoryUrl)
      Converts the given repository URL or file path to a URI, resolving plain file paths and file: URLs against the local file system.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toUri

        public static java.net.URI toUri​(java.lang.String repositoryUrl)
        Converts the given repository URL or file path to a URI, resolving plain file paths and file: URLs against the local file system.
        Parameters:
        repositoryUrl - The repository URL or file path to convert, must not be null.
        Returns:
        The resulting URI, never null.