Package io.cucumber.messages
Class NdjsonToMessageIterable
- java.lang.Object
-
- io.cucumber.messages.NdjsonToMessageIterable
-
public final class NdjsonToMessageIterable extends Object implements Iterable<Envelope>
Iterates over messages read from a stream. Client code should not depend on this class directly, but rather on aIterable<Messages.Envelope>object. Tests can then use anew ArrayList<Messages.Envelope>which implements the same interface.
-
-
Constructor Summary
Constructors Constructor Description NdjsonToMessageIterable(InputStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<Envelope>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-