⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testmethod.java

📁 用java实现的断点续传源代码
💻 JAVA
字号:
/*   
  **TestMethod.java   
  */   
  package   NetFox;   
    
    
  public   class   TestMethod   {   
    
    
  public   TestMethod()   
  {   ///xx/weblogic60b2_win.exe   
  try{   
  SiteInfoBean   bean   =   new   SiteInfoBean("http://localhost/xx/weblogic60b2_win.exe","L:\\temp","weblogic60b2_win.exe",5);   
  //SiteInfoBean   bean   =   new   SiteInfoBean("http://localhost:8080/down.zip","L:\\temp","weblogic60b2_win.exe",5);   
  SiteFileFetch   fileFetch   =   new   SiteFileFetch(bean);   
  fileFetch.start();   
  }   
  catch(Exception   e){e.printStackTrace   ();}   
    
    
  }   
    
    
  public   static   void   main(String[]   args)   
  {   
  new   TestMethod();   
  }   
  }   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -