public class EventStreamReader<I> extends Object implements AutoCloseable
Constructor and Description |
---|
EventStreamReader(InputStream inputStream,
Class<I> type) |
public EventStreamReader(InputStream inputStream, Class<I> type)
public I readItem() throws IOException
IOException
public void close() throws IOException
close
in interface AutoCloseable
IOException
Copyright © 2015. All Rights Reserved.