public static boolean classExistsAndIsLoadable ( String className ) { try { Class . forName ( className ) ; return true ; } catch ( ClassNotFoundException e ) { // Exception noted and ignored. e = null ; return false ; } }
Checks if the named class exists and is loadable .