public static final class DbxStreamReader.OutputStreamCopier extends DbxStreamReader<IOException>
DbxStreamReader
that gets its source data from the given OutputStream
.
The OutputStream
will be closed automatically.DbxStreamReader.ByteArrayCopier, DbxStreamReader.OutputStreamCopier
Constructor and Description |
---|
OutputStreamCopier(OutputStream dest) |
Modifier and Type | Method and Description |
---|---|
void |
read(NoThrowInputStream source)
Write all the data you plan to write to
in . |
public OutputStreamCopier(OutputStream dest)
public void read(NoThrowInputStream source) throws IOException
DbxStreamReader
in
. Do not
call close()
on the stream (the stream will
be closed automatically).read
in class DbxStreamReader<IOException>
IOException