public ClassRecord getClassRecord ( String className ) { Iterator < ClassRecord > iter = _classes . values ( ) . iterator ( ) ; while ( iter . hasNext ( ) ) { ClassRecord crec = iter . next ( ) ; if ( crec . name . equals ( className ) ) { return crec ; } } log . warning ( "No such color class" , "class" , className , new Exception ( ) ) ; return null ; }
Loads up a colorization class by name and logs a warning if it doesn t exist .