public static final class DbxStreamReader.OutputStreamCopier extends DbxStreamReader<java.io.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(java.io.OutputStream dest) |
Modifier and Type | Method and Description |
---|---|
void |
read(NoThrowInputStream source)
Write all the data you plan to write to
in . |
public void read(NoThrowInputStream source) throws java.io.IOException
DbxStreamReader
in
. Do not
call close()
on the stream (the stream will
be closed automatically).read
in class DbxStreamReader<java.io.IOException>
java.io.IOException