String [] objectOptions = Utils.partitionOptions(options); ((OptionHandler)o).setOptions(objectOptions); Utils.checkForRemainingOptions(objectOptions);
((OptionHandler)o).setOptions(options); Utils.checkForRemainingOptions(options);
  public static Object forName(Class classType,			       String className,			       String [] options) throws Exception {    Class c = null;    try {      c = Class.forName(className);    } catch (Exception ex) {      throw new Exception("Can't find class called: " + className);    }    if (!classType.isAssignableFrom(c)) {      throw new Exception(classType.getName() + " is not assignable from "			  + className);    }    Object o = c.newInstance();    if ((o instanceof OptionHandler)	&& (options != null)) {      String [] objectOptions = Utils.partitionOptions(options);      ((OptionHandler)o).setOptions(objectOptions);      Utils.checkForRemainingOptions(objectOptions);    }    return o;  }