Package org.jboss.galleon.cli.cmd
Class Table
- java.lang.Object
-
- org.jboss.galleon.cli.cmd.Table
-
public class Table extends java.lang.Object- Author:
- jdenise@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTable.Cellstatic classTable.Nodestatic classTable.SortTypestatic classTable.Tree
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCellsLine(java.util.List<Table.Cell> line)voidaddCellsLine(Table.Cell... cell)voidaddLine(java.lang.String... line)voidaddLine(java.util.List<java.lang.String> line)java.lang.Stringbuild()java.lang.Stringbuild(boolean linesVisible)booleanisEmpty()voidsort(Table.SortType type)
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
addLine
public void addLine(java.lang.String... line)
-
addLine
public void addLine(java.util.List<java.lang.String> line)
-
addCellsLine
public void addCellsLine(Table.Cell... cell)
-
addCellsLine
public void addCellsLine(java.util.List<Table.Cell> line)
-
sort
public void sort(Table.SortType type)
-
build
public java.lang.String build()
-
build
public java.lang.String build(boolean linesVisible)
-
-