code: @Override
  	public boolean isDirectory(String resourceName) {
  		boolean result = false;
  		List<ResourceBrowser> list = new ArrayList<>();
  		list.addAll(resourceInfoProviders);
  		for (Iterator<ResourceBrowser> iterator = list.iterator(); iterator.hasNext() && !result;) {
  			ResourceBrowser rsBrowser = iterator.next();
  			if (generatorRegistry.isPathGenerated(resourceName)) {
  				if (rsBrowser instanceof ResourceGenerator) {
  					ResourceGenerator rsGeneratorBrowser = (ResourceGenerator) rsBrowser;
  					if (rsGeneratorBrowser.getResolver().matchPath(resourceName)) {
  						result = rsBrowser.isDirectory(resourceName);
  					}
  				}
  			} else {
  				if (!(rsBrowser instanceof ResourceGenerator)) {
  					result = rsBrowser.isDirectory(resourceName);
  				}
  			}
  		}
  		return result;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  net.jawr.web.resource.handler.reader.ResourceBrowser#isDirectory(java
  .lang.String)