Package com.dropbox.core
Class DbxStreamReader<E extends java.lang.Throwable>
- java.lang.Object
- 
- com.dropbox.core.DbxStreamReader<E>
 
- 
- Type Parameters:
- E- The type of exception that your- read(com.dropbox.core.NoThrowInputStream)implementation might throw If your- readimplementation won't throw any checked exceptions, you should use- RuntimeExceptionfor this parameter.
 - Direct Known Subclasses:
- DbxStreamReader.ByteArrayCopier,- DbxStreamReader.OutputStreamCopier
 
 public abstract class DbxStreamReader<E extends java.lang.Throwable> extends java.lang.ObjectA callback for streaming data from anInputStream.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDbxStreamReader.ByteArrayCopierstatic classDbxStreamReader.OutputStreamCopierADbxStreamReaderthat gets its source data from the givenOutputStream.
 - 
Constructor SummaryConstructors Constructor Description DbxStreamReader()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidread(NoThrowInputStream in)Write all the data you plan to write toin.
 
- 
- 
- 
Method Detail- 
readpublic abstract void read(NoThrowInputStream in) throws E extends java.lang.Throwable Write all the data you plan to write toin. Do not callclose()on the stream (the stream will be closed automatically).- Throws:
- E extends java.lang.Throwable
 
 
- 
 
-