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
IOExceptionprotected Path toPath(URI uri) throws IOException
IOExceptionCopyright © 2018 Nuxeo. All rights reserved.