code: public static String getText(InputStream is) throws IOException {
          BufferedReader reader = new BufferedReader(new InputStreamReader(is));
          return getText(reader);
      }
docs: Read the content of this InputStream and return it as a String.
  The stream is closed before this method returns.
  
  @param is an input stream
  @return the text from that URL
  @throws IOException if an IOException occurs.
  @since 1.0