Originally Posted by
Eranga
Just three lines to use.
URL myRequest = new URL(my_url_goes_here);
BufferedReader in = new BufferedReader(new InputStreamReader(myRequest.openStream()));
String str = in.readLine();
in.close();
What you think of it.
Eranga.
It looks simple enough and you say It works... I love it!!
Is the class URL a custom class --- if not, can you give us the full package name. It may come in handy in some other projects. If it is, can you highlight the implementation..
Nice code though!