| Modifier and Type | Method | Description |
|---|---|---|
default Sink |
map(Transformation t) |
Returns a sink which applies the given transformation to the I/O streams loaned by this sink.
|
Socket<java.io.OutputStream> |
output() |
Returns an output stream socket for (over)writing the content of this sink.
|
Socket<java.io.OutputStream> output()
default Sink map(Transformation t)
t - the transformation to apply to the I/O streams loaned by this sink.