public static final class DbxStreamWriter.InputStreamCopier extends DbxStreamWriter<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(InputStream source) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(NoThrowOutputStream out)
Write all the data you plan to write to
out. |
public InputStreamCopier(InputStream source)
public void write(NoThrowOutputStream out) throws IOException
DbxStreamWriterout. Do not
call close() on the stream (the stream will
be closed automatically).write in class DbxStreamWriter<IOException>IOException