Skip to content

dnsge/java-tableprinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-tableprinter

Generate formatted tables with easy-to-read formatting

GitHub

A library that allows you to generate text based tables from different rows, columns, or custom objects.

A typical table would look like this:

#  | Name           | Party       | Birthplace       
-----------------------------------------------------
43 | George W. Bush | Republican  | New Haven, CT    
44 | Barack Obama   | Democrat    | Honolulu, HI     
45 | Donald Trump   | Republican  | New York City, NY
47 |                | Democrat    |                  
48 | Taylor Swift   | Independent | Reading, PA      

Features

  • Simple & easy
  • Custom headers
  • Supports empty cells
  • Make tables from rows or columns
  • Convert custom objects into tables
  • Protocols to map objects to rows without adding annotations
Documentation available at dnsge.github.io/java-tableprinter
Made by Daniel Sage (2018)