java/sql-dk/src/info/globalcode/sql/dk/formatting/TabularFormatter.java
branchv_0
changeset 79 e19a13ed19a9
parent 76 fe23cea7542f
child 87 03bf24449c7a
equal deleted inserted replaced
78:d98f33d91553 79:e19a13ed19a9
    27  *
    27  *
    28  * @author Ing. František Kučera (frantovo.cz)
    28  * @author Ing. František Kučera (frantovo.cz)
    29  */
    29  */
    30 public class TabularFormatter extends AbstractFormatter {
    30 public class TabularFormatter extends AbstractFormatter {
    31 
    31 
    32 	public static final String NAME = "tabular";
    32 	public static final String NAME = "tabular"; // bash-completion:formatter
    33 	private static final String HEADER_TYPE_PREFIX = " (";
    33 	private static final String HEADER_TYPE_PREFIX = " (";
    34 	private static final String HEADER_TYPE_SUFFIX = ")";
    34 	private static final String HEADER_TYPE_SUFFIX = ")";
    35 	private ColorfulPrintWriter out;
    35 	private ColorfulPrintWriter out;
    36 	private boolean firstResult = true;
    36 	private boolean firstResult = true;
    37 	private int[] columnWidth;
    37 	private int[] columnWidth;