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 Details

    • getResource

      InputStreamSource getResource(AbsoluteIri location)
      Loads data given the retrieval IRI.
      Parameters:
      location - the retrieval IRI
      Returns:
      the input stream source