public abstract class DelegateSink extends Object implements Sink
Sink| Constructor and Description |
|---|
DelegateSink(Sink delegate) |
public DelegateSink(Sink delegate)
public final Sink delegate()
public void write(Buffer source, long byteCount) throws IOException
write in interface SinkIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in interface SinkIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface SinkIOExceptionCopyright © 2020. All rights reserved.