nu.staldal.lagoon.core
Interface ByteStreamProducer

All Superinterfaces:
ProducerInterface
All Known Implementing Classes:
Format, Process, Read

public interface ByteStreamProducer
extends ProducerInterface

Produces a byte stream.


Method Summary
 void start(java.io.OutputStream bytes, Target target)
          Start the generation of the byte stream.
 
Methods inherited from interface nu.staldal.lagoon.core.ProducerInterface
destroy, hasBeenUpdated, init
 

Method Detail

start

void start(java.io.OutputStream bytes,
           Target target)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Start the generation of the byte stream. Synchrounos, does not return until the whole stream is finished. Must not invoke close() on the stream.

Parameters:
bytes - the OutputStream to write to
target - the target
Throws:
org.xml.sax.SAXException
java.io.IOException