public class LineCollector
extends java.lang.Object
implements java.util.function.Consumer<java.lang.String>
| Constructor and Description |
|---|
LineCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(java.lang.String s) |
java.util.List<java.lang.String> |
getLines() |
java.lang.String |
getOutput() |