Constructor and Description |
---|
Classpath(Classpath other,
String additionalElement) |
Classpath(Collection<String> elements) |
Modifier and Type | Method and Description |
---|---|
Classpath |
addClassPathElementUrl(String path) |
ClassLoader |
createClassLoader(boolean childDelegation,
boolean enableAssertions,
String roleName) |
static Classpath |
emptyClasspath() |
boolean |
equals(Object o) |
List<URL> |
getAsUrlList()
Deprecated.
this should be package private method which returns List of Files. It will be
removed in the next major version.
|
List<String> |
getClassPath() |
String |
getCompactLogMessage(String descriptor) |
String |
getLogMessage(String descriptor) |
int |
hashCode() |
Iterator<String> |
iterator() |
static Classpath |
join(Classpath firstClasspath,
Classpath secondClasspath) |
void |
writeToSystemProperty(String propertyName) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Classpath(@Nonnull Collection<String> elements)
public static Classpath emptyClasspath()
@Deprecated public List<URL> getAsUrlList() throws MalformedURLException
jar files paths
with file
protocol in URL.MalformedURLException
- if URL
could not be created upon given class-path element(s)public ClassLoader createClassLoader(boolean childDelegation, boolean enableAssertions, @Nonnull String roleName) throws SurefireExecutionException
SurefireExecutionException
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.