title: In Java, there is some URL parser?
body: <p>I know there is a URL class in Java, but I need methods to get the file extension of the page (html, php, asp, etc), the country of the domain (ca, au, br, jp, fr, etc), the type of the page(.net, .org, .gov, etc) and others.
  Some of these methods, I did using String handling, but I think that a class done only for this can be more confiable.</p>