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