Package com.networknt.schema.resource
Interface ResourceLoader
- All Known Implementing Classes:
ClasspathResourceLoader,IriResourceLoader,MapResourceLoader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resource Loader used to load data using a retrieval IRI.
-
Method Summary
Modifier and TypeMethodDescriptiongetResource(AbsoluteIri location) Loads data given the retrieval IRI.
-
Method Details
-
getResource
Loads data given the retrieval IRI.- Parameters:
location- the retrieval IRI- Returns:
- the input stream source
-