public String convertSWFToHTML(URL in) throws Exception {
  HttpURLConnection conn=(HttpURLConnection)in.openConnection();
  conn.setAllowUserInteraction(false);
  conn.setRequestProperty("User-agent","www.tumba.pt");
  conn.setInstanceFollowRedirects(true);
  conn.connect();
  return convertSWFToHTML(conn.getInputStream());
}

public String convertSWFToHTML ( URL in ) throws Exception { HttpURLConnection conn = ( HttpURLConnection ) in . openConnection ( ) ; conn . setAllowUserInteraction ( false ) ; conn . setRequestProperty ( "User-agent" , "www.tumba.pt" ) ; conn . setInstanceFollowRedirects ( true ) ; conn . connect ( ) ; return convertSWFToHTML ( conn . getInputStream ( ) ) ; }
description of the method
