code: public static String findIconUrl( AbstractApplication app ) {
  
  		StringBuilder sb = new StringBuilder();
  		File iconFile = findIcon( app );
  		if( iconFile != null ) {
  			sb.append( "/" );
  			sb.append( app.getName());
  
  			if( app instanceof ApplicationTemplate ) {
  				sb.append( "/" );
  				sb.append(((ApplicationTemplate) app).getVersion());
  			}
  
  			sb.append( "/" );
  			sb.append( iconFile.getName());
  		}
  
  		return sb.toString();
  	}
docs: Finds the URL to access the icon of an application or templates.
  @param app an application or an application template
  @return the empty string if no icon was found, a string otherwise