Class ResourceMergerUtil
- java.lang.Object
-
- org.apache.sling.resourcemerger.api.ResourceMergerUtil
-
public abstract class ResourceMergerUtil extends Object
Utility methods for merged resources.- Since:
- 1.2
-
-
Constructor Summary
Constructors Constructor Description ResourceMergerUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisMergedResource(org.apache.sling.api.resource.Resource resource)Returnstrueif the providedResourceis a merged resource.
-
-
-
Method Detail
-
isMergedResource
public static boolean isMergedResource(org.apache.sling.api.resource.Resource resource)
Returnstrueif the providedResourceis a merged resource. If the resource isnull,falseis returned.- Parameters:
resource- The resource- Returns:
- Returns
trueif the providedResourceis a merged resource.
-
-