public class ResourceLoaderWrapper extends Object implements ResourceLoader
ResourceLoader that uses reflection and works as a bridge between classLoaders.| Constructor and Description |
|---|
ResourceLoaderWrapper(Dispatcher dispatcher,
Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
Optional<URL> |
findIn(String resource,
String groupId,
String artifactId,
Optional<String> version,
String classifier,
String type) |
URL |
getResource(String resource) |
InputStream |
getResourceAsStream(String resource) |
Optional<InputStream> |
loadFrom(String resource,
String groupId,
String artifactId,
Optional<String> version,
String classifier,
String type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindIn, loadFrompublic ResourceLoaderWrapper(Dispatcher dispatcher, Serializer serializer)
public InputStream getResourceAsStream(String resource)
getResourceAsStream in interface ResourceLoaderpublic URL getResource(String resource)
getResource in interface ResourceLoaderpublic Optional<URL> findIn(String resource, String groupId, String artifactId, Optional<String> version, String classifier, String type)
findIn in interface ResourceLoaderCopyright © 2025 MuleSoft, Inc.. All rights reserved.