public class ClasspathFinder extends Object
Constructor and Description |
---|
ClasspathFinder(ScanSpec scanSpec,
ThreadLog log) |
Modifier and Type | Method and Description |
---|---|
void |
addClasspathElement(File baseFile,
String pathElement)
Add a classpath element.
|
void |
addClasspathElement(String pathElement)
Add a classpath element relative to a base file.
|
void |
addClasspathElements(String pathStr)
Add classpath elements, separated by the system path separator character.
|
List<File> |
getUniqueClasspathElements()
Returns the list of all unique File objects representing directories or zip/jarfiles on the classpath, in
classloader resolution order.
|
static boolean |
isJar(String path)
Returns true if the path ends with a JAR extension
|
public static boolean isJar(String path)
public void addClasspathElement(String pathElement)
public void addClasspathElement(File baseFile, String pathElement)
public void addClasspathElements(String pathStr)
Copyright © 2016. All rights reserved.