mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
22.59.2007 7be96f191167c24266433bf54eb98b8790e97798
refs
author matthew_swift <matthew_swift@localhost>
Friday, June 22, 2007 17:59 +0200
committer matthew_swift <matthew_swift@localhost>
Friday, June 22, 2007 17:59 +0200
commit7be96f191167c24266433bf54eb98b8790e97798
tree a0082c88277785976c7b2e2c414b6e1fc57e960c tree | zip | gz
parent 0712625f2de0d396432d780abd3340519b749992 view | diff
Add various classes which facilitate generating tables in text-based applications.

This includes a generic API for constructing the table (TableBuilder) and three "table printers":

* TextTablePrinter: a pretty human-readable table that supports configurable padding, column sizes, separators, etc

* CSVTablePrinter: a table printer that outputs in CSV format (useful for spreadsheet imports)

* TabSeparatedTablePrinter: a table printer which uses tabs as field delimiters (e.g. useful for unix cut command)
7 files added
1681 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/util/table/CSVTablePrinter.java 253 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/table/TabSeparatedTablePrinter.java 220 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/table/TableBuilder.java 381 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/table/TablePrinter.java 56 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/table/TableSerializer.java 160 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/table/TextTablePrinter.java 531 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/table/package-info.java 80 ●●●●● diff | view | raw | blame | history