Java tabled output to file
<p>I'm interested in a way of outputting some objects to a table like way the objects. Concrete example would  be something like:</p>

<pre><code>-------------------------------------------
|  Name      |     foo     |      bar     |
-------------------------------------------
| asdas      | dsfsd       |1233.23       |
| adasdasd   | fsdfs       |3.23          |
| sdasjd     | knsdfsd     |13.23         |
| lkkkj      | dsfsd       |2343.23       |
-------------------------------------------   
</code></pre>

<p>Or  an ms office / open office excel file.(is there an api doc for this type of outputting data in specific editors? like  how to define a table in OpenPffice)?</p>

<p>I'm asking this because I would like to know the best way doing this.
PS: there is no need to deserialise. </p>
