public class loadCNF
extends java.lang.Object
load path of resouce file(.csv, .sqlite) and loading model(csv, db, net)
限定符和类型 | 字段和说明 |
---|---|
private java.util.Properties |
prop |
private ThreadForScrap |
tscp |
构造器和说明 |
---|
loadCNF()
constuctor to loading the object
using Properties object to load information.
|
限定符和类型 | 方法和说明 |
---|---|
private void |
find()
find information using I.o. from configuration file .
|
java.lang.String |
findMode()
get information :loading model
|
java.lang.String |
findResouce()
get information :path of resource file
|
void |
launch()
run the thread for Scraping
if the model is net, it will run the thread for web Scraping
|
private java.util.Properties prop
private ThreadForScrap tscp
public loadCNF()
using Properties object to load information.
if configuration file writting mistake, it will throws exception
private void find()
public java.lang.String findResouce()
public java.lang.String findMode()
public void launch()
if the model is net, it will run the thread for web Scraping