wro4j-core/src/main/java/ro/isdc/wro/util/WroUtil.java
public static String toPackageAsFolder(final Class<?> clazz) {
    Validate.notNull(clazz, "Class cannot be null!");
    return clazz.getPackage().getName().replace('.', '/');
  }
public static String toPackageAsFolder(final Class<?> clazz) {
    Validate.notNull(clazz, "Class cannot be null!");
    return clazz.getPackage().getName().replace('.', '/');
  }
Creates a folder like implementation for a class. Ex: com.mycompany.MyClass -> com/mycompany/

@param clazz
used as a base location for determining the package path.
@return a string representation of the path where the class resides.