public class TargetResourceLocator extends Object
Modifier and Type | Field and Description |
---|---|
protected Path |
basepath |
protected ClassLoader |
loader |
Constructor and Description |
---|
TargetResourceLocator(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected Path |
basepath(Class<?> clazz) |
protected int |
depthOfClass(String name) |
Path |
getBasepath() |
URL |
getTargetTestResource(String name) |
protected Path |
toPath(URI uri) |
protected final ClassLoader loader
public TargetResourceLocator(Class<?> clazz)
public Path getBasepath()
protected int depthOfClass(String name)
public URL getTargetTestResource(String name) throws IOException
IOException
protected Path toPath(URI uri) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.