2013年(92)
分类: 信息化
2013-03-09 05:31:31
[代码] 该办法依赖于jsoup.jar /**
* 依据动身地址、抵达地址、车次取得指定信
* @param from - 动身地址
* @param to - 抵达地址
* @param cc - 车次
* @return Map - [from=动身地址,from-date=动身时刻,to=抵达地址,to-date=抵达时刻,run time=历时]
* @throws IOException
*/
public static Map getInfo(String from,String to,String cc) throws IOException{
Document doc = Jsoup.connect("" from "