convert Strings to a string array and display set of URLs in web browser
Hi I'm working on implementing a web crawler in java. I have collected set
of String and i want to put them in an array.
String match = input.substring(start, end);
I want to put them in an array. I tried toCharArray() method but could not
able to find my solution.I have this piece of code for opening a url in
web browser.
java.awt.Desktop.getDesktop().browse(java.net.URI.create(url));
I want to pass each String from the array to java.net.URI.create(url). And
I also want to close each tab after few seconds. Please help me to resolve
this problem.
No comments:
Post a Comment