Class YamlProducer

java.lang.Object
org.dbunit.dataset.yaml.YamlProducer
All Implemented Interfaces:
IDataSetProducer

public class YamlProducer extends Object implements IDataSetProducer
Version:
$Revision$ $Date$
Author:
Björn Beskow
  • Constructor Details

  • Method Details

    • setConsumer

      public void setConsumer(IDataSetConsumer consumer)
      Specified by:
      setConsumer in interface IDataSetProducer
    • produce

      public void produce() throws DataSetException
      Description copied from interface: IDataSetProducer
      Process this dataset source. During the processing, the IDataSetProducer will provide information about the dataset through the specified event listener.

      This method is synchronous: it will not return until processing has ended. If a client application wants to terminate parsing early, it should throw an exception from the listener.

      Specified by:
      produce in interface IDataSetProducer
      Throws:
      DataSetException