public final class MockResourceLoader extends Object implements ResourceLoader
| Constructor and Description |
|---|
MockResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
MockResource |
addResource(ResourcePath path,
byte[] bytes) |
MockResource |
addResource(ResourcePath path,
String text) |
MockResource |
addResource(String path,
byte[] bytes) |
MockResource |
addResource(String path,
String text) |
Resource |
loadOrNull(ResourcePath path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexists, loadpublic Resource loadOrNull(ResourcePath path)
loadOrNull in interface ResourceLoaderpublic MockResource addResource(String path, String text)
public MockResource addResource(String path, byte[] bytes)
public MockResource addResource(ResourcePath path, String text)
public MockResource addResource(ResourcePath path, byte[] bytes)