E
- The type of exception that your read(com.dropbox.core.NoThrowInputStream)
implementation might throw
If your read
implementation won't throw any checked exceptions,
you should use RuntimeException
for this parameter.public abstract class DbxStreamReader<E extends java.lang.Throwable>
extends java.lang.Object
InputStream
.Modifier and Type | Class and Description |
---|---|
static class |
DbxStreamReader.ByteArrayCopier |
static class |
DbxStreamReader.OutputStreamCopier
A
DbxStreamReader that gets its source data from the given OutputStream . |
Constructor and Description |
---|
DbxStreamReader() |
Modifier and Type | Method and Description |
---|---|
abstract void |
read(NoThrowInputStream in)
Write all the data you plan to write to
in . |
public abstract void read(NoThrowInputStream in) throws E extends java.lang.Throwable
in
. Do not
call close()
on the stream (the stream will
be closed automatically).E extends java.lang.Throwable