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 WriterStreamConsumer(Writer writer)
public void consumeLine(String line)
StreamConsumer
consumeLine
in interface StreamConsumer
line
- The line to be consumed.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.