clazzName="railo.runtime.search.lucene2.analyzer."+StringUtil.ucFirst(language.trim().toLowerCase())+"Analyzer";
o=ClassUtil.loadInstance(clazzName,(Object)null);//Class.orName(clazzName).newInstance();
}
if(o instanceof Analyzer) analyzer=(Analyzer) o;
else if(o==null)
throw new SearchException("can't create Language Analyzer for Lanuage "+language+", make Analyzer ["+clazzName+"] available");
else
throw new SearchException( "can't create Language Analyzer for Lanuage "+language+", Analyzer ["+clazzName+"] is of invalid type");
}
analyzers.put(language, analyzer);
return analyzer;
}