code: public void setOptions(String[] options) throws Exception {
      String        			tmpStr;
      ClassOption					option;
  
      tmpStr = Utils.getOption('B', options);
      option = (ClassOption) m_Generator.copy();
      if (tmpStr.length() == 0)
      	option.setCurrentObject(new LEDGenerator());
      else
      	option.setCurrentObject(MOAUtils.fromCommandLine(m_Generator, tmpStr));
      setGenerator(option);
      
      super.setOptions(options);
    }
docs: Parses a list of options for this object. <p/>
  
  <!-- options-start -->
  Valid options are: <p/>
  
  <pre> -h
  Prints this help.</pre>
  
  <pre> -o &lt;file&gt;
  The name of the output file, otherwise the generated data is
  printed to stdout.</pre>
  
  <pre> -r &lt;name&gt;
  The name of the relation.</pre>
  
  <pre> -d
  Whether to print debug informations.</pre>
  
  <pre> -S
  The seed for random function (default 1)</pre>
  
  <pre> -n &lt;num&gt;
  The number of examples to generate (default 100)</pre>
  
  <pre> -B &lt;classname + options&gt;
  The MOA stream generator.
  (default: moa.streams.generators.LEDGenerator)</pre>
  
  <!-- options-end -->
  
  @param options the list of options as an array of strings
  @throws Exception if an option is not supported