j-text-utils is a small library that provides text representations of common data views such as tree and table. 

See http://code.google.com/p/j-text-utils/