Tab-Deliminated File to Html table
December 14th, 2005
It’s always annoying when I have to convert a tab-deliminated file to a html table so that I can post it on my project website. I usually did it by hands. Yes, it was dumb. I was trying to find a freeware to do this for me but I couldn’t find one. I was trying to use excel. It put too much junk in my html table. So, I decided to write a little program that read from standard input the tab deliminated file and write html table to stdoutput. Ex: java HtmlTable < input.txt > output.txt.
Note that you need to compile it first: to compile just type javac HtmlTable.java.
Click to Download
Entry Filed under: Programming
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Subscribe to the comments via RSS Feed