public class DefaultConsumer extends Object implements StreamConsumer
Constructor and Description |
---|
DefaultConsumer() |
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
StreamConsumer
consumeLine
in interface StreamConsumer
line
- The line to be consumed.IOException
- if consuming line
fails.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.