Package com.dropbox.core
Class DbxStreamWriter.InputStreamCopier
- java.lang.Object
-
- com.dropbox.core.DbxStreamWriter<java.io.IOException>
-
- com.dropbox.core.DbxStreamWriter.InputStreamCopier
-
- Enclosing class:
- DbxStreamWriter<E extends java.lang.Throwable>
public static final class DbxStreamWriter.InputStreamCopier extends DbxStreamWriter<java.io.IOException>
ADbxStreamWriter
that gets its source data from the givenInputStream
. TheInputStream
will be closed automatically.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.dropbox.core.DbxStreamWriter
DbxStreamWriter.ByteArrayCopier, DbxStreamWriter.InputStreamCopier
-
-
Constructor Summary
Constructors Constructor Description InputStreamCopier(java.io.InputStream source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(NoThrowOutputStream out)
Write all the data you plan to write toout
.
-
-
-
Method Detail
-
write
public void write(NoThrowOutputStream out) throws java.io.IOException
Description copied from class:DbxStreamWriter
Write all the data you plan to write toout
. Do not callclose()
on the stream (the stream will be closed automatically).- Specified by:
write
in classDbxStreamWriter<java.io.IOException>
- Throws:
java.io.IOException
-
-