Package org.carrot2.util
Class TabularOutput
java.lang.Object
org.carrot2.util.TabularOutput
Tabular output data dump with automatically adjusted column widths and some other utilities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Column alignment.static class
static final class
Column specification. -
Constructor Summary
ConstructorsConstructorDescriptionTabularOutput
(Writer writer, LinkedHashMap<String, TabularOutput.ColumnSpec> columns, String colSeparator, int flushCount, boolean outputHeader) Where to write the output to. -
Method Summary
-
Constructor Details
-
TabularOutput
public TabularOutput(Writer writer, LinkedHashMap<String, TabularOutput.ColumnSpec> columns, String colSeparator, int flushCount, boolean outputHeader) Where to write the output to.
-
-
Method Details
-
to
-
append
-
nextRow
-
getWriter
-
flush
-