Old java library I wrote back in 2006 -- don't laugh too much.