|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.util.ClasspathHelper
public final class ClasspathHelper
This class contains some helper classes which are used inside ClasspathMonitor and ClasspathDigger. Some of the methods were formerly placed in ClasspathMonitor but also needed by ClasspathDigger. To avoid dependencies from ClasspathDigger to ClasspathMonitor the common methods were moved to this class here.
| Method Summary | |
|---|---|
static URI |
getParent(URI path,
Class<?> clazz)
Gets the parent of the given class. |
static URI |
getParent(URI path,
String resource)
Don't use @ProfileMe here! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static URI getParent(URI path,
String resource)
path - e.g. "jar:file:/a/b/c.jar!/d/e.classresource - e.g. "/d/e.class"
public static URI getParent(URI path,
Class<?> clazz)
path - e.g. "jar:file:/a/b/c.jar!/d/e.classclazz - e.gl. "d.e.class"
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||