public static boolean isClassSupport(String clzName){
  try {
    Class.forName(clzName);
    return true;
  }
 catch (  ClassNotFoundException e) {
    return false;
  }
}

public static boolean isClassSupport ( String clzName ) { try { Class . forName ( clzName ) ; return true ; } catch ( ClassNotFoundException e ) { return false ; } }
check if the class is valid by clzname
