static private Converter _getConverter(Map<String, String> requestParams)
{
String pattern = requestParams.get("pattern");
boolean allowsTransparent =
"true".equals(requestParams.get("allowsTransparent"));
ColorConverter converter = new ColorConverter();
converter.setPatterns(pattern.split(" "));
if (allowsTransparent)
converter.setTransparentAllowed(true);
return converter;
}