equal
deleted
inserted
replaced
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; |