public static final class DbxStreamWriter.InputStreamCopier extends DbxStreamWriter<java.io.IOException>
DbxStreamWriter
that gets its source data from the given InputStream
.
The InputStream
will be closed automatically.DbxStreamWriter.ByteArrayCopier, DbxStreamWriter.InputStreamCopier
Constructor and Description |
---|
InputStreamCopier(java.io.InputStream source) |
Modifier and Type | Method and Description |
---|---|
void |
write(NoThrowOutputStream out)
Write all the data you plan to write to
out . |
public void write(NoThrowOutputStream out) throws java.io.IOException
DbxStreamWriter
out
. Do not
call close()
on the stream (the stream will
be closed automatically).write
in class DbxStreamWriter<java.io.IOException>
java.io.IOException