public interface ResourceProvider
Modifier and Type | Method and Description |
---|---|
boolean |
containsResourcesFromSource(String sourceID)
checks whether there are any resources registered from the source
beware that the implementation may vary.
|
List<ResourceModel> |
provideResource(String resourceID)
returns the resource (if existing)
beware that the implementation may vary.
|
List<ResourceModel> |
provideResource(String[] resourceIDs)
returns all EXISTING resources for the ID.
|
List<ResourceModel> |
provideResourceFromSource(String sourceID)
returns the resource (if existing) from the source
|
boolean |
providesResource(List<String> resourcesID)
checks whether the ResourceContainer can provide at least ONE resource
beware that the implementation may vary.
|
boolean |
providesResource(ResourceModel resource)
checks whether it can provide the resource
beware that the implementation may vary.
|
boolean providesResource(ResourceModel resource)
resource
- the resource to provideboolean containsResourcesFromSource(String sourceID)
sourceID
- the ID of the sourceboolean providesResource(List<String> resourcesID)
resourcesID
- a list containing sourcesList<ResourceModel> provideResource(String[] resourceIDs)
resourceIDs
- an Array containing the resourcesList<ResourceModel> provideResource(String resourceID)
resourceID
- the ID of the resourceList<ResourceModel> provideResourceFromSource(String sourceID)
sourceID
- the ID of the sourceCopyright © 2016. All rights reserved.