public interface ClassPathUtils
| Modifier and Type | Method and Description |
|---|---|
static URL |
findDependencyURL(List<URL> classLoaderUrls,
String... dependencyInfos)
Find URL in the classLoaderUrls list based on the dependency infos for example: findDependencyURL("mycompany",
"my-spring-boot-app") will return:
|
static URL |
findDependencyURL(String... dependencyInfos)
Find URL in the current program classpath based on the dependency infos passed in args.
For example: findDependencyURL("mycompany", "my-spring-boot-app") will return: |
static URL findDependencyURL(String... dependencyInfos)
dependencyInfos - infos to find the dependency in the classpathstatic URL findDependencyURL(List<URL> classLoaderUrls, String... dependencyInfos)
classLoaderUrls - the list in which to find the needed URLdependencyInfos - infos to find the dependency in the classpathCopyright © 2019. All rights reserved.