Interface ElementWriterSupplier<T>

Type Parameters:
T - the type of element to be written
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface ElementWriterSupplier<T>
Creates or gets a element-writer to output files.

This exists primarily facilitate lazy creation of an element-writer (only if an output is enabled by the rules).

Author:
Owen Feehan
  • Method Summary

    Modifier and Type Method Description
    ElementWriter<T> get()
    Gets/creates the ElementWriter to be used for an output.