I want some code exactly like this, but in Java. Also, it doesn't need to be a web service. Also, assume that code actually works, even though the example is, at the moment, broken. Just a class that can turn a URL into a thumbnail image. Seems like a common enough thing not to have to write from scratch, but I can't find it.