how to print object list to file with formatting in table format using java
<p>I have to print list of objects to a text file with table format. For example, if I have list of Person(has getName,getAge and getAddress methods)objects, the text file should look like as below. </p>

<pre><code>Name       Age      Address

Abc        20       some address1
Def        30       some address2 
</code></pre>

<p>I can do this by manually writing some code, where I have to take care of spaces and formatting issues. </p>

<p>I am just curious whether are they APIs or tools to do this formatting work?</p>
