Monthly Archives: September 2006

Java HTML Table parser

I put together this class for scraping HTML tables. It supports nested tables. At some stage I’ll put this up in SVN along with it’s test cases. import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.Stack;import javax.swing.text.MutableAttributeSet; import javax.swing.text.html.HTML; import javax.swing.text.html.HTMLEditorKit; … Continue reading

Posted in java | 3 Comments

Generics, but not flexible

After a long time I finally decided to give the new facilities of Java 1.5 a go. What I needed to do was create a class which provided methods for working with matrices, so I wanted to be able to … Continue reading

Posted in technology | Leave a comment