Package org.benf.cfr.reader.api
Interface OutputSinkFactory.Sink<T>
- All Known Implementing Classes:
SinkDumperFactory.NopStringSink
- Enclosing interface:
- OutputSinkFactory
public static interface OutputSinkFactory.Sink<T>
NB Sink as opposed to a stream, means that implementor has the choice of when to close.
-
Method Summary
-
Method Details
-
write
Consume a message. (Basically, sink is Consumer<T>, if it existed back in j6 land...- Parameters:
sinkable
- message. This will be of the type specified when creating the sink.
-