|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.util.CompositeConsumer
Consumes a stream by copying it to several StreamConsumers.
| Constructor Summary | |
CompositeConsumer(StreamConsumer consumer)
Creates a new instance of CompositeConsumer. |
|
| Method Summary | |
void |
add(StreamConsumer consumer)
Adds a consumer to the composite list. |
void |
consumeLine(java.lang.String line)
Called when the StreamPumper pumps a line from the Stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompositeConsumer(StreamConsumer consumer)
| Method Detail |
public void add(StreamConsumer consumer)
public void consumeLine(java.lang.String line)
consumeLine in interface StreamConsumer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||