public Event read() throws IOException { String eventString = ds.read(); if (eventString != null) { return createEvent(eventString); } return null; }
ObjectStream<Event> smallEventStream = new RealBasicEventStream( new PlainTextByLineStream(new MockInputStreamFactory(smallValues), StandardCharsets.UTF_8)); System.out.println("smallResults: " + smallResultString); ObjectStream<Event> largeEventStream = new RealBasicEventStream( new PlainTextByLineStream(new MockInputStreamFactory(largeValues), StandardCharsets.UTF_8));
public Event read() throws IOException { String eventString = ds.read(); if (eventString != null) { return createEvent(eventString); } return null; }
public Event read() throws IOException { String eventString = ds.read(); if (eventString != null) { return createEvent(eventString); } return null; }