随笔-295  评论-26  文章-1  trackbacks-0
public class ssss {
   
    /** Creates a new instance of ssss */
    public ssss() {
    }
    public static void main(String s[]) throws IOException{
 //       java.net.URL  m=new java.net.URL("http://www.baidu.com/index.html");
   //     HttpURLConnection sst=(HttpURLConnection) m.openConnection();
//           DataInputStream in = new DataInputStream(connection.getInputStream());
  //          DataOutputStream out = new DataOutputStream(new FileOutputStream(fileName));
      DataInputStream  tttt= new   DataInputStream((InputStream)new FileInputStream("c://ffffff.java.bak"));
  //      DataInputStream tttt=new DataInputStream(sst.getInputStream());
        DataOutputStream out = new DataOutputStream(new FileOutputStream("D://ffffff.java.bak"));
        byte[] buffer = new byte[4096];
        int count=0;
        while ((count = tttt.read(buffer))>0){
            out.write(buffer,0,count);
        }
        out.close();
        tttt.close();
    }

大盘预测 国富论
posted on 2007-10-31 16:32 华梦行 阅读(183) 评论(0)  编辑  收藏 所属分类: JDK

只有注册用户登录后才能发表评论。


网站导航: