final class OutputCollector
A utility class that will collect strings until a new line is encountered.
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
Accept a string as input. The collector will save the inputs until a new line is encountered, or the collector
is closed. The newlines are stripped and not present in the output.