title: Open stream from uri
body: <p>I got an uri (<code>java.net.URI</code>) such as <a href="http://www.example.com" rel="noreferrer">http://www.example.com</a>. How do I open it as a stream in Java?</p>
  
  <p>Do I really have to use the URL class instead?</p>