public class ClientContextUtil
extends java.lang.Object
Constructor and Description |
---|
ClientContextUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getId(java.lang.String idToFilter)
Returns a valid DOM id based on a path or a random string (replaces invalid characters by "_").
|
static java.util.List<java.lang.String> |
getPlugins(ResourceResolver resourceResolver,
java.lang.String[] locations)
Returns a list of plugins (paths to JS files) defined into specified locations.
|
public static java.util.List<java.lang.String> getPlugins(ResourceResolver resourceResolver, java.lang.String[] locations)
resourceResolver
- Resource resolverlocations
- Locations where to search for pluginspublic static java.lang.String getId(java.lang.String idToFilter)
idToFilter
- A repository path or a random stringCopyright © 2010 - 2020 Adobe. All Rights Reserved