code: public void setOptions(String[] options) throws Exception {
      String		tmpStr;
      String[]		tmpOptions;
      Vector<String>	search;
      int			i;
      AbstractParameter[]	params;
  
      search = new Vector<String>();
      do {
        tmpStr = Utils.getOption("search", options);
        if (tmpStr.length() > 0)
  	search.add(tmpStr);
      }
      while (tmpStr.length() > 0);
      if (search.size() == 0)
        throw new IllegalArgumentException("No search parameters provided!");
      params = new AbstractParameter[search.size()];
      for (i = 0; i < search.size(); i++) {
        tmpOptions    = Utils.splitOptions(search.get(i));
        tmpStr        = tmpOptions[0];
        tmpOptions[0] = "";
        params[i]     = (AbstractParameter) Utils.forName(AbstractParameter.class, tmpStr, tmpOptions);
      }
      setParameters(params);
    }
docs: Parses the options for this object.
  
  @param options	the options to use
  @throws Exception	if setting of options fails