io.github.vmzakharov.ecdataframe.util.CollectingPrinter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataframe-ec Show documentation
Show all versions of dataframe-ec Show documentation
A tabular data structure based on the Eclipse Collections framework
package io.github.vmzakharov.ecdataframe.util;
public class CollectingPrinter
implements Printer
{
private final StringBuilder buffer = new StringBuilder();
@Override
public void print(String value)
{
this.buffer.append(value);
}
public String toString()
{
return this.buffer.toString();
}
public void clear()
{
this.buffer.setLength(0);
}
}