Scala, Design Patterns, Programming, Factory Pattern.
instantiated through AbstractFactory implementations and are the following. abstract class AbstractFactory { var options: Options def reader(path: String): Reader } class CsvFactory extends AbstractFactory { override var options: Options = new CsvOptions override def reader(path: String): Reader =