public interface StreamGenerator
Modifier and Type | Method and Description |
---|---|
long |
size() |
void |
writeTo(java.io.OutputStream os,
ClientContext context)
Writes the data.
|
void writeTo(java.io.OutputStream os, ClientContext context) throws java.io.IOException
os
- Stream to which the data will be writtencontext
- java.io.IOException
long size()