Interface IterableInputConverter<E>

  • Type Parameters:
    E - the type of the objects that are read by this IterableInputConverter
    All Known Implementing Classes:
    InputStreamIterableInputConverter, JsonIterableInputConverter

    public interface IterableInputConverter<E>
    An IterableInputConverter is a Converter that is able to read a list of objects from a certain input source by creating an Iterator to provide that list. The actual source is not defined on this interface and is thus completely left open for the implementations to define.
    • Method Detail

      • iterator

        Iterator<E> iterator()
        Creates an Iterator that is used to iterate over a list of objects that are read from a certain input source.
        Returns:
        An Iterator to iterate over a list of objects read from a certain input source.