public class ClasspathOrder extends Object
Modifier and Type | Method | Description |
---|---|---|
boolean |
addClasspathElement(String pathElement,
ClassLoader classLoader,
LogNode log) |
Add a classpath element relative to a base file.
|
boolean |
addClasspathElementObject(Object pathObject,
ClassLoader classLoader,
LogNode log) |
Add classpath elements from an object obtained from reflection.
|
boolean |
addClasspathElements(ClasspathOrder subsequentOrder) |
Add all classpath elements in another ClasspathElementOrder after the elements in this order.
|
boolean |
addClasspathElements(String pathStr,
ClassLoader[] classLoaders,
LogNode log) |
Add classpath elements, separated by the system path separator character.
|
boolean |
addClasspathElements(String pathStr,
ClassLoader classLoader,
LogNode log) |
Add classpath elements, separated by the system path separator character.
|
public boolean addClasspathElements(String pathStr, ClassLoader[] classLoaders, LogNode log)
pathStr
- the delimited string of URLs or paths of the classpath.classLoaders
- the ClassLoader(s) that this classpath was obtained from.log
- the LogNode instance to use if logging in verbose mode.public boolean addClasspathElement(String pathElement, ClassLoader classLoader, LogNode log)
pathElement
- the URL or path of the classpath element.classLoader
- the ClassLoader that this classpath element was obtained from.log
- the LogNode instance to use if logging in verbose mode.public boolean addClasspathElementObject(Object pathObject, ClassLoader classLoader, LogNode log)
toString()
method
returns a path or URL string (including the URL
and Path
types).pathObject
- the object containing a classpath string or strings.classLoader
- the ClassLoader that this classpath was obtained from.log
- the LogNode instance to use if logging in verbose mode.public boolean addClasspathElements(String pathStr, ClassLoader classLoader, LogNode log)
pathStr
- the delimited string of URLs or paths of the classpath.classLoader
- the ClassLoader that this classpath was obtained from.log
- the LogNode instance to use if logging in verbose mode.public boolean addClasspathElements(ClasspathOrder subsequentOrder)
subsequentOrder
- the ordering to add after this one.Copyright © 2018. All rights reserved.