Basically, I would like to decode a given HTML document, and replace all special characters, such as " " → " " and ">" → ">".

In .NET, we can make use of the HttpUtility.HtmlDecode method.

What's the equivalent function in Java?

Edit
Report