Class HTMLFetcher


  • public class HTMLFetcher
    extends java.lang.Object
    A very simple HTTP/HTML fetcher, really just for demo purposes.
    • Method Summary

      Modifier and Type Method Description
      static HTMLDocument fetch​(java.net.URL url)
      Fetches the document at the given URL, using URLConnection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fetch

        public static HTMLDocument fetch​(java.net.URL url)
                                  throws java.io.IOException
        Fetches the document at the given URL, using URLConnection.
        Parameters:
        url -
        Returns:
        Throws:
        java.io.IOException