Package com.dropbox.core
Class DbxStreamWriter.ByteArrayCopier
- Enclosing class:
DbxStreamWriter<E extends Throwable>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.dropbox.core.DbxStreamWriter
DbxStreamWriter.ByteArrayCopier, DbxStreamWriter.InputStreamCopier -
Constructor Summary
ConstructorsConstructorDescriptionByteArrayCopier(byte[] data) ByteArrayCopier(byte[] data, int offset, int length) -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(NoThrowOutputStream out) Write all the data you plan to write toout.
-
Constructor Details
-
ByteArrayCopier
public ByteArrayCopier(byte[] data, int offset, int length) -
ByteArrayCopier
public ByteArrayCopier(byte[] data)
-
-
Method Details
-
write
Description copied from class:DbxStreamWriterWrite all the data you plan to write toout. Do not callclose()on the stream (the stream will be closed automatically).- Specified by:
writein classDbxStreamWriter<RuntimeException>
-