java/sql-dk/src/info/globalcode/sql/dk/formatting/TabularFormatter.java
branchv_0
changeset 155 eb3676c6929b
parent 142 da1e38386d84
child 167 84aaa91642bf
equal deleted inserted replaced
154:016836529e6c 155:eb3676c6929b
    23 import static info.globalcode.sql.dk.Functions.rpad;
    23 import static info.globalcode.sql.dk.Functions.rpad;
    24 import static info.globalcode.sql.dk.Functions.repeat;
    24 import static info.globalcode.sql.dk.Functions.repeat;
    25 import java.util.List;
    25 import java.util.List;
    26 
    26 
    27 /**
    27 /**
       
    28  * <p>Prints human-readable output – tables of result sets and text messages with update counts.</p>
       
    29  *
       
    30  * <p>Longer values might break the table – overflow the cells – see alternative tabular formatters
       
    31  * and the {@linkplain #PROPERTY_TRIM} property.</p>
    28  *
    32  *
    29  * @author Ing. František Kučera (frantovo.cz)
    33  * @author Ing. František Kučera (frantovo.cz)
       
    34  * @see TabularPrefetchingFormatter
       
    35  * @see TabularWrappingFormatter
    30  */
    36  */
    31 public class TabularFormatter extends AbstractFormatter {
    37 public class TabularFormatter extends AbstractFormatter {
    32 
    38 
    33 	public static final String NAME = "tabular"; // bash-completion:formatter
    39 	public static final String NAME = "tabular"; // bash-completion:formatter
    34 	private static final String HEADER_TYPE_PREFIX = " (";
    40 	private static final String HEADER_TYPE_PREFIX = " (";