Question: write in java language Write a program that downloads a website for offline browsing. The program should read the URL of the intended website from

write in java language

 write in java language Write a program that downloads a website

Write a program that downloads a website for offline browsing. The program should read the URL of the intended website from the console, then downloads all those pages onto the local hard drive. The program should work as follows: 1. Downloads the index page of the entered URL (including images and videos). 2. Parses all the URLs in the current page and store them in a certain data structure (i.e. ArrayList). Distributes the URLs among N threads (use Callable Interface). Each thread will repeat step #1 and step #2 until no new URLs are identified in all pages. 4. Ignores any URL that does not belong to the entered URL. 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!