Package com.dropbox.core
Class DbxStreamReader.OutputStreamCopier
- java.lang.Object
-
- com.dropbox.core.DbxStreamReader<java.io.IOException>
-
- com.dropbox.core.DbxStreamReader.OutputStreamCopier
-
- Enclosing class:
- DbxStreamReader<E extends java.lang.Throwable>
public static final class DbxStreamReader.OutputStreamCopier extends DbxStreamReader<java.io.IOException>
ADbxStreamReader
that gets its source data from the givenOutputStream
. TheOutputStream
will be closed automatically.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.dropbox.core.DbxStreamReader
DbxStreamReader.ByteArrayCopier, DbxStreamReader.OutputStreamCopier
-
-
Constructor Summary
Constructors Constructor Description OutputStreamCopier(java.io.OutputStream dest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
read(NoThrowInputStream source)
Write all the data you plan to write toin
.
-
-
-
Method Detail
-
read
public void read(NoThrowInputStream source) throws java.io.IOException
Description copied from class:DbxStreamReader
Write all the data you plan to write toin
. Do not callclose()
on the stream (the stream will be closed automatically).- Specified by:
read
in classDbxStreamReader<java.io.IOException>
- Throws:
java.io.IOException
-
-