Interface ResourceRetriever
- All Known Implementing Classes:
LibraryGenerator, UberJarGenerator
public interface ResourceRetriever
The interface ResourceRetriever, see
Generator.-
Method Summary
Modifier and TypeMethodDescriptionfrom(Stream<ResourceProvider> providers) Adds the given providers as sources for resources.from(ResourceProvider... providers) Adds the given provider(s) as source for resources.
-
Method Details
-
from
Adds the given provider(s) as source for resources.- Parameters:
providers- the provider to add- Returns:
- the resource retriever
-
from
Adds the given providers as sources for resources. The stream must not be terminated before the generators' provide method is invoked.- Parameters:
providers- the providers to retrieve resources from- Returns:
- the resource retriever
-