(NOTE. FOR OPTIMAL EXPERIENCE PLEASE USE NETBEANS AS IDE AS THIS PROJECT WAS CREATED USING NETBEANS)
this project we can take data from a html file online or offline (for eg for cloud based systems the cloud details table and number of resources etc) now once data has been fetched from the html page we can specify requirements nd it will display the cloud available.
IMPORTANT
1.(FOR NEW DATABASE) CREATE A MYSQL DATABASE NAMED "cloudserv" AND SET USERNAME TO MANAKS AND PASSWORD TO "123".
2.(FOR AN OLDER DATABASE MAKE CHANGES IN DB.JAVA CHANGE- " con=DriverManager.getConnection("jdbc:derby://localhost:1527/DATABASENAME","USERNAME","PASSWORD");"
3.IN ROWFETCHER PLEASE CHANGE THE PATH IN THE LINE "F:\java\crawler\src\crawler\pattern.html" TO THE PATH OF THE PATTERN.HTML FILE IN THE PROJECT.
4.RUN THE ROWFETCHER AND YOU WILL SEE A "CLOUD" NAME TABLE WILL BE CREATED IN YOUR DATABASE. THIS TABLE CONTAINS THE TABLE THAT HAS BEEN FETCHED FROM THE PATTERN.HTML PAGE.
5.YOU CAN ADD MORE URL AND KEEP ON APPENDING TO DATABASE NEW TABLES FROM VARIOUS HTML TABLES.
6.NOW RUN PAGE1.HTML AND CLICK THE LINK.
7.NOW PUT IN YOUR REQUIREMENTS FOR THE CLOUD YOU ARE LOOKING FOR (PLEASE MAKE A NOTE OF MINIMUM AND MAXIMUM).
8.THE DETAILS OFCLOUD THAT MATCHES YOUR REQUIREMENTS WILL BE SHOWN.