用java抓网页读取国际时间,执行linux shell命令更改时间
//同步时间 public static void updateTime() throws Exception { HttpClient client=new HttpClient(); String str="http://123.125.114.102/special/time/"; GetMethod get=new GetMethod(str); cli...
2012-06-14 22:59:12 ·
158 阅读 ·
0 评论