public class TeeConsumer extends Object implements org.codehaus.plexus.util.cli.StreamConsumer
| Constructor and Description |
|---|
TeeConsumer(PrintStream stream)
Constructor for TeeConsumer.
|
TeeConsumer(PrintStream stream,
String indent)
Constructor for TeeConsumer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consumeLine(String line) |
String |
getContent()
Getter for the field
content. |
String |
toString() |
public TeeConsumer(PrintStream stream)
Constructor for TeeConsumer.
stream - a PrintStream objectpublic TeeConsumer(PrintStream stream, String indent)
Constructor for TeeConsumer.
stream - a PrintStream objectindent - a String objectpublic void consumeLine(String line)
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumerCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.