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.
@FunctionalInterface public interface ResourceLoader
Resource Loader used to load data using a retrieval IRI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamSourcegetResource(AbsoluteIri location)Loads data given the retrieval IRI.
-
-
-
Method Detail
-
getResource
InputStreamSource getResource(AbsoluteIri location)
Loads data given the retrieval IRI.- Parameters:
location- the retrieval IRI- Returns:
- the input stream source
-
-