程序包 | 说明 |
---|---|
application | |
cotrollers |
类和说明 |
---|
QueryDatabase
a class for query information from database
it provide seven method to query, by date ,magnitude, region and their combination
|
类和说明 |
---|
loadCNF
this class is for load configuration information from the .cnf file
load path of resouce file(.csv, .sqlite) and loading model(csv, db, net)
|
loadWebSource
a class for load information from Internet
extends QueryDatabase,
it need WebScraping object to construct itself.
|
Query
a interface for query
some class implements it should provide several methods to query
|
QueryDatabase
a class for query information from database
it provide seven method to query, by date ,magnitude, region and their combination
|
ThreadForScrap
this class extends the Thread class
to run two thread, one is itself for insert date to database,
other is static (named search)and implements Runnable class
for Scraping information from Internet and judge whether it can be inserted.
|
WebScraping
this class aim at scraping the target web and get useful information
from it using regular expression.
|