Interface ResourceLoader

All Known Implementing Classes:
ApiSyncResourceLoader, ClassPathResourceLoader

public interface ResourceLoader
Represents a way of getting resources from the application
  • Method Details

    • getResource

      URI getResource(String relativePath)
      Gets the root RAML File
      Parameters:
      relativePath - Location of the root RAML file relative to the /mule/resources/api folder or a resource:: in case when the API is defined as a dependency (API sync)
      Returns:
      URI to the RAML resource
    • getResourceAsStream

      default InputStream getResourceAsStream(String relativePath)