addAssetMaps

fun addAssetMaps(assetMaps: <Error class: unknown class><String, AssetMap>)

Add multiple AssetMap instances to be loaded with this Portal.

Example usage (kotlin):

val assetMaps = LinkedHashMap<String, AssetMap>();
assetMaps["images"] = AssetMap("images", "/shared/images", "images")
portal.addAssetMaps(assetMaps)

Example usage (java):

LinkedHashMap<String, AssetMap> assetMaps = new LinkedHashMap<String, AssetMap>();
assetMaps.put("images", new AssetMap("images","/shared/images","images"));
portal.addAssetMaps(assetMaps);

Parameters

assetMaps

a list of Plugin instances to be used with the Portal