tenua.simulator
Class StringDataGenerator

java.lang.Object
  extended by tenua.simulator.AbstractDataGenerator
      extended by tenua.simulator.StringDataGenerator
All Implemented Interfaces:
java.lang.Runnable, DataGenerator

public class StringDataGenerator
extends AbstractDataGenerator

A DataGenerator that parses a String consisting of "\n"-delimited lines, with ";" delimited fields. The first line is the names, the rest of the lines are the values

Author:
Daniel Wachsstock

Nested Class Summary
 
Nested classes/interfaces inherited from interface tenua.simulator.DataGenerator
DataGenerator.Listener
 
Constructor Summary
StringDataGenerator(java.lang.String s)
          Creates a new instance of StringDataGenerator
 
Method Summary
 
Methods inherited from class tenua.simulator.AbstractDataGenerator
addListener, getMemento, getNames, removeListener, run, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringDataGenerator

public StringDataGenerator(java.lang.String s)
Creates a new instance of StringDataGenerator

Parameters:
s - the string to parse
Throws:
java.lang.IllegalArgumentException - if s is null