Package org.eclipse.aether.repository
Class RepositoryUriUtils
- java.lang.Object
-
- org.eclipse.aether.repository.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.URItoUri(java.lang.String repositoryUrl)Converts the given repository URL or file path to aURI, resolving plain file paths andfile:URLs against the local file system.
-
-
-
Method Detail
-
toUri
public static java.net.URI toUri(java.lang.String repositoryUrl)
Converts the given repository URL or file path to aURI, resolving plain file paths andfile:URLs against the local file system.- Parameters:
repositoryUrl- The repository URL or file path to convert, must not benull.- Returns:
- The resulting URI, never
null.
-
-