public void init(){
		// 读取配置文件，根据配置文件创建配置信息
		Properties props = new Properties();
		try {
			InputStream fileInput = new FileInputStream(this.getClass().getResource("/").toString().replace("file:/", "") + CONFIG_FILE );

			// 加载配置文件
			props.load(fileInput);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
			System.out.println("配置文件不存在，请仔细检查");
		} catch (IOException e) {
			e.printStackTrace();
			System.out.println("配置文件读取错误");
		}
		
		Enumeration<String> names = (Enumeration<String>) props.propertyNames();
		while(names.hasMoreElements()){
			String key = names.nextElement();
			String countStr = props.getProperty(key);
			String values[] = countStr.split(DOT_FLAG);
			
			Stock stockUrl = new Stock();
			stockUrl.setName(key);
			
			if(values.length >= 2){ // 国内股指				
				stockUrl.setChina(true);
				stockUrl.setStockData(values[0]);
			}else{// 国外股指
				stockUrl.setChina(false);
				stockUrl.setStockData(countStr);
			}
			
			this.stockUrl.add(stockUrl);
		}		
		
		createStockCollectThread(Thread.NORM_PRIORITY);// 读取线程
	}