摘要:        
import java.io.BufferedInputStream;import java.io.InputStreamReader;import java.net.URL;import java.sql.Date;public class StockInfo { public static final String SOURCE = "http://hq.sinajs.cn/list="; // 股票名称 public String stock_name; // 今日开盘价 public double begin_price; // 昨日收盘价 p...    阅读全文
posted @ 2012-03-30 12:21
GG大婶
阅读(1796)
评论(0)
推荐(0)
			
			
			
			
摘要:        
private static String unknow2chines(String str){ String result = ""; int start = 0, end = 0; while(start < str.length()) { start = str.indexOf("&#", end); if(start >= 0){ result += str.substring(end, start); start = start + 2; end = str.indexOf(";", start); if    阅读全文
posted @ 2012-03-30 10:30
GG大婶
阅读(408)
评论(0)
推荐(0)
			
 
                    
                
 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号