java/sql-dk/src/info/globalcode/sql/dk/formatting/SingleRecordFormatter.java
branchv_0
changeset 207 2bba68ef47c1
parent 206 e2f24eea8543
child 218 8e38caf43ca8
equal deleted inserted replaced
206:e2f24eea8543 207:2bba68ef47c1
    26  * Formatter intended for printing one record (or few records) with many columns.
    26  * Formatter intended for printing one record (or few records) with many columns.
    27  * Prints each colum name and its value on separate line.
    27  * Prints each colum name and its value on separate line.
    28  *
    28  *
    29  * @author Ing. František Kučera (frantovo.cz)
    29  * @author Ing. František Kučera (frantovo.cz)
    30  */
    30  */
    31 @PropertyDeclaration(name = COLORFUL, type = Boolean.class, description = COLORFUL_DESCRIPTION)
    31 @PropertyDeclaration(name = COLORFUL, defaultValue = "true", type = Boolean.class, description = COLORFUL_DESCRIPTION)
    32 public class SingleRecordFormatter extends AbstractFormatter {
    32 public class SingleRecordFormatter extends AbstractFormatter {
    33 
    33 
    34 	public static final String NAME = "record"; // bash-completion:formatter
    34 	public static final String NAME = "record"; // bash-completion:formatter
    35 	private final ColorfulPrintWriter out;
    35 	private final ColorfulPrintWriter out;
    36 	private boolean firstResult = true;
    36 	private boolean firstResult = true;