public interface Browser
RepositoryService, the bound service.| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends MutableAsset> |
discover(Collection<? extends AssetType> types)
Returns all the assets of given types which are available through the bound service.
|
Iterable<? extends MutableAsset> discover(Collection<? extends AssetType> types) throws Exception
This method is invoked only if the RepositoryService declares an Importer for at least one of the
given types. Implementations do not need to perform this check, and may in fact ignore the input entirely if
their RepositoryService supports only one type.
types - the asset typesException - if the assets cannot be discoveredCopyright © 2018. All rights reserved.