public abstract class CloseableByteSourceFromOutputStreamBuilder
extends java.io.OutputStream
CloseableByteSource from the data that was written to it.
Calling OutputStream.close() is optional as build() will also close the output stream.| Constructor and Description |
|---|
CloseableByteSourceFromOutputStreamBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract CloseableByteSource |
build()
Creates the source from the data that has been written to the stream.
|
public CloseableByteSourceFromOutputStreamBuilder()
public abstract CloseableByteSource build() throws java.io.IOException
java.io.IOException - failed to build the byte source