wro4j-core/src/main/java/ro/isdc/wro/manager/WroManager.java
public final String encodeVersionIntoGroupPath(final String groupName, final ResourceType resourceType,
      final boolean minimize) {
    // TODO use CacheKeyFactory
    final CacheKey key = new CacheKey(groupName, resourceType, minimize);
    final CacheValue cacheValue = cacheStrategy.get(key);
    final String groupUrl = groupExtractor.encodeGroupUrl(groupName, resourceType, minimize);
    // encode the fingerprint of the resource into the resource path
    return formatVersionedResource(cacheValue.getHash(), groupUrl);
  }
public final String encodeVersionIntoGroupPath(final String groupName, final ResourceType resourceType,
      final boolean minimize) {
    // TODO use CacheKeyFactory
    final CacheKey key = new CacheKey(groupName, resourceType, minimize);
    final CacheValue cacheValue = cacheStrategy.get(key);
    final String groupUrl = groupExtractor.encodeGroupUrl(groupName, resourceType, minimize);
    // encode the fingerprint of the resource into the resource path
    return formatVersionedResource(cacheValue.getHash(), groupUrl);
  }
public final String encodeVersionIntoGroupPath ( final String groupName , final ResourceType resourceType , final boolean minimize ) { // TODO use CacheKeyFactory final CacheKey key = new CacheKey ( groupName , resourceType , minimize ) ; final CacheValue cacheValue = cacheStrategy . get ( key ) ; final String groupUrl = groupExtractor . encodeGroupUrl ( groupName , resourceType , minimize ) ; // encode the fingerprint of the resource into the resource path return formatVersionedResource ( cacheValue . getHash ( ) , groupUrl ) ; }
Encodes a fingerprint of the resource into the path. The result may look like this: ${fingerprint}/myGroup.js

@return a path to the resource with the fingerprint encoded as a folder name.
Encodes a fingerprint of the resource into the path . The result may look like this : $ { fingerprint } / myGroup . js