public class SingleFileStreamGenerator extends java.lang.Object implements StreamGenerator
Bucket
to an output stream.Modifier and Type | Method and Description |
---|---|
long |
size() |
void |
writeTo(java.io.OutputStream os,
ClientContext context)
Writes the data.
|
public void writeTo(java.io.OutputStream os, ClientContext context) throws java.io.IOException
StreamGenerator
writeTo
in interface StreamGenerator
os
- Stream to which the data will be writtenjava.io.IOException
public long size()
size
in interface StreamGenerator