Class ConsoleDataSinkBuilder

java.lang.Object
repast.simphony.data2.builder.ConsoleDataSinkBuilder
All Implemented Interfaces:
SinkBuilder

public class ConsoleDataSinkBuilder extends Object implements SinkBuilder
DataSinkBuilder that can build FileDataSinks.
Author:
Nick Collier
  • Constructor Details

  • Method Details

    • addSource

      public void addSource(String sourceId)
      Adds the specified source id to the list of those to write to the console.
      Parameters:
      sourceId -
    • create

      public DataSink create(Collection<? extends DataSource> sources)
      Description copied from interface: SinkBuilder
      Creates and returns a DataSink.
      Specified by:
      create in interface SinkBuilder
      Parameters:
      sources - the DataSources the that will feed the created DataSink
      Returns:
      the created DataSink.