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>
ADbxStreamReaderthat gets its source data from the givenOutputStream. TheOutputStreamwill 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 voidread(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:DbxStreamReaderWrite all the data you plan to write toin. Do not callclose()on the stream (the stream will be closed automatically).- Specified by:
readin classDbxStreamReader<java.io.IOException>- Throws:
java.io.IOException
-
-