public interface SourceReader<S,T>
V from a data source S.
For example, S could be an input stream and the value V
could be de-serialised from the stream. Or V could be the body of
a message fetched from a queue S.SinkWriter| Modifier and Type | Method and Description |
|---|---|
T |
read(S source)
Reads a
T-value from the data source. |
default T |
uncheckedRead(S source)
Calls the
read method converting any checked
exception into an unchecked one that will bubble up without requiring
a throws clause on this method. |