public class ScriptResourceUtils extends ScriptBase
context, properties| Constructor and Description |
|---|
ScriptResourceUtils(DependencyAggregator dependencyAggregator) |
| Modifier and Type | Method and Description |
|---|---|
protected LinkedHashSet<String> |
buildHashSet(String[] input)
Builds a new
LinkedHashSet from the supplied String array. |
protected org.springframework.extensions.webscripts.ScriptableMap<String,Serializable> |
buildProperties() |
String |
getAggregratedCssResources(String[] cssResources) |
String |
getAggregratedJsResources(String[] jsResources) |
getConfig, getObject, getObjectService, getProperties, getRequestContext, toStringpublic ScriptResourceUtils(DependencyAggregator dependencyAggregator)
protected org.springframework.extensions.webscripts.ScriptableMap<String,Serializable> buildProperties()
buildProperties in class ScriptBaseprotected LinkedHashSet<String> buildHashSet(String[] input)
LinkedHashSet from the supplied String array.input - The String array to convert to a LinkedHashSetLinkedHashSetpublic String getAggregratedJsResources(String[] jsResources)
jsResources - String[]Copyright © 2005–2016 Alfresco Software. All rights reserved.