Package com.dropbox.core
Class DbxStreamWriter<E extends java.lang.Throwable>
- java.lang.Object
- 
- com.dropbox.core.DbxStreamWriter<E>
 
- 
- Type Parameters:
- E- The type of exception that your- write(com.dropbox.core.NoThrowOutputStream)implementation might throw If your- writeimplementation won't throw any checked exceptions, you should use- RuntimeExceptionfor this parameter.
 - Direct Known Subclasses:
- DbxStreamWriter.ByteArrayCopier,- DbxStreamWriter.InputStreamCopier
 
 public abstract class DbxStreamWriter<E extends java.lang.Throwable> extends java.lang.ObjectA callback for streaming data to anOutputStream.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDbxStreamWriter.ByteArrayCopierstatic classDbxStreamWriter.InputStreamCopierADbxStreamWriterthat gets its source data from the givenInputStream.
 - 
Constructor SummaryConstructors Constructor Description DbxStreamWriter()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidwrite(NoThrowOutputStream out)Write all the data you plan to write toout.
 
- 
- 
- 
Method Detail- 
writepublic abstract void write(NoThrowOutputStream out) throws E extends java.lang.Throwable Write all the data you plan to write toout. Do not callclose()on the stream (the stream will be closed automatically).- Throws:
- E extends java.lang.Throwable
 
 
- 
 
-