public class WriterStreamConsumer extends Object implements StreamConsumer
| Constructor and Description | 
|---|
WriterStreamConsumer(Writer writer)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
consumeLine(String line)
Called when the StreamPumper pumps a line from the Stream. 
 | 
public void consumeLine(String line) throws IOException
consumeLine in interface StreamConsumerline - The line to be consumed.IOException - if consuming line fails.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.