@Override
	public String getFilePath(String resourcePath) {

		String filePath = null;
		List<ResourceBrowser> list = new ArrayList<>();
		list.addAll(resourceInfoProviders);
		for (Iterator<ResourceBrowser> iterator = list.iterator(); iterator.hasNext() && filePath == null;) {
			ResourceBrowser rsBrowser = iterator.next();
			if (generatorRegistry.isPathGenerated(resourcePath)) {
				if (rsBrowser instanceof ResourceGenerator) {
					ResourceGenerator rsGeneratorBrowser = (ResourceGenerator) rsBrowser;
					if (rsGeneratorBrowser.getResolver().matchPath(resourcePath)) {
						filePath = rsBrowser.getFilePath(resourcePath);
					}
				}
			} else {
				if (!(rsBrowser instanceof ResourceGenerator)) {
					filePath = rsBrowser.getFilePath(resourcePath);
				}
			}
		}
		return filePath;
	}
@ Override public String getFilePath ( String resourcePath ) { String filePath = null ; List < ResourceBrowser > list = new ArrayList < > ( ) ; list . addAll ( resourceInfoProviders ) ; for ( Iterator < ResourceBrowser > iterator = list . iterator ( ) ; iterator . hasNext ( ) && filePath == null ; ) { ResourceBrowser rsBrowser = iterator . next ( ) ; if ( generatorRegistry . isPathGenerated ( resourcePath ) ) { if ( rsBrowser instanceof ResourceGenerator ) { ResourceGenerator rsGeneratorBrowser = ( ResourceGenerator ) rsBrowser ; if ( rsGeneratorBrowser . getResolver ( ) . matchPath ( resourcePath ) ) { filePath = rsBrowser . getFilePath ( resourcePath ) ; } } } else { if ( ! ( rsBrowser instanceof ResourceGenerator ) ) { filePath = rsBrowser . getFilePath ( resourcePath ) ; } } } return filePath ; }
/*
(non-Javadoc)

@see
net.jawr.web.resource.handler.reader.ResourceReaderHandler#getFilePath(
java.lang.String)