Interface IModuleURIResolver
- All Known Implementing Classes:
AbstractUpURIResolver,FileUpURIResolver,JarUpURIResolver,PlatformResourceUpURIResolver,SegmentUpURIResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolves URIs from the context of an Epsilon module.
- Since:
- 2.9
-
Method Summary
-
Method Details
-
resolve
Optional<URI> resolve(URI uri, IModule parentModule, URI baseUri) throws URISyntaxException, IOException Attempts to resolve the givenuri. The resolver is given theparentModuleandbaseUrithat should be used as context.- Returns:
- Non-empty Optional with the resolved URI if successful, or empty Optional if the URI could not be resolved.
- Throws:
URISyntaxExceptionIOException
-