ResourceTypeUtil should be extended to compare and check resources and resourceTypes

Description

ResourceTypeUtil should offer methods to check the resourcetype e.g.

or to compare resourceType

considering "apps" and "libs" prefixes on resource paths.

Activity

Show:
Stefan Seifert
December 5, 2014, 1:35 PM

check for resource type - what about the sling API?
ResourceResolver.isResourceType (in older versions: ResourceUtil.isA)
http://sling.apache.org/apidocs/sling7/org/apache/sling/api/resource/ResourceResolver.html#isResourceType-org.apache.sling.api.resource.Resource-java.lang.String-

Won't Fix

Assignee

Peter Mannel

Reporter

Peter Mannel

Labels

None

Components

Priority

Major